question

BastianWindberg-0481 avatar image
0 Votes"
BastianWindberg-0481 asked ·

ASP.NET builds corrupt URL

i get the Following error in IIS / asp.net, as you can see in the request information, he build an invalid URL(https://:443) and i dont know how to fix this.



Log Name: Application
Source: ASP.NET 4.0.30319.0
Date: 16.06.2020 11:18:18
Event ID: 1309
Task Category: Web Event
Level: Warning
Keywords: Classic
User: N/A
Computer:
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 16.06.2020 11:18:18
Event time (UTC): 16.06.2020 09:18:18
Event ID: 056e08e5d69e4bdfa21833492033204f
Event sequence: 8955
Event occurrence: 4389
Event detail code: 0


Application information:
Application domain: /LM/W3SVC/1/ROOT/PasswordVault-1-132367505886228945
Trust level: Full
Application Virtual Path: /PasswordVault
Application Path: D:\inetpub\wwwroot\PasswordVault\
Machine name:


Process information:
Process ID: 5048
Process name: w3wp.exe
Account name: IIS APPPOOL\PasswordVaultWebAccessPool


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 System.Web.HttpRequest.get_Url()
at CyberArk.Infra.Web.Mobile.CAHttpModuleMobile.UrlContainsMobile()
at CyberArk.Infra.Web.Mobile.CAHttpModuleMobile.context_BeginRequest(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


Request information:
Request URL: https://:443/PasswordVault/auth/cyberark/default.aspx
Request path: /PasswordVault/auth/cyberark/default.aspx
User host address: 172.18.164.131
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOL\PasswordVaultWebAccessPool


Thread information:
Thread ID: 32
Thread account name: IIS APPPOOL\PasswordVaultWebAccessPool
Is impersonating: False
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 System.Web.HttpRequest.get_Url()
at CyberArk.Infra.Web.Mobile.CAHttpModuleMobile.UrlContainsMobile()
at CyberArk.Infra.Web.Mobile.CAHttpModuleMobile.context_BeginRequest(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


Custom event details:


Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ASP.NET 4.0.30319.0" />
<EventID Qualifiers="32768">1309</EventID>
<Level>3</Level>
<Task>3</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-06-16T09:18:18.000000000Z" />
<EventRecordID>1047138</EventRecordID>
<Channel>Application</Channel>
<Computer>HLSAW651.hlb.helaba.de</Computer>
<Security />
</System>
<EventData>
<Data>3005</Data>
<Data>An unhandled exception has occurred.</Data>
<Data>16.06.2020 11:18:18</Data>
<Data>16.06.2020 09:18:18</Data>
<Data>056e08e5d69e4bdfa21833492033204f</Data>
<Data>8955</Data>
<Data>4389</Data>
<Data>0</Data>
<Data>/LM/W3SVC/1/ROOT/PasswordVault-1-132367505886228945</Data>
<Data>Full</Data>
<Data>/PasswordVault</Data>
<Data>D:\inetpub\wwwroot\PasswordVault\</Data>
<Data>HLSAW651</Data>
<Data>
</Data>
<Data>5048</Data>
<Data>w3wp.exe</Data>
<Data>IIS APPPOOL\PasswordVaultWebAccessPool</Data>
<Data>UriFormatException</Data>
<Data>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 System.Web.HttpRequest.get_Url()
at CyberArk.Infra.Web.Mobile.CAHttpModuleMobile.UrlContainsMobile()
at CyberArk.Infra.Web.Mobile.CAHttpModuleMobile.context_BeginRequest(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


</Data>
<Data>https://:443/PasswordVault/auth/cyberark/default.aspx</Data>
<Data>/PasswordVault/auth/cyberark/default.aspx</Data>
<Data>172.18.164.131</Data>
<Data>
</Data>
<Data>False</Data>
<Data>
</Data>
<Data>IIS APPPOOL\PasswordVaultWebAccessPool</Data>
<Data>32</Data>
<Data>IIS APPPOOL\PasswordVaultWebAccessPool</Data>
<Data>False</Data>
<Data> 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 System.Web.HttpRequest.get_Url()
at CyberArk.Infra.Web.Mobile.CAHttpModuleMobile.UrlContainsMobile()
at CyberArk.Infra.Web.Mobile.CAHttpModuleMobile.context_BeginRequest(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
</Data>
</EventData>
</Event>

not-supported
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

DSPatrick avatar image
0 Votes"
DSPatrick answered ·

Asp.Net is not currently supported here on QnA. They're actively answering question in dedicated forums here.


https://forums.asp.net/


--please don't forget to Accept as answer if the reply is helpful--


Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management


Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.







·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.