Problem with <identity impersonate="true" />

Posts   
 
    
seacat
User
Posts: 9
Joined: 26-Jan-2007
# Posted on: 26-Jan-2007 13:27:20   

Hi guys, I need set up this option in my web.config. But when I did that I have got the following error message:

Access is denied: 'SD.LLBLGen.Pro.DQE.SqlServer.NET11'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileLoadException: Access is denied: 'SD.LLBLGen.Pro.DQE.SqlServer.NET11'.

What can I do with it? Without changes in web.config all the things are working well, but I need this option really.

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 26-Jan-2007 15:20:40   

FileLoadException:

It seems that the windows user/account accessing the file doesn't have the suffecient access rights for this file "SD.LLBLGen.Pro.DQE.SqlServer.NET11.dll".

Just set appropriate access rights on this file, or on the entire folder. Or you can just give access to EVERYONE.

More Info is here and here

seacat
User
Posts: 9
Joined: 26-Jan-2007
# Posted on: 26-Jan-2007 15:58:30   

Walaa wrote:

FileLoadException:

It seems that the windows user/account accessing the file doesn't have the suffecient access rights for this file "SD.LLBLGen.Pro.DQE.SqlServer.NET11.dll".

Just set appropriate access rights on this file, or on the entire folder. Or you can just give access to EVERYONE.

More Info is here and here

Thank you but it doesn't help. I have got only the new message

Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0006: Metadata file 'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files...\f3264f2c\5474c68f\assembly\dl2\80be603d\80e20b69_da07c701\sd.llblgen.pro.ormsupportclasses.net11.dll' could not be found

That's after the compilation! Thanks

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 26-Jan-2007 16:05:33   

Compiler Error Message: CS0006: Metadata file 'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files...\f3264f2c\5474c68f\assembly\dl2\80be603d\80e20b69_da07c701\sd.llblgen.pro.ormsupportclasses.net11.dll' could not be found

That's after the compilation!

Try to delete everything inside the "temporary asp.net files" folder, and then try to re-build the application

seacat
User
Posts: 9
Joined: 26-Jan-2007
# Posted on: 26-Jan-2007 16:14:55   

Try to delete everything inside the "temporary asp.net files" folder, and then try to re-build the application

It seems to me that works. thanx!

seacat
User
Posts: 9
Joined: 26-Jan-2007
# Posted on: 26-Jan-2007 18:01:28   

Yeah, it works but only till the next computer restart. After that the secutity settings for folder return to previous state. Can I do something to not to setup this setting by hand every time after restart?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39927
Joined: 17-Aug-2003
# Posted on: 26-Jan-2007 18:49:15   

file access credentials on disk don't change automatically. So some script must reset the access credentials for the dll when the machine is rebooted. Could you check that please?

Frans Bouma | Lead developer LLBLGen Pro
seacat
User
Posts: 9
Joined: 26-Jan-2007
# Posted on: 26-Jan-2007 19:10:07   

Where can I find these sripts?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39927
Joined: 17-Aug-2003
# Posted on: 26-Jan-2007 19:55:45   

seacat wrote:

Where can I find these sripts?

I don't know, it's your machine. simple_smile Do you have any login scripts running or something? By default credentials set in windows stay that way.

Frans Bouma | Lead developer LLBLGen Pro
seacat
User
Posts: 9
Joined: 26-Jan-2007
# Posted on: 26-Jan-2007 23:29:22   

Otis wrote:

seacat wrote:

Where can I find these sripts?

I don't know, it's your machine. simple_smile Do you have any login scripts running or something? By default credentials set in windows stay that way.

Yes, of course, but I have not istalled any scripts knowingly. Can it be some scripts installed by, for example, LLBLGen itself?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39927
Joined: 17-Aug-2003
# Posted on: 26-Jan-2007 23:41:03   

No not at all. We don't install any of that kind of stuff. Our installer just copies files to the program files\solutions design folder and that's it.

Frans Bouma | Lead developer LLBLGen Pro