Thursday, June 5, 2008

100% Guarntee to Solve DCOM Error in MOSS 2007 or in WSS 3.0

Here is the post that will help you to solve DCOM error in MOSS 2007 or in WSS 3.0 while development.

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.

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 follows 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.

Special Thanks to : Mike Hanley's Blog

No comments:




Share your SharePoint Experiences with us...
As good as the SharePointKings is, we want to make it even better. One of our most valuable sources of input for our Blog Posts comes from ever enthusiastic Visitors/Readers. We welcome every Visitor/Reader to contribute their experiences with SharePoint. It may be in the form of a code stub, snippet, any tips and trick or any crazy thing you have tried with SharePoint.
Send your Articles to sharepointkings@gmail.com with your Profile Summary. We will Post them. The idea is to act as a bridge between you Readers!!!

If anyone would like to have their advertisement posted on this blog, please send us the requirement details to sharepointkings@gmail.com