Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

Mogyi

@Mogyi
About
Posts
14
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Webservice and proxy
    M Mogyi

    I use cookie container, thx for the response...

    C# sysadmin

  • Webservice and proxy
    M Mogyi

    Yes I did, thx for the tip

    C# sysadmin

  • Webservice and proxy
    M Mogyi

    Hello all of you, I made a webservice and I can't get this to run via proxy. the basic procedure on the client side looks like this:

    MyWebservice service = new MyWebservice();

    WebProxy iProxy = new WebProxy(_proxyAdress, true);

    service.Proxy = iProxy;

    ...

    if(service.LogOn(user, pass))
    {

    ...

    data = service.GetMyData();

    now what happens is that the session variables are lost on the GetMyData() call on the server side:

    [WebMethod (EnableSession = true)]
    public bool Logon(string s, string p)
    {
    ...

    Context.Session.Add ("LoggedIn", true);

    ...

    return
    }

    [WebMethod (EnableSession = true)]
    public SomeData GetMyData()
    {

    ...

    if(Context.Session ["LoggedIn"]) //<-- LoggedIn == null

    ...
    }

    Whitout proxy it goes but with proxy dosen't. Please drop some tips if you have some. Thx. ;)

    C# sysadmin

  • MSI Setup - custom action rollback
    M Mogyi

    How do you call rollback from a custom action dll? (calling directly base.Rollback doesn't works, throwing InstallException is not OK because of the Unhandeld exception MessageBox)

    C# question workspace

  • [Message Deleted]
    M Mogyi

    :laugh:

    C#

  • Nowbody knows how to do this? (MSI setup)
    M Mogyi

    I am pretty amazed how this issue is handeld even by Microsoft. In custom action dll's the recommended rollback calling is throwing a InstallException (generates a error box about 'unknown' unhandeld exception). But what about canceling a setup during a custom action initialized dialog...??? Please, if somebody knows how to rollback nicely from custom action dll's please let me know. One more thing, maybe it's a setting or something but base.Rollback(savedState) called directly isn't resulting in a rollback, nothing happens. I'm so desperate, I will do other stuff for a day or two but my last hope of solving it will be hooking on the setup and killing that damned error message box...

    C# help tutorial question workspace

  • Using reflection modify List<int> type class member...</int> [modified]
    M Mogyi

    Ok, forget 'assembly', if you don't know an Object type, you can't construct it... Hope somebody will have a solution for you problem, I'm just saying what I was trying to do and always came back to the same problem...

    C# help

  • MSI Setup - custom action rollback
    M Mogyi

    I added to rollback my dll too, the problem is: if I call Rollback directly nothing happens, if I say 'throw new InstallException("Canceld by user");' it rolls back nicely but before that, a general error MessageBox is shown...

    C# help visual-studio algorithms question workspace

  • Using reflection modify List<int> type class member...</int> [modified]
    M Mogyi

    I don't want to lower your morale but I've been trying some time ago a similar thing to do and I had to abandon the idea because it get's very problematic when you are trying to generalize the issue. The main idea is, if you don't know the 'assembly type', you don't have a chance... :^)

    C# help

  • MSI Setup - custom action rollback
    M Mogyi

    Hello, I am making a MSI setup with VS 2005 and have a custom action DLL added. I've been searching for a solution for my problem for a week now... My problem is exiting the custom action when the user clicks cancel on my dialog. The issue is that if I throw a InstallException, I get a error message box that refers to unhandeld exception. How can you exit a the installation from MSI without having this error message box? By exit I mean, rollback...

    C# help visual-studio algorithms question workspace

  • System.Web.UI.Page, get page object from URI
    M Mogyi

    Thx for the response, it makes total sens... I hope I can make this somehow work :^), this tool will be used to trak down bugs by gathering CSS data... Regards, Mogyi

    C# design tutorial

  • System.Web.UI.Page, get page object from URI
    M Mogyi

    I have to extaract data by crawling true a website. I have to somehow get a Page class so I can access Page.Controls collection. If I'm right, I have a hunch, with HttpWebRwsponse this could be done... still, I din't found a way yet...:((

    C# design tutorial

  • System.Web.UI.Page, get page object from URI
    M Mogyi

    Hi, If anybody knows how to load up a Page object form a web address :omg: or has any idea about what could be done, please drop a message, even if you don't whant to... Thx

    C# design tutorial

  • Deserialize unknown object
    M Mogyi

    Hi, as the title says, I have to deserialize an unknown object from an xhtml format... So, anybody has any idea suggestion how to make this work...?

    XML / XSL tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups