I hope someone has a good answer for this stupid question.
I'm trying to connect to my sql server 2008 database and I'm using impersonation within my asp.net 3.5 application
<identity impersonate="tr ue" userName="testU serName" password="test& test" />
Naturally the compiler won't compile until I use the escape character:
<identity impersonate="tr ue" userName="testU serName" password="test& amp;test" />
So it compiles, unfortunately when I run my app, it get this:
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:
<identity impersonate="tr ue" userName="testU serName" password="test&test" />
Why isn't it converting my escape character into a proper &?
I'm trying to connect to my sql server 2008 database and I'm using impersonation within my asp.net 3.5 application
<identity impersonate="tr ue" userName="testU serName" password="test& test" />
Naturally the compiler won't compile until I use the escape character:
<identity impersonate="tr ue" userName="testU serName" password="test& amp;test" />
So it compiles, unfortunately when I run my app, it get this:
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:
<identity impersonate="tr ue" userName="testU serName" password="test&test" />
Why isn't it converting my escape character into a proper &?
Comment