Deployment

Discussion in 'ASP.NET WebServices' started by jwk, May 6, 2008.

  1. jwk

    jwk

    I'm new to webservices and internet programming in general so I'll have to do more research on deployment. That said I put my asmx file in a folder with application enabled.
    When I try to bring up the web service I get the following error. Off the bat anybody know what I'm doing wrong? The webservice runs fine from the IDE.

    Server Error in '/cgi-bin' Application.
    Parser Error
    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: Could not create type 'Service'.

    Source Error:

    Line 1: <%@ WebService Language='C#' CodeBehind='~/App_Code/Service.cs' Class='Service' %>


    Source File: /cgi-bin/service.asmx Line: 1

    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
     
  2. jwk

    jwk

    I figured out my own problem. I didn't have the cs file available.
     

Share This Page