Copied to clipboard

Flag this post as spam?

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


  • Michael Sims 119 posts 387 karma points
    Jul 23, 2013 @ 10:58
    Michael Sims
    0

    404 Error

    I've installed the tracker and added some entries but I get the standard 404 when I browse to one of those URLs. Is there any obvious things I should check first?

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Jul 23, 2013 @ 11:06
    Stefan Kip
    0

    I've build in some logging for these kind of situations. Please enable logging by adding an appSetting with key="urlTracker:enableLogging" and value="true" and also set umbracoDebugMode to true.

    Request the old url with the query string and read the logs to get an idea why the UrlTracker didn't redirect the request.

  • Michael Sims 119 posts 387 karma points
    Jul 23, 2013 @ 11:13
    Michael Sims
    0

    I've tried this and nothing being logged or reported

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

    Did you see the install screen when installing the package? Did it report that the Http Module was running etc.?

  • Michael Sims 119 posts 387 karma points
    Jul 23, 2013 @ 15:22
    Michael Sims
    0

    Fixed it by reinstalling. Can I ask how you hook up a "friendly" CMS 404 page without affecting this package function?

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Jul 23, 2013 @ 15:39
    Stefan Kip
    100

    The Url Tracker only acts when it finds a redirect entry for the URL. If it doesn't, it won't do anyting. So you can use every possibility there is to display a 404 page.

    Could you mark this topic as solved? :-)

  • Dan Evans 616 posts 988 karma points
    Jul 27, 2013 @ 17:45
    Dan Evans
    0

    I've upgraded from 1.5 to the latest version but this line is still in 404handlers.config. Should it be removed:

    <notFound assembly="InfoCaster.Umbraco._301UrlTracker" type="Handler301URLTracker" />

    As assuming its causing:

    Error registering handler, ignoring. System.IO.FileNotFoundException: Could not load file or assembly 'file:///D:\sites\httpdocs\bin\InfoCaster.Umbraco._301UrlTracker.dll' or one of its dependencies. The system cannot find the file specified. File name: 'file:///D:\sites\httpdocs\bin\InfoCaster.Umbraco._301UrlTracker.dll' at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark) at System.Reflection.Assembly.LoadFrom(String assemblyFile) at Umbraco.Web.Routing.NotFoundHandlerHelper.InitializeNotFoundHandlers()

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Jul 27, 2013 @ 18:05
    Stefan Kip
    1

    Yes it should be removed :-)

  • Dan Evans 616 posts 988 karma points
    Jul 28, 2013 @ 10:26
    Dan Evans
    0

    Thanks. Maybe add this to upgrade instructions?

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Jul 28, 2013 @ 15:07
    Stefan Kip
    0

    Normally the entry should get removed by uninstalling the old version.

  • 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