![]() |
|
|
Welcome to the { mindfrost82.com } forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Cannot enable a custom plugin in Windows Server 2008
Hello Everyone,
I implemented a authorization plugin using C# on Windows Server 2008. After following the steps as in http://msdn2.microsoft.com/en-us/lib...02(VS.85).aspx, I got the new plugin shown in the server (BTW, I didn't forget to use ComVisible(true)" in AssemblyInfo.cs before I built the plugin). But when I tried to enable the plugin from the server, I got error "0x8007005, access is denied". I didn't work on the server directly, but using the remote desktop to connect with the server. I checked the security of the dll, say MyPlugin.dll, under C:\Windows\System32\wincdows media\server, it has read & execute permissions for System, NETWORK SERVICE, Administrators, Users. I added Administrator but still got the error. Any idea about how to fix it? The other question is that I cannot delete MyPlugin.dll from C:\Windows\System32\wincdows media\server. It says that it's open in another program. I couldn't think of where the dll was referenced (I have run regasm MyPlugin.dll). Any idea about this? Thanks a lot! Helen |
|
|||
|
RE: Cannot enable a custom plugin in Windows Server 2008
Problems solved! It turns out that the program doesn't have the write
permission to the log file. About the second question, I could delete the MyPlugin.dll after I stopped the server. Helen "Helen" wrote: > Hello Everyone, > I implemented a authorization plugin using C# on Windows Server 2008. After > following the steps as in > http://msdn2.microsoft.com/en-us/lib...02(VS.85).aspx, I got the new > plugin shown in the server (BTW, I didn't forget to use ComVisible(true)" in > AssemblyInfo.cs before I built the plugin). But when I tried to enable the > plugin from the server, I got error "0x8007005, access is denied". > > I didn't work on the server directly, but using the remote desktop to > connect with the server. > > I checked the security of the dll, say MyPlugin.dll, under > C:\Windows\System32\wincdows media\server, it has read & execute permissions > for System, NETWORK SERVICE, Administrators, Users. I added Administrator > but still got the error. > > Any idea about how to fix it? > > The other question is that I cannot delete MyPlugin.dll from > C:\Windows\System32\wincdows media\server. It says that it's open in another > program. I couldn't think of where the dll was referenced (I have run regasm > MyPlugin.dll). Any idea about this? > > Thanks a lot! > > Helen |
|
|||
|
Re: Cannot enable a custom plugin in Windows Server 2008
> GUEST wrote: > Hello Everyone, > I implemented a authorization plugin using C# on Windows Server 2008. After > following the steps as in > http://msdn2.microsoft.com/en-us/lib...02(VS.85).aspx, I got the new > plugin shown in the server (BTW, I didn't forget to use ComVisible(true)" in > AssemblyInfo.cs before I built the plugin). But when I tried to enable the > plugin from the server, I got error "0x8007005, access is denied". > > I didn't work on the server directly, but using the remote desktop to > connect with the server. > > I checked the security of the dll, say MyPlugin.dll, under > C:\Windows\System32\wincdows media\server, it has read & execute permissions > for System, NETWORK SERVICE, Administrators, Users. I added Administrator > but still got the error. > > Any idea about how to fix it? > > The other question is that I cannot delete MyPlugin.dll from > C:\Windows\System32\wincdows media\server. It says that it's open in another > program. I couldn't think of where the dll was referenced (I have run regasm > MyPlugin.dll). Any idea about this? > > Thanks a lot! > > Helen Glad to hear you got everything worked out. ------------------------------------------------------ Fred Reckling Microsoft Security Outreach Team http://www.microsoft.com/hellosecureworld/level7 |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|