UltimateSearch
Topic: UriFormatException
Karamasoft Support Forums

Page 1 of 1 (1 items)


Posted by jeff_1868 on 08-03-2016 9:10 AM
For awhile now, our server event logs have been getting filled with UriFormatException warnings for ASP.NET 4.0.30319.0. I will paste the log below. It's pointing to UltimateSearch but I cannot figure out which part is causing the problem. I can remove the control and no events are logged. There are no errors on the page and the search functionality works fine. Has anyone else seen this?

Log Name: Application
Source: ASP.NET 4.0.30319.0
Date: 8/2/2016 4:06:15 PM
Event ID: 1309
Task Category: Web Event
Level: Warning
Keywords: Classic
User: N/A
Computer: XXXXXXXXXXX
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 8/2/2016 4:06:15 PM
Event time (UTC): 8/2/2016 8:06:15 PM
Event ID: b85e2f0771a14cfe9421ae10b27b1da4
Event sequence: 127375
Event occurrence: 855
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1/ROOT-1-131145912988750000
Trust level: Full
Application Virtual Path: /
Application Path: C:\inetpub\wwwroot\
Machine name: XXXXXXXXXX

Process information:
Process ID: 1348
Process name: w3wp.exe
Account name: XXXXXXXXXX\XXXXXXX

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.Uri..ctor(String uriString)
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 j.a(HttpContext A_0)
at Karamasoft.WebControls.UltimateSearch.UltimateSearchInput..ctor()
at ASP.default_aspx.__BuildControlUltimateSearchInput_AboutUS() in c:\inetpub\wwwroot\default.aspx:line 131
at ASP.default_aspx.__BuildControlform1() in c:\inetpub\wwwroot\default.aspx:line 94
at ASP.default_aspx.__BuildControlTree(default_aspx __ctrl) in c:\inetpub\wwwroot\default.aspx:line 1
at ASP.default_aspx.FrameworkInitialize() in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\bbab60f2\66fd587a\App_Web_1zmu3iym.5.cs:line 0
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.default_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\bbab60f2\66fd587a\App_Web_1zmu3iym.5.cs:line 0
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)



Request information:
Request URL: http:///default.aspx
Request path: /default.aspx
User host address: 10.125.240.1
User:
Is authenticated: False
Authentication Type:
Thread account name: ADCPFCWEB2\cpfdmz

Thread information:
Thread ID: 8
Thread account name: XXXXXXXXXX\XXXXXX
Is impersonating: False
Stack trace: at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Uri..ctor(String uriString)
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 j.a(HttpContext A_0)
at Karamasoft.WebControls.UltimateSearch.UltimateSearchInput..ctor()
at ASP.default_aspx.__BuildControlUltimateSearchInput_AboutUS() in c:\inetpub\wwwroot\default.aspx:line 131
at ASP.default_aspx.__BuildControlform1() in c:\inetpub\wwwroot\default.aspx:line 94
at ASP.default_aspx.__BuildControlTree(default_aspx __ctrl) in c:\inetpub\wwwroot\default.aspx:line 1
at ASP.default_aspx.FrameworkInitialize() in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\bbab60f2\66fd587a\App_Web_1zmu3iym.5.cs:line 0
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.default_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\bbab60f2\66fd587a\App_Web_1zmu3iym.5.cs:line 0
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
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="2016-08-02T20:06:15.000000000Z" />
<EventRecordID>1220613</EventRecordID>
<Channel>Application</Channel>
<Computer>XXXXXXXXXX</Computer>
<Security />
</System>
<EventData>
<Data>3005</Data>
<Data>An unhandled exception has occurred.</Data>
<Data>8/2/2016 4:06:15 PM</Data>
<Data>8/2/2016 8:06:15 PM</Data>
<Data>b85e2f0771a14cfe9421ae10b27b1da4</Data>
<Data>127375</Data>
<Data>855</Data>
<Data>0</Data>
<Data>/LM/W3SVC/1/ROOT-1-131145912988750000</Data>
<Data>Full</Data>
<Data>/</Data>
<Data>C:\inetpub\wwwroot\</Data>
<Data>XXXXXXXXXX</Data>
<Data>
</Data>
<Data>1348</Data>
<Data>w3wp.exe</Data>
<Data>XXXXXXXXXX\XXXXXX</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.Uri..ctor(String uriString)
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 j.a(HttpContext A_0)
at Karamasoft.WebControls.UltimateSearch.UltimateSearchInput..ctor()
at ASP.default_aspx.__BuildControlUltimateSearchInput_AboutUS() in c:\inetpub\wwwroot\default.aspx:line 131
at ASP.default_aspx.__BuildControlform1() in c:\inetpub\wwwroot\default.aspx:line 94
at ASP.default_aspx.__BuildControlTree(default_aspx __ctrl) in c:\inetpub\wwwroot\default.aspx:line 1
at ASP.default_aspx.FrameworkInitialize() in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\bbab60f2\66fd587a\App_Web_1zmu3iym.5.cs:line 0
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.default_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\bbab60f2\66fd587a\App_Web_1zmu3iym.5.cs:line 0
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)

</Data>
<Data>http:///default.aspx</Data>
<Data>/default.aspx</Data>
<Data>10.125.240.1</Data>
<Data>
</Data>
<Data>False</Data>
<Data>
</Data>
<Data>XXXXXXXXXX\XXXXXX</Data>
<Data>8</Data>
<Data>XXXXXXXXXX\XXXXXX</Data>
<Data>False</Data>
<Data> at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Uri..ctor(String uriString)
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 j.a(HttpContext A_0)
at Karamasoft.WebControls.UltimateSearch.UltimateSearchInput..ctor()
at ASP.default_aspx.__BuildControlUltimateSearchInput_AboutUS() in c:\inetpub\wwwroot\default.aspx:line 131
at ASP.default_aspx.__BuildControlform1() in c:\inetpub\wwwroot\default.aspx:line 94
at ASP.default_aspx.__BuildControlTree(default_aspx __ctrl) in c:\inetpub\wwwroot\default.aspx:line 1
at ASP.default_aspx.FrameworkInitialize() in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\bbab60f2\66fd587a\App_Web_1zmu3iym.5.cs:line 0
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.default_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\bbab60f2\66fd587a\App_Web_1zmu3iym.5.cs:line 0
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)
</Data>
</EventData>
</Event>