Plug-in Registration RRS feed

  • Question


    Hi all,
    I wrote a simple plug-in on account entity. But I couldn't register it on real test crmserver although i could register it on VPC.

    When I click to Register->Register New Assembly from menu, it opens Register New Plugin window. After browsing dll, it loads successfully dll. I can see the methods i wrote. But finally, when i select "Database" for location of dll and click the Register Selected Plugins button, it gives the following time out error below.

    I am trying to register it on server machine with admin user. Tool is working well, and it loads the default plugin.

    I increase the executionTimeout value in web.config and set sqlserver to no timeout. But it gives the same error when i try to register it. It seems an else problem but i couldn't find it.

    Any suggestion please.


    Unhandled Exception: System.Net.WebException: The operation has timed out
    at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
    at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
    at PluginRegistrationTool.CrmSdk.CrmService.Create(BusinessEntity entity) in E:\PluginRegistration\Web References\CrmSdk\Reference.cs:line 212
    at PluginRegistrationTool.RegistrationHelper.RegisterAssembly(CrmOrganization org, String pathToAssembly, CrmPluginAssembly assembly) in E:\PluginRegistration\RegistrationHelper.cs:line 261
    at PluginRegistrationTool.PluginRegistrationForm.btnRegister_Click(Object sender, EventArgs e) in E:\PluginRegistration\PluginRegistrationForm.cs:line 364

    Thursday, April 3, 2008 10:14 AM


  • I've not met this problem, but it sounds like a SQL locking issue. I'd use the SQL Server tools - SQL Server Profiler and SQL Management Studio - to track this down

    Thursday, April 3, 2008 11:51 AM