Copied to clipboard

Flag this post as spam?

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


  • Aileen 59 posts 79 karma points
    Nov 15, 2012 @ 12:06
    Aileen
    0

    Intermittent Exception When Extracting a Revision Using Courier

    Hi

    I have a Courier exe which I have created based on the sampler Courier Console Application. It basically extracts a revision which contains all files required for the feature I wish to release.

    Every now and then an exception occurs (see below). Does anyone know why this happens and whether there is something I can do to prevent it. This only happens on our Live server.

    I am using Umbraco 4.7.2 with Courier 2.5.4.1.

    Thanks, Aileen

     

    2012-11-15 10:20:48,980 FATAL - System.InvalidOperationException: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
    The request failed with the error message:
    --
    <html>
        <head>
            <title>Missing the DefaultProvider RegEx in the list of providers for UrlRewritingNet</title>
            <style>
             body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
             p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
             b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
             H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
             H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
             pre {font-family:"Lucida Console";font-size: .9em}
             .marker {font-weight: bold; color: black;text-decoration: none;}
             .version {color: gray;}
             .error {margin-bottom: 10px;}
             .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
            </style>
        </head>

        <body bgcolor="white">

                <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>

                <h2> <i>Missing the DefaultProvider RegEx in the list of providers for UrlRewritingNet</i> </h2></span>

                <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

                <b> Description: </b>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.

                <br><br>

                <b> Exception Details: </b>System.ApplicationException: Missing the DefaultProvider RegEx in the list of providers for UrlRewritingNet<br><br>

                <b>Source Error:</b> <br><br>

                <table width=100% bgcolor="#ffffcc">
                   <tr>
                      <td>
                          <code>

    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.</code>

                      </td>
                   </tr>
                </table>

                <br>

                <b>Stack Trace:</b> <br><br>

                <table width=100% bgcolor="#ffffcc">
                   <tr>
                      <td>
                          <code><pre>

    [ApplicationException: Missing the DefaultProvider RegEx in the list of providers for UrlRewritingNet]
       UrlRewritingNet.Web.UrlRewriting.Initialize() +564
       UrlRewritingNet.Web.UrlRewriting.CreateRewriteRule(String providerName) +20
       UrlRewritingNet.Web.UrlRewriteModule.Init(HttpApplication context) +382
       System.Web.HttpApplication.InitModulesCommon() +122
       System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +1655
       System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +374
       System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +178
       System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +329
    </pre></code>

                      </td>
                   </tr>
                </table>

                <br>

                <hr width=100% size=1 color=silver>

                <b>Version Information:</b> Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

                </font>

        </body>
    </html>
    <!--
    [ApplicationException]: Missing the DefaultProvider RegEx in the list of providers for UrlRewritingNet
       at UrlRewritingNet.Web.UrlRewriting.Initialize()
       at UrlRewritingNet.Web.UrlRewriting.CreateRewriteRule(String providerName)
       at UrlRewritingNet.Web.UrlRewriteModule.Init(HttpApplication context)
       at System.Web.HttpApplication.InitModulesCommon()
       at System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers)
       at System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context)
       at System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context)
       at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
    -->
    --.
       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at Umbraco.Courier.RepositoryProviders.WebServiceProvider.RepositoryWebservice.GetResourceHash(String sessionKey, Resource resource, String user, String pass)
       at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.Hash(Resource resource)
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.?(Item item, Boolean isDependency, ResourceExtractionOrder order)
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.?()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.Extract()
       at Collinson.Utility.Courier.Program.Deploy(XmlDocument connectionSettings)

  • 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