Previous Next

Thread: IIS6->IIS7 WCF service hosting - Failed to Execute URL.

Last post 08-13-2008 3:45 AM by mdi. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 08-12-2008, 8:48 AM

    • mdi
    • Not Ranked
    • Joined on 08-12-2008, 6:26 AM
    • Posts 3

    IIS6->IIS7 WCF service hosting - Failed to Execute URL.

     I've buy economy windows plan on GoDaddy, choose IIS7 with classic pipeline mode and host there a simple WCF service and a .aspx page. Page works fine, but when I call test.svc the error below occurs. 

    it is simple restful wcf service with code in test.svc : <%@ ServiceHost Language="C#" Service="testwcf.Service1" Factory="System.ServiceModel.Activation.WebScriptServiceHostFactory"%>
     and testwcf.dll in Bin directory near the .svc.

    Failed to Execute URL.

    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.Web.HttpException: Failed to Execute URL.

    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:

    [HttpException (0x80004005): Failed to Execute URL.]
    System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.BeginExecuteUrl(String url, String method, String childHeaders, Boolean sendHeaders, Boolean addUserIndo, IntPtr token, String name, String authType, Byte[] entity, AsyncCallback cb, Object state) +2488700
    System.Web.HttpResponse.BeginExecuteUrlForEntireResponse(String pathOverride, NameValueCollection requestHeaders, AsyncCallback cb, Object state) +415
    System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state) +252
    System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +3390860
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +161

    Tags:
  • 08-12-2008, 8:53 PM In reply to

    Re: IIS6->IIS7 WCF service hosting - Failed to Execute URL.

    Here are a few things

    1) is there  a .SVC handler mappings

    2) Is the server have .NET 3.0/3.5 installed on the server?

    3) 80004005 could be a permissions issue, Do you see anything in the security event log?

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield

    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 08-13-2008, 3:43 AM In reply to

    • mdi
    • Not Ranked
    • Joined on 08-12-2008, 6:26 AM
    • Posts 3

    Re: IIS6->IIS7 WCF service hosting - Failed to Execute URL.

     

    steve schofield:

    Here are a few things

    1) is there  a .SVC handler mappings

    2) Is the server have .NET 3.0/3.5 installed on the server?

    3) 80004005 could be a permissions issue, Do you see anything in the security event log?

    Actually I haven't access to IIS by IIS manager and can't check mappings
    for .svc, but I've included lines 

    <buildProviders>
        <add extension=".svc" type="System.ServiceModel.Activation.ServiceBuildProvider,
             System.ServiceModel, Version=3.0.0.0, Culture=neutral,
             PublicKeyToken=b77a5c561934e089"/>
    </buildProviders>

     to the <system.web> <compilation> section. .Net 3.0/3.5 are installed, and unfortunatelly I don't have access to the event log :(.

    Any ideas?

  • 08-13-2008, 3:45 AM In reply to

    • mdi
    • Not Ranked
    • Joined on 08-12-2008, 6:26 AM
    • Posts 3

    Re: IIS6->IIS7 WCF service hosting - Failed to Execute URL.

     just now I've tried to call file with .svc extension which doesn't exist at the hosting and saw same error, so I think something going on with .svc mapping?

Page 1 of 1 (4 items)
Page view counter