Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

i am still trying to connect to an SQL database using the impersonate part of .net in the machine.config.

 

Has anyone done it?

 

Rgds,

 

V. Frustrated Papa.

without time nothing ever ends
  • *Gurus*
Posted

It's more common to set the impersonate attribute in web.config, not in machine.config. This has little bearing on your problem, however it's worth noting.

 

Have you granted the ASPNET user account permissions in Microsoft SQL Server? How are your users authenticating (via Forms-based authentication or via NTLM using Windows credentials)? Which version of IIS are you using?

Posted

I also faced the same problem.And I solved the problem by Installing SQLServer2000

Client tools. and used Enterprise Mgr and giving permissions to ASPNET user.

 

But I'm interested to know how u solved the problem by setting the impersonate attribute in web.config, I tried but not worked.

Thank u

ima

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...