Accessing resources fails with <identity impersonate="true"/>

G

Guest

Hi all,

in a simple ASP.Net application with resources in satellite assemblies I
have the following problem:

If I set <identity impersonate="true"/>, accessing a culture specific
resource from a satellite assembly fails with the error message:
"Could not find any resources appropriate for the specified culture (or the
neutral culture) in the given assembly. ..."

With <identity impersonate="false"/> everything works. Looks like that an
impersonated user is not able to access resources in satellite assemblies.

Any idea how to enable an impersonated user to access resources in satellite
assemblies?

Franz
 
G

GrantMagic

HAve you tried setting the username and password in the <identity> tag

like this:
<identity impersonate="true" userName="DOMAIN\UserName"
password="Password" />
 
G

Guest

Thank you for your reply. When I do this it works. But as my application
(SharePoint Web part) has to execute with the identity of the client
requesting the page this does not solve my problem. But it would also be
interesting to understand why it works when impersonating with setting
username/password.
 

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

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,708
Latest member
SherleneF1

Latest Threads

Top