Webservice 'can not create type' parse error

G

Guest

I installed the default hello world web service on my site and get the error below. My site is being hosted by a 3rd party and i copied the asmx file to a folder in my root, the /bin is in the same folder as my asmx file. My host is saying all looks good on thier end. Am I uploading/naming something wrong or could my browser be causing this. This is hopefully a pretty basic problem. Thanks for any help/advice.


Parser Error Message: Could not create type 'HelloWorldService.Service1'.
Source Error:
Line 1: <%@ WebService Language="vb" Codebehind="Service1.asmx.vb" Class="HelloWorldService.Service1" %>
Source File: ...\chironsoftware\web\helloworldservice\service1.asmx Line: 1
 
L

Lubos Hrasko

Troy,

Couple things to check:

1. Did you place the compiled assembly DLL in the bin folder?
2. I know my host only allow use of a specified 'bin' folder, could this
also be the case in your situation?

Cheers,
Lubos


Troy said:
I installed the default hello world web service on my site and get the
error below. My site is being hosted by a 3rd party and i copied the asmx
file to a folder in my root, the /bin is in the same folder as my asmx file.
My host is saying all looks good on thier end. Am I uploading/naming
something wrong or could my browser be causing this. This is hopefully a
pretty basic problem. Thanks for any help/advice.
Parser Error Message: Could not create type 'HelloWorldService.Service1'.
Source Error:
Line 1: <%@ WebService Language="vb" Codebehind="Service1.asmx.vb"
Class="HelloWorldService.Service1" %>
Source File: ...\chironsoftware\web\helloworldservice\service1.asmx Line: 1
-------------------------------------------------------------------------- ------
Version Information: Microsoft .NET Framework Version:1.1.4322.573;
ASP.NET Version:1.1.4322.573
 
C

Cor

Hi Troy,

A better place for this question is the newsgroup

(I think the best place, it is typical a question for that newsgroup in my
opinion)

microsoft.public.dotnet.framework.aspnet

I hope you find your answer there,

Cor

I installed the default hello world web service on my site and get the
error below. My site is being hosted by a 3rd party and i copied the asmx
file to a folder in my root, the /bin is in the same folder as my asmx file.
My host is saying all looks good on thier end. Am I uploading/naming
something wrong or could my browser be causing this. This is hopefully a
pretty basic problem. Thanks for any help/advice.
Parser Error Message: Could not create type 'HelloWorldService.Service1'.
Source Error:
Line 1: <%@ WebService Language="vb" Codebehind="Service1.asmx.vb"
Class="HelloWorldService.Service1" %>
Source File: ...\chironsoftware\web\helloworldservice\service1.asmx Line: 1
-------------------------------------------------------------------------- ------
Version Information: Microsoft .NET Framework Version:1.1.4322.573;
ASP.NET Version:1.1.4322.573
 

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

Top