bobcann
asked on
ASMX Web service created with VS 2008 has Parse Error when published with IIS 6
I have an ASMX webservice I created using Visual Studio 2008.
When compiled and published to a box with server 2008 (64 Bit OS) that has IIS 7 it works.
However when published to a Server 2003 (32 Bit OS) with .NET Framework 3.5 sp1 installed that has IIS 6.
The following error comes up when trying to open the published web service’s Service.asmx file in a web browse. Does anyone know a fix for this? Thank you for any help you give.:
Server Error in '/' 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="vb" CodeBehind="~/App_Code/Ser vice.vb" Class="Service" %>
Source File: /Geocode_Test/Service.asmx Line: 1
__________________________ __________ ____
Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053
compiled VS 2008 ASMX Webservice
When compiled and published to a box with server 2008 (64 Bit OS) that has IIS 7 it works.
However when published to a Server 2003 (32 Bit OS) with .NET Framework 3.5 sp1 installed that has IIS 6.
The following error comes up when trying to open the published web service’s Service.asmx file in a web browse. Does anyone know a fix for this? Thank you for any help you give.:
Server Error in '/' 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="vb" CodeBehind="~/App_Code/Ser
Source File: /Geocode_Test/Service.asmx
__________________________
Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053
compiled VS 2008 ASMX Webservice
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER