Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Plugin registration tool error

Posted on by Microsoft Employee

An internal customer has some developers who are unable to use the Microsoft Plugin Registration tool on their inhouse PCs.

The error is below.

My question is, do you need to have local admin rights to run this tool? A basic question I know, but there are a lot of hoops to jump through to provide local admin and it will take some time to effect, so I don't want to make this request and then wait if its not going to solve the problem.

Thanks! C#

Source : Microsoft.VisualBasic
Method : GetFreeDiskSpace
Date : 4/08/2016
Time : 3:27:32 PM
Error : Cannot determine the amount of available disk space.
Stack Trace : at Microsoft.VisualBasic.Logging.FileLogTraceListener.GetFreeDiskSpace()
   at Microsoft.VisualBasic.Logging.FileLogTraceListener.ResourcesAvailable(Int64 newEntrySize)
   at Microsoft.VisualBasic.Logging.FileLogTraceListener.WriteLine(String message)
   at Microsoft.VisualBasic.Logging.FileLogTraceListener.TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String message)
   at Microsoft.Xrm.Tooling.Connector.DynamicsFileLogTraceListener.TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String message)
   at System.Diagnostics.TraceSource.TraceEvent(TraceEventType eventType, Int32 id, String message)
   at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.DiscoverOrganizations(Uri discoveryServiceUri, ClientCredentials clientCredentials, UserIdentifier user, String clientId, Uri redirectUri, PromptBehavior promptBehavior, String tokenCachePath, Boolean isOnPrem, String authority)
   at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.QueryOAuthDiscoveryServer(Uri discoServer, ClientCredentials liveCreds, UserIdentifier user, String clientId, Uri redirectUri, PromptBehavior promptBehavior, String tokenCachePath)
   at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.FindCrmOnlineDiscoveryServer(ClientCredentials liveCreds)

   at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.ValidateServerConnection(CrmOrgByServer selectedOrg)
Source : Microsoft.VisualBasic
Method : GetFreeDiskSpace
Date : 4/08/2016
Time : 3:27:32 PM
Error : Cannot determine the amount of available disk space.

*This post is locked for comments

  • Suggested answer
    Vipin J Profile Picture
    Vipin J 1,583 on at
    RE: Plugin registration tool error

    Try these steps from the blog - https://vjcity.blogspot.com/2019/04/plugin-registration-tool-object.html

  • EmployeeOcta Profile Picture
    EmployeeOcta on at
    RE: Plugin registration tool error

    Hello IT_Guy,

    the error is from the server itself , i don't think it will work from the client.

    you need to provide the permission on server itself only.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Plugin registration tool error

    After further testing and with the help of procmon, we were able to see that the plugintool trys to access \\server\users$\ and fails with Access Denied when trying to determine available disk space. This occurs when logged in as a user with now access to this location. Users who do have access thought don't come across the disk space issue. 

    The location it is trying to access is the root directroy of the users network profile folder, which appears to be where certain logs are being written. So in saying that, can the location of these log files be changed to a local folder instead of a netowrk location?

    This article might have something to do with this, but the fix suggests increasing users permission to the root directory whih may not be something our security team will approve.

    https://support.microsoft.com/en-au/kb/891636

    Thanks...

  • Suggested answer
    Yadnyesh Kuvalekar Profile Picture
    Yadnyesh Kuvalekar 4,102 on at
    RE: Plugin registration tool error

    Please download latest SDK from below link.

    www.microsoft.com/.../details.aspx

    Extract the SDK and go to Tools > Plugin Registration >PluginRegistration.exe

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Plugin registration tool error

    Hard disk space is OK, and have tried copying the folder to the desktop.

    For clarification, on the dev's personal laptop via 4G, they check the Show Advanced tickbox, select the Online Region, enter username and password and are provided with our list of CRM Organizations.

    On the in-house PC, the error occurs (ie the list of CRM Orgs does not appear)

  • EmployeeOcta Profile Picture
    EmployeeOcta on at
    RE: Plugin registration tool error

    What's the space available in the harddisk.?

    As the error itself showing disk space message.

  • Yadnyesh Kuvalekar Profile Picture
    Yadnyesh Kuvalekar 4,102 on at
    RE: Plugin registration tool error

    Copy sdk folder to desktop or any other drive than windows drive and try running tool from sdk folder >tools>plugin registration folder.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Plugin registration tool error

    I am advised that the error occurs when they click on the shortcut to run the tool.

  • Saroj Das Profile Picture
    Saroj Das 3,355 on at
    RE: Plugin registration tool error

    Can you please tell in which condition you are getting this error. If you are getting this error while registering plugin, then make sure the Isolation mode and location should look like below.

    PluginReg.JPG

    Thanks,

    Saroj

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Plugin registration tool error

    Thanks Saroj. It is CRM online.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans