some time you are dealing with Microsoft.Office.Interop service which is one type of DCOM.
check in event viewer error will be like this
User: NT AUTHORITY\NETWORK SERVICE
Computer: computer name
Description:
The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID
{61738644-F196-11D0-9953-00C04FD919C1}
to the user NT AUTHORITY\NETWORK SERVICE SID (S-1-5-20). This security permission can be modified using the Component Services administrative tool.
The highlighted CLSID is for "IIS WAMREG admin Service" in dcomcnfg.
OK to solve this error follow the steps
- in RUN write dcomcnfg open DCOM Config
- in component service right click on My computer and select properties.
- in it Default properties section tab make sure that "enable DCOM on this computer is selected"
- now select DCOM security tab "Launch and activation section" click on EDIT default add user which gives you error in above error case user is NT AUTHORITY \NETWORK Service so add that user here. assign it Local launch and local activation permission.click ok
- now explore DCOM config below my computer and find IIS WAMREG admin Service and right click select properties in security section in Add user for Local launch and activation section.
- same thing find NETMAN in it and repeat same thing for it
- now restart iis
- it should work now generally in we need to give rights for Application pool identity user, by default it is NETWORK SERVICE user.
- check WSS_WPG group NETWORK SERVICE User is added or not
- now it should work
2 comments:
Thanks Jayesh its very useful to me,I have same error before I had solved it the way you explained.
Automate the DCOM settings in your MOSS install script
http://www.wssdemo.com/Blog/archive/2008/10/03/another-step-closer-to-the-100-scripted-sharepoint-installation-with-dcomperm-exe.aspx
Post a Comment