![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
|
I have an dot net website which calls a class (which is in a project that is referenced by the website project). I will call the class "WakeUp" In other words, somepage.aspx.vb instantiates "wakeup" and calls a method wakeup.now(). This method ... wakeup.now() ... uses the appropriate mechanism to start a Windows Service. When I try to run this on my web server, it fails because of lack of permission. If I add an <identity impersonate="true" ...> section to my web.config file, I can give it credentials so that the whole thing works. The downside, of course, is that then the entire site runs under these administrative credentials. Is there a way that I can assign such administrative credentials (e.g. impersonation) to only the "wakeup" class, instead of to the entire website. Since wakeup.dll is in the website\bin folder, it doesn't have its own .config file. Thanks, b |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |