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)

Getting error: Invalid URL:the hostname could not be parsed

(0) ShareShare
ReportReport
Posted on by 1,562

Hello All,

In my CRM everything is working fine but I dont know how i am getting an below error.

It seems error window and after refresh everything is working fine.

From even log on CRM serevr i found below error trace:

Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 1/30/2017 11:58:52 AM 
Event time (UTC): 1/30/2017 4:58:52 PM 
Event ID: 4108b67a794a4540859072d1c2be09e2 
Event sequence: 59755 
Event occurrence: 31559 
Event detail code: 0 

Application information: 
Application domain: /LM/W3SVC/1/ROOT-6-131301902508240553 
Trust level: Full 
Application Virtual Path: / 
Application Path: c:\Program Files\Microsoft CRM\CRMWeb\ 
Machine name: TEST- CRM03 

Process information: 
Process ID: 3148 
Process name: w3wp.exe 
Account name: Test-STG 

Exception information: 
Exception type: UriFormatException 
Exception message: Invalid URI: The hostname could not be parsed.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Web.Util.UriUtil.BuildUriImpl(String scheme, String serverName, String port, String path, String queryString, Boolean useLegacyRequestUrlGeneration)
at System.Web.HttpRequest.BuildUrl(Func`1 pathAccessor)
at Microsoft.Crm.MapOrgEngine.GetOrganizationForClaims(Object sender)
at Microsoft.Crm.MapOrgEngine.Execute(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)



Request information: 
Request URL: https://:443/default.aspx 
Request path: /default.aspx 
User host address: 17.172.77.883 
User: 
Is authenticated: False 
Authentication Type: 
Thread account name: Test-STG 

Thread information: 
Thread ID: 45 
Thread account name: Test-STG 
Is impersonating: True 
Stack trace: at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Web.Util.UriUtil.BuildUriImpl(String scheme, String serverName, String port, String path, String queryString, Boolean useLegacyRequestUrlGeneration)
at System.Web.HttpRequest.BuildUrl(Func`1 pathAccessor)
at Microsoft.Crm.MapOrgEngine.GetOrganizationForClaims(Object sender)
at Microsoft.Crm.MapOrgEngine.Execute(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Nithya Gopinath Profile Picture
    17,078 on at

    Hi,

    Which version of CRM 2015 are you using?

    Please see: community.dynamics.com/.../146244

  • Tin Profile Picture
    1,562 on at

    Hi Nithya,

    Yes it is on 2015 in- premises. I am getting this error only at day time (EST time zone).

    After getting this error If I will refresh page everything is working fine.And,I am using at night everything is working fine.It seems error is coming only at day time.

    Very strange could you please help me here.

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