web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Problems after Rollup 6 (invalid URL)

(0) ShareShare
ReportReport
Posted on by 12,163

After installing Rollup 6, we have been experiencing intermiitent inabilty to connect either the CRM Outlook client or our Scribe integrations to CRM (2011). A simple IISRESET seems to fix this for a time but then will randomly drop out again. During this time, the website responds to the requests with no problem.

Not able to find any System or Application events. The only error that is generated in the CRMClient.log is:

Error| Error connecting to URL: https://server.domain.com:443/XRMServices/2011/Organization.svc Exception: System.InvalidOperationException: Metadata contains a reference that cannot be resolved: 'https://server.domain.com:443/XRMServices/2011/Organization.svc?wsdl'.

Coincidentally, if I try and download the Organization.wsdl from the Developer Resources tab, I get a generic Error (Red X)-- even though the Service link works without error.

 

 

*This post is locked for comments

I have the same question (0)
  • Gus Gonzalez Profile Picture
    27,113 on at

    Joe,

    Can you check the registry keys within the CRM Server itself?

    Is there anything weird or renamed?

    Also, the MSCRM_CONFIG database holds the URL information for the server, is there any way these have changed?

  • Joe Woltering Profile Picture
    12,163 on at

    Well actually there is a MSCRM.backup registry key now. Pretty sure that was never there before. The Server URL's are different between the two keys. Should I revert to the backup or is that going to cause me more grief?

  • Gus Gonzalez Profile Picture
    27,113 on at

    You can try reverting back but not before taking a full backup in case it gets worse after you revert back.

  • Mohammad Atif Profile Picture
    on at

    Hi Joe,

    If An IIS reset is fixing the issue then something else went wrong and we cannot say that UR6 installation is the cause of the issue.

    I would suggest you to revert it back after taking the full backup of the database to see if that fix the issue. if not then give a try to re-install the UR6 and there are chances that the UR6 installation is done properly.

    We always recommend applying any update rollup in the test environment before applying into the production one. It's not that Ur6 is the cause of the issue but it depends on Environment to environment and there are many factors that can cause the issues post Ur6 installation.

    Thanks,

    Mohammad

  • Joe Woltering Profile Picture
    12,163 on at

    Is it even possible to revert or uninstall the rollup?

  • Gus Gonzalez Profile Picture
    27,113 on at

    As far as I understand, you can't uninstall UR 6.

  • Mohammad Atif Profile Picture
    on at

    Uninstallation of Update rollup 6 is not possible what you can try is to do a reinstallation of UR6.

    I think we were taking about reverting about the backup file as an option. If I understand you correctly we are talking about uninstallation of the CRM server and reinstallation and then reimport of the organization. Please let me know if my understanding is correct.

    We always have this last option but before doing this i would suggest you to reinstall the UR6 and check the behavior.

    Thanks,

    Mohammad

  • Joe Woltering Profile Picture
    12,163 on at

    Reinstalling and reimporting is not really an option. I will attempt to reinstall RU6. Are there any caveats to reinstalling the Rollup that I should be aware of?

  • Mohammad Atif Profile Picture
    on at

    Hi Joe,

    If it is already installed i would say there is no caveats. But as a good practice please take the complete backup of the CRM databases, Registry keys of CRM server  and web.config file and then re - install Microsoft Dynamics CRM UR6.  

    Thanks,

    Mohammad

  • Joe Woltering Profile Picture
    12,163 on at

    It appears that my claims authentication got messed up somehow. How to fix?

    11:59:49|  Error| Error connecting to URL: crm.domain.com/.../Discovery.svc Exception: Microsoft.Crm.CrmException: Credentials required

      at Microsoft.Crm.Outlook.ClientAuth.ClaimsBasedAuthProvider`1.AuthenticateClaims()

      at Microsoft.Crm.Outlook.ClientAuth.ClaimsBasedAuthProvider`1.SignIn()

      at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.SignIn(Uri endPoint, Credential credentials, AuthUIMode uiMode, IClientOrganizationContext context, Form parentWindow, Boolean retryOnError)

      at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo.DeploymentInfo.LoadOrganizations(AuthUIMode uiMode, Form parentWindow, Credential credentials)

      at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo.InternalLoadOrganizations(OrganizationDetailCollection orgs, AuthUIMode uiMode, Form parentWindow)

    11:59:52|   Info| Fill organization comboBox with server information.

    11:59:52|  Error| Exception : Metadata contains a reference that cannot be resolved: 'crm.domain.com/.../Organization.svc.    at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper)

      at System.ServiceModel.Description.MetadataExchangeClient.ResolveNext(ResolveCallState resolveCallState)

      at System.ServiceModel.Description.MetadataExchangeClient.GetMetadata(MetadataRetriever retriever)

      at System.ServiceModel.Description.MetadataExchangeClient.GetMetadata(Uri address, MetadataExchangeClientMode mode)

      at Microsoft.Xrm.Sdk.Client.ServiceMetadataUtility.RetrieveServiceEndpointMetadata(Type contractType, Uri serviceUri, Boolean checkForSecondary)

      at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1..ctor(Uri serviceUri, Boolean checkForSecondary)

      at Microsoft.Xrm.Sdk.Client.OrganizationServiceConfiguration..ctor(Uri serviceUri)

      at Microsoft.Xrm.Sdk.Client.ServiceConfigurationFactory.CreateConfiguration[TService](Uri serviceUri)

      at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.GetAuthProvider(Uri endPoint, Credential credentials, AuthUIMode uiMode, Uri webEndPoint, IClientOrganizationContext context, Form parentWindow)

      at Microsoft.Crm.Application.Outlook.Config.ServerInfo.LoadUserId()

      at Microsoft.Crm.Application.Outlook.Config.ServerInfo.Initialize(Uri discoveryUri, OrganizationDetail selectedOrg, String displayName, Boolean isPrimary)

      at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadDataToServerInfo()

      at Microsoft.Crm.Application.Outlook.Config.ServerForm.<InitializeBackgroundWorkers>b__2(Object sender, DoWorkEventArgs e)

      at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)

      at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

    11:59:52|  Error| Exception : The remote server returned an error: (500) Internal Server Error.    at System.Net.HttpWebRequest.GetResponse()

      at System.ServiceModel.Description.MetadataExchangeClient.MetadataLocationRetriever.DownloadMetadata(TimeoutHelper timeoutHelper)

      at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans