I found out what is happening. If you make Namepace statement somewhere in
code, you have to change Class attribute. ie.
Line 1: <%@ WebService Language="vb" Codebehind="wsUsrPolaznici.asmx.vb"
Class="wsUsrPolaznici.wsUsrPolaznici" %>
Line 1: <%@ WebService Language="vb" Codebehind="wsUsrPolaznici.asmx.vb"
Class="Cet.DataLayer.wsUsrPolaznici" %>
Ivan
-----Original Message-----
From: Ivan Pavlovic [mailto:ipavlovi@y...]
Sent: Saturday, October 20, 2001 3:07 PM
To: ASPX_Professional
Subject: [aspx_professional] Visual Studio - web forms & code behind
This is message that appear any time I try to start my webservice
I tried to rebuild my solution hundred times, but it just do not work.
Server Error in '/wsUsrPolaznici' 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 'wsUsrPolaznici.wsUsrPolaznici'.
Source Error:
Line 1: <%@ WebService Language="vb" Codebehind="wsUsrPolaznici.asmx.vb"
Class="wsUsrPolaznici.wsUsrPolaznici" %>
Source File: f:\inetpub\wwwroot\wsUsrPolaznici\wsUsrPolaznici.asmx Line:
1
----------------------------------------------------------------------------
----
Version Information: Runtime Build:1.0.2914.16; ASP.NET Build:1.0.2914.16