Can't create webservice

P

Parrot

When 1 try to add a new webservice to my project from a new webservice that I
had just created I get an error message saying the following:

"Parser Error Message: Could not create type 'alumni.WebService3'.

Source Error: Line 1: <%@ WebService Language="C#"
Codebehind="WebService3.asmx.cs" Class="alumni.WebService3" %>

I was able to add a previous web service and it was not any different from
this one. Where do I go from here? I have no idea what this message means
or what to do about it as it does not seem any different from a previous
webservice.
 
H

Harish Shikhare

Make sure this web service compiled.

Try to hit the web service (.asmx page) from the browser , if you are able
to see any content means you are okay.
 
P

Parrot

Harish;
Thanks for your reply. After shutting down Visual Studio and then reloading
my project again I was finally able to add the webservice to my project. I
have no idea what I did differently to make it work. So for now it is
working but I won't feel comfortable with the whole process yet until I can
understand why I wasn't able to originally add a webservice.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,233
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top