none
Library not Registered RRS feed

  • Question

  • Hi, 

    I am getting the following error in the Event viewer when i browse a Sharepoint web service and also when ever i edit my site via Sharepoint designer 2010 it failed to load the site because there was a communication failure connecting to Sharepoint web service.

    Event Viewer: Windows Log ===>>>

    WebHost failed to process a request.
     Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/15932216
     Exception: System.ServiceModel.ServiceActivationException: The service '/_vti_bin/client.svc' cannot be activated due to an exception during compilation.  The exception message is: Library not registered.
    . ---> System.Runtime.InteropServices.COMException (0x8002801D): Library not registered.

       at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
       at System.DirectoryServices.DirectoryEntry.Bind()
       at System.DirectoryServices.DirectoryEntry.get_AdsObject()
       at System.DirectoryServices.PropertyValueCollection.PopulateList()
       at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
       at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
       at Microsoft.SharePoint.Client.ClientRequestServiceBehaviorAttribute.<>c__DisplayClass1.<get_AuthInfo>b__0()
       at Microsoft.Office.Server.Security.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
       at Microsoft.SharePoint.Client.ClientRequestServiceBehaviorAttribute.get_AuthInfo()
       at Microsoft.SharePoint.Client.ClientRequestServiceBehaviorAttribute.GetAllAuthenticationSchemes(AuthenticationSchemes& defaultOne)
       at Microsoft.SharePoint.Client.Services.EndpointCreator.AddEndpoints()
       at Microsoft.SharePoint.Client.Services.MultipleBaseAddressWebServiceHost.OnOpening()
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)
       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
       --- End of inner exception stack trace ---
       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
       at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath)
     Process Name: w3wp
     Process ID: 7372

    Kindly help me, this troubles me a lot for last few weeks. 

    Thursday, August 22, 2013 1:21 PM

Answers

  • Dear Friends,

    Thanks for your timely suggestion.

    Finally I resolved the issue.  As per my understanding this is purely security issue. By assigning the respective application pool's process model identity with a specific user identity (Custom account) who is having administrative rights resolved my issue.

    I hope this will help others.

    Thanks

    Kirubakaran. T

    • Marked as answer by Karan Thillai Saturday, August 24, 2013 7:20 AM
    Saturday, August 24, 2013 7:20 AM

All replies

  • Hi karan_t_kiruba,

    It seems your WCF service is using some COM components. Those components are not registered on the server which is hosting the WCF service. If you call the WCF service from web browser or any other WCF Client, is it giving any response. It should not.

    Please register the missing components on the server.


    Thanks
    Subhendu DE - Visit My Blog If a post answers your question, please click Mark As Answer on that post. If you find a post helpful, please click Vote as Helpful.

    Friday, August 23, 2013 4:08 PM
  • Dear Friends,

    Thanks for your timely suggestion.

    Finally I resolved the issue.  As per my understanding this is purely security issue. By assigning the respective application pool's process model identity with a specific user identity (Custom account) who is having administrative rights resolved my issue.

    I hope this will help others.

    Thanks

    Kirubakaran. T

    • Marked as answer by Karan Thillai Saturday, August 24, 2013 7:20 AM
    Saturday, August 24, 2013 7:20 AM