Search

You searched for the word(s): userid:878896

Matching Posts

  • Re: My webservice quits responding...

    OK. Here's some additional information... I decided to take a look at the IIS log to see if I could get a hint and what I'm seeing is that once the problem starts (i.e. unresponsive web service) IIS is simply not receiving requests. In my test environment, I'm only dealing with a single client for my web site. So, it's pretty easy to identify that requests are not getting through. It looks like this may not be due to my web service, but because GETs and POSTs are not getting to the
  • Re: My webservice quits responding...

    Hi, I'm still stuck on this one. One thing I don't understand is that this problem only happens in IIS and never in the development web server. Any clues on what the difference may be? -Ben
  • Re: How to use System::Net::NetworkCredential

    That's precisely the problem... And why I was looking into the using a NetworkCredential.
    Posted to Security (Forum) by BenHines on 7/14/2009
  • Re: LogonUser will not work for interactive session

    I wrote a class that hides the details of the LogonUser calls. It's below. I create an instance and call BeginImpersonation("<my local user name>", ".", "<my password>", LogonSessionType::Interactive); ANd it fails with last error of 1367. However, if I change it to LoginSessionType::Network, it succeeds, but I don't have access to network drive that I'd like write to. public class UserImpersonator { public enum LogonSessionType : uint { Interactive
    Posted to Security (Forum) by BenHines on 7/14/2009
  • How to use System::Net::NetworkCredential

    Hi, I have a ASP .NET web service running on one machine. One of the methods on the web service wants to write to a network drive mapped to another machine. Both machines are on my home network and I don't have a domain. The method in question works fine if I have it write to a local drive, but always fails when writing to the mapped network drive. I'm fairly certain this has to do with the 'user' that the web service is using doesn't have permissions on the network share. I did
    Posted to Security (Forum) by BenHines on 7/13/2009
  • LogonUser will not work for interactive session

    Hi, I have an ASP .NET web service that needs to have access to network resources, specifically a mapped drive. The access is only needed for one of the methods the service provides. So, I wanted to use user impersonation in the method in question so that it would have the required access. After doing some reading in the MSDN, it seems that I want to user the LogonUser Windows API along with WindowsImpersonationContext and WindowsIdentity. Also, the MSDN mentions that to gain access to network resource
    Posted to Security (Forum) by BenHines on 7/13/2009
    Filed under: impersonate impersonation identity security authentication allow roles deny users
  • Re: My webservice quits responding...

    Hi Mike, I added some logging to output the process name and ID on every call to my web service. I did the following experiment: - Fire up my web page - Continually press the button that causes the call to my web service until it becomes unresponsive - Leaving the old browser up, open a new browser and go to the same page - Press the button on that page until it becomes unresponsive The process name (aspnet_wp) and id (2920) remained constant through the entire experiment. I'm also logging when
  • My webservice quits responding...

    Hi, I'm really stuck on this one. I have a web page that uses an AJAX web service that I wrote. Based on a user clicking on a button, a call is made to my web service method and data is returned. This works fine for a (seemingly random) number of calls to the method. Then the web method quits responding. My web service writes to a log file. So, I put a log statement at the beginning of the web method in the code-behind file. I see the message in the log until the service becomes unresponsive
Page 1 of 1 (8 items)