Problems with identity impersonate parameter in web.config file. H


G

Guest

I've been trying to use the identity impersonate parameter, as Microsoft Tech
Support indicated I should, to enable a .Net application to access an
MS-Access .mdb file on a Windows 2003 voice response system server at the
same time that the IVR application on that server has the file open for
update. So far this does eliminate the error that .Net was previously giving
("File in Use"), but now I get the following error in .Net:

Could not create Windows user token from the credentials specified in the
config file. Error from the operating system 'Logon failure: unknown user
name or bad password.
Source Error:
Line 3: <system.web>
Line 4:
Line 5: <identity impersonate="true" userName="Administrator"
password="don"/>
Line 6:
Line 7: <!-- DYNAMIC DEBUG COMPILATION
Source File: C:\Develop\Integravox2007\JuryNet2\JuryNet2\web.config Line:
5

The username Administrator and the password "don" do exist on the Windows
2003 Server where the Access mdb resides, and this userid has full rights to
the share containing the mdb file. Why is the Operating System returning
this invalid credential error message at the point in the code where we first
try to access the mdb file? I'm not able to deploy our application until
this problem is resolved.
 
Ad

Advertisements

N

Norman Yuan

Try to add domain name prefix to the user name, in this case, it is the
computer name. That is:

<identity impersonate="true" userName="ComputerName\Administrator"
password="don" />

Also, you may want to make sure there is a space between "don" and "/>".
 
Ad

Advertisements

G

Guest

Norman,

Thanks so much for your reply. Your suggestion certainly seemed like a
logical solution to the problem. Unfortunately the O/S didn't agree with us.
I'm still getting the same error even with the qualificaiton on computer
name.

Parser Error Message: Could not create Windows user token from the
credentials specified in the config file. Error from the operating system
'Logon failure: unknown user name or bad password.

Source Error:

Line 3: <system.web>
Line 4:
Line 5: <identity impersonate="true" userName="IVR2003\Administrator"
password="don" />
Line 6:
Line 7: <!-- DYNAMIC DEBUG COMPILATION

Source File: C:\Develop\Integravox2007\JuryNet2\JuryNet2\web.config Line:
5

Any other ideas?

Thanks,

Don Tilley
IntegraVox, LLC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top