B
bob
Hi,
I am trying to develop a webservice and an aspx client on a Win2003
server box. The IDE is VS2008.
The thing just seems totally flaky.
Webservice compiles and publishes with no errors.
Access the Service with http://localhost:2092/EasyVend0r.asmx (Note
using the port assigned by the IDE)
and no problem.
But start a browser and go to access the ASMX with the published URL
of http:localhost//EasyVend0r.asmx and you get
Parser Error Message: Could not create type 'EasyVend0r.EasyVend0r'.
Source Error:
Line 1: <%@ WebService Language="C#" CodeBehind="EasyVend0r.asmx.cs"
Class="EasyVend0r.EasyVend0r" %>
Getting similar errors when trying to access the aspx client page.
Basically as long as you stay in the IDE or use the port that the IDE
has assigned you can view the asmx and aspx
Go outside and the wheels fall off.
I am not a web developer so I am probably missing some fundamental
step.
But it is annoying that everything seems to deploy OK according to the
IDE but the browser is unhappy with the 'published' i.e. Unspecified
port result.
I don't remember grief like this with VS2005
Any clues as to what I am doing wrong?
Thanks
Bob
I am trying to develop a webservice and an aspx client on a Win2003
server box. The IDE is VS2008.
The thing just seems totally flaky.
Webservice compiles and publishes with no errors.
Access the Service with http://localhost:2092/EasyVend0r.asmx (Note
using the port assigned by the IDE)
and no problem.
But start a browser and go to access the ASMX with the published URL
of http:localhost//EasyVend0r.asmx and you get
Parser Error Message: Could not create type 'EasyVend0r.EasyVend0r'.
Source Error:
Line 1: <%@ WebService Language="C#" CodeBehind="EasyVend0r.asmx.cs"
Class="EasyVend0r.EasyVend0r" %>
Getting similar errors when trying to access the aspx client page.
Basically as long as you stay in the IDE or use the port that the IDE
has assigned you can view the asmx and aspx
Go outside and the wheels fall off.
I am not a web developer so I am probably missing some fundamental
step.
But it is annoying that everything seems to deploy OK according to the
IDE but the browser is unhappy with the 'published' i.e. Unspecified
port result.
I don't remember grief like this with VS2005
Any clues as to what I am doing wrong?
Thanks
Bob