Ask a Question related to ASP.NET General, Design and Development.
-
Christian Binder #1
<identity impersonate> and NETWORK ACCESS DB-HELP
Hi folks. got a problem: i want to connect to an access db which is located
on a network drive (seperate server). The server's name, where the access db
is located, is "SERVER001" and the server, where my webApp runs is named
"SERVER002". So i already learned that i have to create a user on server001
which has exactly the same name as the user on server002 (ASPNET?)...alright
here comes the code:
web.config:
<identity impersonate="true" userName="SERVER001\ASPNET" password="" />
machine.config:
<processModel
....
userName="SERVER001\ASPNET"
password="AutoGenerate"
/>
and yea ASPNET on SERVER001 has full rights
so if I try to connect with OLEDB 4.0 to Z:\data\data.mdb i get this error:
System.Data.OleDb.OleDbException: Unknown Error (translated from german to
english)
dbcommands.Fill(dbdataset)
so what the hell is wrong? *g*
thx!
greetz christian
Christian Binder Guest
-
Impersonate Identity doesn't work on the server
Hello, In my application I have to impersonate users, so I add <identity impersonate="true" /> to the Web.config file. As long as I run... -
Impersonate IIS Application Pool Identity
How do I get an IIS application pool identity, and create a Windows Impersonation Context from it? Troy -
Access Denied w/Impersonate=true
The error says that the user doesn't have permission to access to the temp folder. Using impersonate=true the user identity is the identity of the... -
Impersonate, Windows Authentication and Database Access
Hi everyone, I am having problems in my Intranet web site. I recently changed the authentication mode from forms to windows. I turned "OFF" the... -
Obtaining network username when impersonate is set to false
I found the answer: System.Web.HttpContext.Current.User.Identity.Name.ToString(); jeremy_deats@hotmail.com (Ramzey) wrote in message...



Reply With Quote

