Avatar of bobcann
Flag for United States of America 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/Service.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
Microsoft Development

Avatar of undefined
Last Comment

8/22/2022 - Mon

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Thank you
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes