Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > impersonate web service process account - ASPNET

Reply
Thread Tools

impersonate web service process account - ASPNET

 
 
esource
Guest
Posts: n/a
 
      08-09-2007
Hello all,
I have a web service in vb.net that is trying to call a VB6 com
component. The VB6 app works off active directory. When I make a call
from my web service I get an error like this:

System.Runtime.InteropServices.COMException (0x8004006C): The
currently logged on user cannot be located in the application roles
identified on the NT application server...

>From my web service I setup the web config file to impersonate my

windows account (which is setup in active directory and will work with
the vb6 app). I also have tried my account in directory security in
IIS with anonymous access on and off. I still get the error.
I'm guessing that when my web service calls the vb6 com component it
is doing it as the ASPNET process identity account (which is not setup
in active directory) and fails authentication. I thought that if you
add this line:
<identity impersonate="true" userName="xxx" password="xxxxx" />
to your web config file then the ASPNET account will impersonate it,
but it does not seem to work. Anyone have an understanding of the
process identity account and how to not use it from my web service?
or am I missing one other config? maybe in machine.config??
thanks

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is the aspnet account called "aspnet" for all non-English versions of Windows and IIS? torus@tpg.com.au ASP .Net 7 03-23-2007 04:00 AM
ASPNET account and NT Authentication with SQL Server -Account Locked Out ryan.d.rembaum@kp.org ASP .Net Security 4 09-15-2005 06:51 PM
Using LogonUser API in ASP.net with an account other than ASPNet account nilapenn ASP .Net Security 3 02-14-2005 02:25 PM
DirectoryEntry Impersonate or WindowsIdentity Impersonate? Bill Belliveau ASP .Net Security 3 01-31-2004 04:19 AM
How to impersonate the child process of a web service Aadil Abbas ASP .Net Web Services 6 08-04-2003 07:19 PM



Advertisments