T
timsohn
I am trying to deploy the most basic web service (Hello World) example
to my website, but am having significant trouble doing so. Here is what
I am doing:
1) Create a New Web Service in VS 2005
2) Build the website
3) Verify that it works by clicking "View in Browser"
4) Click Copy Website to copy to my webserver
5) Navigate to the website where I just deployed the service
Here's the error I get:
----------------------
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: \\slfiles01\seattle\people\tsohn\test\Service.asmx
Line: 1
Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
ASP.NET Version:1.1.4322.2032
----------------------
Any suggestions on what to do? I tried the idea of copying over the
..dll files from the Temporary ASP.Net folder to a bin\ directory on the
webserver, but no luck.
Does the server need ASP 2.0? What if there is no way to upgrade it to
2.0?
to my website, but am having significant trouble doing so. Here is what
I am doing:
1) Create a New Web Service in VS 2005
2) Build the website
3) Verify that it works by clicking "View in Browser"
4) Click Copy Website to copy to my webserver
5) Navigate to the website where I just deployed the service
Here's the error I get:
----------------------
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: \\slfiles01\seattle\people\tsohn\test\Service.asmx
Line: 1
Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
ASP.NET Version:1.1.4322.2032
----------------------
Any suggestions on what to do? I tried the idea of copying over the
..dll files from the Temporary ASP.Net folder to a bin\ directory on the
webserver, but no luck.
Does the server need ASP 2.0? What if there is no way to upgrade it to
2.0?