Copied to clipboard

Flag this post as spam?

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


  • Craig100 1136 posts 2523 karma points c-trib
    Feb 18, 2015 @ 16:24
    Craig100
    0

    Error uploading Zip file

    Trying to upload a zip file to a directory in the media section I get an error reported via the diplo trace log file viewer that seems to tell me SEOChecker doesn't like it:-

    SEOChecker: Error in PageNotFound Module System.UriFormatException: 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.UriBuilder.get_Uri() at SEOChecker.Core.Extensions.UrlBuilderExtensions.ToUri(UrlBuilder builder) at SEOChecker.Core.Extensions.HttpContextExtensions.RawUri(HttpContext context) at SEOChecker.HttpModules.UrlModule.(Object , EventArgs ) 

    Just in case, I added the following to the <staticContent> section in web.config:-

    <remove fileExtension=".zip" />
    <mimeMap fileExtension=".zip" mimeType="application/x-zip-compressed" />

    However, the error still exists.

    Any advice appreciated.

    Craig

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Feb 18, 2015 @ 19:18
    Richard Soeteman
    0

    Hi Craig,

    Strange that this error occurs. Something is throwing a 404 during upload and that is causing the 404 module to kick in.

    Maybe fiddler will show the broken url?

    Best,

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft