473,395 Members | 1,938 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

perplexing impersonation/SQL issue

Hello,
I am battling a long term problem regarding integrated authentication and
impersonation. I have an intranet that uses only integrated authentication to
validate my users. The web site is built in asp.net 2.0 and is running under
IIS6 with impersonation enabled. The web site interacts with a SQL 2000
database running on a separate member server. Authentication works fine
between my clients and the website, but I am running into problems with pages
that need to access the database. Problem is, when a user navigates to a page
that queries the database, things run fine at first and all the pages open.
After 10 minutes or so of idle time, however, the users begin seeing the
dreaded "Login failed for user '(null)'" error when trying to access a
database related page. All other pages that require integrated authentication
on the site are still accessible - it is only the database credentials that
are getting somehow dropped. I have researched this issue again and again,
and I have not been able to find a rational explanation as to why the DB
connection works at first and times out after idle periods. The only way for
my users to regain access to the DB related pages is for them to close their
browser and wait a few minutes before trying again.

Most of the articles I have read indicate that I need to use delegation in
this type of setup. I have not set up delegation, however. I figure if it
works at first, then I shouldn't need delegation in my environment. Anybody
have any suggestions or ideas?
Thanks,
JS
Sep 11 '06 #1
0 1180

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: CyberDigger | last post by:
I have two computers, client and server. The client is running Windows 2000 Professional and is in a workgroup, say "MyWorkgroup". The server is running Windows Server 2003 Standard Edition and...
12
by: Anil Krishnamurthy | last post by:
We have an ASP.NET application that uses COM objects through Interop. The web application requires access to network and database resources and hence, needs to impersonate a domain account. The...
3
by: cjk | last post by:
Issue Our web application requires access to write to a custom event log, yet access is denied. This access is denied because we are using impersonation, and our end-users do not (should not) have...
0
by: Jim Heavey | last post by:
I am trying to use impersonation. I created a seperate folder in my application where I have placed any screen that I want to invoke impersonation on. I created a webconfig file with the...
26
by: andrew_webby at hotmail | last post by:
Hi Am having a problem with an app I wrote to test patch delivery. I contact a remote PC, and get it to run a patch which is installed on a server. It works fine if I use psexec for example and...
27
by: vipleo | last post by:
I am having some issues, when I try to launch another process using Process.Start(ProcessStartInfo psi) on win xp sp2 box (Other versions of xp have no issue). Here is the detail. Main app...
11
by: Phil | last post by:
Hi, I've currently setup a local user as described in: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnne...
0
by: filosofer | last post by:
I am running into an issue attempting to play a WMV file across the network while impersonating. I have WMV files that I can only access while impersonating, so I do the impersonation and can see...
0
by: jasonheath.net | last post by:
I am running into an issue attempting to play a WMV file across the network while impersonating. I have WMV files that I can only access while impersonating, so I do the impersonation and can see...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.