Forum Search Results for "" RSS 1—7 of 7

More Search Options

  • Re: ASP .NET Impersonation

    Posted to ASP.NET Administration by dsheldon on 08-13-2009, 8:41 AM

    We are using Windows authentication for the web site. I have added the tag <identity impersonate="true"/> to the web.config file. For access to the network resource(a file share) I use the following code before I work with the files:Dim impersonationContext As System.Security.Principal.WindowsImpersonationContext Dim ...

    • http://forums.iis.net/p/1159998/1913439.aspx#1913439
  • Re: ASP .NET Impersonation

    Posted to ASP.NET Administration by dsheldon on 08-12-2009, 3:22 PM

    Data Source=WVSTOSQLPROD;Initial Catalog=Procurement;Integrated Security=True

    • http://forums.iis.net/p/1159998/1913364.aspx#1913364
  • ASP .NET Impersonation

    Posted to ASP.NET Administration by dsheldon on 08-12-2009, 12:56 PM

    OK, I've got a strange one here(seems strange to me anyway). I have an ASP .NET site that utilizes impersonation to access the database and network resources on a separate server. The site ran just fine until last week when we had to change the header value that the site accepts connections on. The old value was in the format of ...

    • http://forums.iis.net/p/1159998/1913342.aspx#1913342
  • Re: Errors In ASP .NET App

    Posted to Troubleshooting by dsheldon on 07-14-2009, 2:17 PM

    Thanks to all for the help with this one. As it turns out, the connection was static. I modified my code to use local connections that do not reside in a module and the problems seem to have gone away. I don't know what exactly is going on under the hood, but I do agree with tomkmvp that the data from a previous user was somehow being ...

    • http://forums.iis.net/p/1159204/1910283.aspx#1910283
  • Re: Errors In ASP .NET App

    Posted to Troubleshooting by dsheldon on 07-13-2009, 2:23 PM

    Below is the code for initializing cnn. This is done in a module. I wonder if you may be on to something there. This is my first ASP .NET app and as I am used to Windows forms development I never had to worry about session state and static variables.(Listen to me all full of excuses hey?? :-) Anyway, my question is ' Does ASP .NET handle ...

    • http://forums.iis.net/p/1159204/1910155.aspx#1910155
  • Re: Errors In ASP .NET App

    Posted to Troubleshooting by dsheldon on 07-13-2009, 11:41 AM

    Below is the code that fills the employee number text box. It is very simple code and really leaves no room for error. Thanks for your help. Private Sub Page_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreRender 'FILL THE EMPLOYEE NUMBER BOX WITH THE EMPLOYEE LOGGED IN TO THE PC TryDim user As String = ...

    • http://forums.iis.net/p/1159204/1910128.aspx#1910128
  • Errors In ASP .NET App

    Posted to Troubleshooting by dsheldon on 07-13-2009, 11:07 AM

    I am having a problem in an ASP .NET application that we are finishing up that is only now rearing it's ugly head. We have deployed the app to several departments for testing and now that there are multiple users on the system strange things are happening. The app is running in IIS 6 on a Windows 2003 server. It was developed in Visual ...

    • http://forums.iis.net/p/1159204/1910122.aspx#1910122

Microsoft Communities