Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sample WebService
Message
From
20/08/2007 17:15:23
Evans Carl
System Answers Consulting, Inc
Big Lake, Minnesota, United States
 
 
To
27/07/2007 05:16:55
General information
Forum:
ASP.NET
Category:
Web Services
Miscellaneous
Thread ID:
01244040
Message ID:
01249216
Views:
30
>Hi guys,
>
>I trying to create a simple webservice using Visual Studio 2005.
>
>When I try to run the service in debug mode, I get an error message.
>
>
>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 'StringProc.Service1'.
>
>Source Error:
>
>
>Line 1: < %@ WebService Language="C#" CodeBehind="Strings.asmx.cs" Class="StringProc.Service1" % >
>
>
>
>Source File: /Strings.asmx Line: 1
>
>
>--------------------------------------------------------------------------------
>Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
>
>
>Any Idea?
>Thanks in advance...

Check your namespace inside of the codeBehind class and it should be "StringProc.Service1", if not, make it so and your error will disappear.

Evans
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°¤º°`°º¤ø¤º°¤º°
Carl Evans
CEO & President
System Answers Consulting, Inc.
MCSD .NET, ASP.NET, C#.NET, VB.NET,
Previous
Reply
Map
View

Click here to load this message in the networking platform