473,508 Members | 2,210 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Configuration application block: Polling threads use local ASPNET

We're using Enterprise Application Block June 2005 w/ Visual Studio 2003 .NET.

We've configured our ASP.NET web service to run under a specific domain
account using the instructions at
http://support.microsoft.com/default...b;en-us;329290

All connections to SQL Server are set to be TRUSTED. The debugger shows that
the main web service threads are (correctly) running under the specified
domain account and they are able to connect to Sql Server. But the polling
thread created for the watcher is running under the local ASPNET account.

As a result, we get login for (null) user failed SqlException when the
ConfigurationChangeWatcher::Poller() function invokes the
GetCurrentLastWriteTime() function in which an attempt is made to connect to
the db.

What do we need to do to get the polling threads (or for that matter any
threads that are spawned by our code) to use the credentials as specified in
the web.config file?

The ConfigurationChangeWatcher::Poller() function is non-virtual and private
and so we can't do it by deriving our own class and overriding the function.

Thanks,
Vijay Varadan

Oct 23 '05 #1
0 1273

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

Similar topics

7
5971
by: MrNobody | last post by:
I was a Java developer so I'm used to using property files as a means to keep configuration settings for my apps. I'm wondering what options are there with ..NET? Some settings I want to include...
8
2808
by: Gaensh | last post by:
HI, I have a singleton pattern to acess my database the following is the sample code use to implement singleton pattern public class DataAccessHelper { private static DataAccessHelper instance;...
2
1177
by: Thom Little | last post by:
I have an ASP.NET application that I am trying to run on my local server. I have administrator privilege. It contains: private void btnThomButton_Click(object sender, System.EventArgs e) {...
7
4758
by: Martin Strojek | last post by:
Hi, I have the following problem with developing some web site. I use Visual Studio 2003 to build a website. I tried Windows 2003 Server and switched now back to Windows XP with PWS but the...
2
390
by: Terry Holland | last post by:
I posted a follow up to an earlier post but did not receive response so here it is again (with original post and response) > This could be because you are running the index service over this web...
0
827
by: Vijay Varadan | last post by:
We're using Enterprise Application Block June 2005 w/ Visual Studio 2003 .NET. We've configured our ASP.NET web service to run under a specific domain account using the instructions at...
10
3682
by: Rider | last post by:
Hi, simple(?) question about asp.net configuration.. I've installed ASP.NET 2.0 QuickStart Sample successfully. But, When I'm first start application the follow message shown. ========= Server...
4
410
by: Steven Ramacher | last post by:
I am having a little issue with VS 2005. I am trying to use the ASP.NET configuration manager and have not had any success launching the application. No matter what I do I get an error message that...
3
302
by: Dirk | last post by:
Hi, I started with asp.net 2.0. I defined directory inetpub/wwwroot/aspnet as an application in IIS and the directory security is set to "anonymous access" (even when unchecked i get the error)....
0
7336
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7401
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7063
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
7504
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
5640
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,...
1
5059
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4720
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3211
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1568
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.