Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DLL as User

Status
Not open for further replies.

jfrost10

Programmer
Jun 3, 2001
2,004
CA
hey guys,

Got a bit of a stumper for ya:

Our SQL Server is on Computer A. My asp.net app and dll is on Computer B. I need to access the sql server using my dll. However, Computer A won't let my dll's access it unless they are assigned to a user account.

Question: How do I set this up for my DLL's?

We've done it before for my pc, but "DOH!", forgot to document how we did it. Now, we've hired on a new girl, and we're having the same probs, but can't remember what we did.(silly, silly, I know...)

Thanks,

Jack
 
Hey guys,

Just an update: we figured it out. Here's what we did:

1. Opened the Machine.config (just search for it, its eaier than me typing out the path) ;)

2. find the <processModel> tag within the system.web tag.

3. Change the user name and password from
Machine and AutoGenerate
to
domain\username and password of my user account

4. Restart the machine and voila! My DLL's could access the sql server

Jack
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top