Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Yarik Goldvarg 35 posts 84 karma points
    Jul 14, 2013 @ 09:35
    Yarik Goldvarg
    0

    Invalid URI: The hostname could not be parsed.

    Hello.

    I get this error on umbraco 6.1.2

    Server Error in '/' Application.

    Invalid URI: The hostname could not be parsed.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.UriFormatException: Invalid URI: The hostname could not be parsed.

    Source Error: 

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace: 

    [UriFormatException: Invalid URI: The hostname could not be parsed.]
       System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind) +8890818
       InfoCaster.Umbraco.UrlTracker.Models.UrlTrackerModel.get_CalculatedOldUrlWithDomain() in c:\Users\kipusoep\Documents\GitHub\UrlTracker\UrlTracker\Models\UrlTrackerModel.cs:72
       InfoCaster.Umbraco.UrlTracker.Models.UrlTrackerModel.get_CalculatedOldUrl() in c:\Users\kipusoep\Documents\GitHub\UrlTracker\UrlTracker\Models\UrlTrackerModel.cs:51
    
    [TargetInvocationException: Property accessor 'CalculatedOldUrl' on object 'InfoCaster.Umbraco.UrlTracker.Models.UrlTrackerModel' threw the following exception:'Invalid URI: The hostname could not be parsed.']
       System.ComponentModel.ReflectPropertyDescriptor.GetValue(Object component) +8829651
       System.Web.UI.WebControls.BoundField.TryGetSimplePropertyValue(Object dataItem, Object& data) +122
       System.Web.UI.WebControls.BoundField.GetValue(Control controlContainer) +146
       System.Web.UI.WebControls.BoundField.OnDataBindField(Object sender, EventArgs e) +71
       System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +304
       System.Web.UI.Control.DataBindChildren() +12659735
       System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +321
       System.Web.UI.WebControls.GridView.CreateRow(Int32 rowIndex, Int32 dataSourceIndex, DataControlRowType rowType, DataControlRowState rowState, Boolean dataBind, Object dataItem, DataControlField[] fields, TableRowCollection rows, PagedDataSource pagedDataSource) +295
       System.Web.UI.WebControls.GridView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) +4780
       System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +95
       System.Web.UI.WebControls.GridView.PerformDataBinding(IEnumerable data) +19
       System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +222
       System.Web.UI.WebControls.DataBoundControl.PerformSelect() +313
       System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +146
       System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +192
       System.Web.UI.Control.EnsureChildControls() +189
       System.Web.UI.WebControls.GridView.get_Rows() +54
       InfoCaster.Umbraco.UrlTracker.UI.UrlTrackerManager.OnPreRender(EventArgs e) in c:\Users\kipusoep\Documents\GitHub\UrlTracker\UrlTracker\UI\UrlTrackerManager.aspx.cs:89
       System.Web.UI.Control.PreRenderRecursiveInternal() +113
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4297
    



    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Jul 14, 2013 @ 16:44
    Stefan Kip
    0

    It would be nice if you'd give some more information about the error, like what where you doing when it occurred and what's the URL you're working on?

  • Yarik Goldvarg 35 posts 84 karma points
    Jul 15, 2013 @ 17:20
    Yarik Goldvarg
    0

    Sorry for a delay.

     

    When i click on Url Tracker Dashboard i get this error.

     

     

     

    So i have open table dbo.icUrlTracker in the  database  and see many strangely records (about 700 record)

    For example: 

     

     

    So i have decide to delete all records and the  problem was resolved,

    but after few minutes the table was full with the same trash.

    Any idea?

     

    Yarik

  • Yarik Goldvarg 35 posts 84 karma points
    Jul 16, 2013 @ 06:36
    Yarik Goldvarg
    101

    After adding hostnames to each language the problem was resolved.

    Don't forget to recycle application pool.

    Thanks.

    Yarik

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Jul 16, 2013 @ 13:31
    Stefan Kip
    0

    Btw; those records are 404 entries. In umbraco v6.1.2 a file is missing while it's still being used: http://issues.umbraco.org/issue/U4-2444

  • Greg Mattison 40 posts 60 karma points
    Aug 16, 2013 @ 17:09
    Greg Mattison
    0

    Hi, we're having a different issue related to subdomain hostnames.  We have a site running in the main content node at www.seal-krete.com which works fine.  We have another folder/node in the main content tree with a hostname setup as http://hp.seal-krete.com but it's giving the following error below.  The subdomain is setup in IIS and we can't figure out why it's not resolving.  If we preview pages in the subdomain node, we can see them but they resolve at the www domain with the numeric page id like /1852.aspx

    This is delaying launching the subdomain site so we need to resolve this ASAP.  Thank you for your help!

    Server Error

    404 - File or directory not found.

    The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Aug 16, 2013 @ 17:19
    Stefan Kip
    0

    @Greg does this have anything to do with the UrlTracker??

  • Greg Mattison 40 posts 60 karma points
    Aug 16, 2013 @ 17:31
    Greg Mattison
    0

    No, it doesn't have to do with URL Tracker.

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Aug 16, 2013 @ 17:32
    Stefan Kip
    0

    Then you shouldn't post this question in the UrlTracker forum I'm afraid...

  • Murray Roke 467 posts 875 karma points c-trib
    Sep 04, 2013 @ 23:14
    Murray Roke
    0

    IF you're stumbling across this thread, you may be looking for this solution check your umbracoDomains table for erroneous entries in the 'domainNme' column see more here: http://issues.umbraco.org/issue/U4-1269#

  • Pedro Adão 43 posts 80 karma points
    Dec 03, 2013 @ 17:32
    Pedro Adão
    0

    I'm having the same problem here.

    Invalid URI: The hostname could not be parsed.
    Property accessor 'CalculatedOldUrl' on object 'InfoCaster.Umbraco.UrlTracker.Models.UrlTrackerModel' threw the following exception:'Invalid URI: The hostname could not be parsed.'] 

    This is my umbracoDomains table

    id domainDefaultLanguage domainRootStructureID domainName
    24 5239 *5239
    25 6640 *6640
    30 1056 *1056

  • Pedro Adão 43 posts 80 karma points
    Dec 03, 2013 @ 17:36
    Pedro Adão
    0

    Solved it

    My umbracoDomains table is like this now

    id domainDefaultLanguage domainRootStructureID domainName

    24 1 5239 website2013.stage.fullsix.pt/en

    25 3 6640 website2013.stage.fullsix.pt/fr

    30 2 1056 website2013.stage.fullsix.pt/pt

    34 4 8581 website2013.stage.fullsix.pt/de 

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies