|
-
Aug 12th, 2005, 09:42 PM
#1
Thread Starter
PowerPoster
problem creating service?
Hi there.
I have a web host package (pain to set up... er... i could do a better job!)
I have uploaded a webservice I have created (and yes the hosting supports it)
however I am having a wierd problem which I do not understand. It works fine on my local machine of course. But on the server, it doesnt. this is what I get:
--------------------------------------------------------------------------------
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 'WMPRUpdate.Service1'.
Source Error:
Line 1: <%@ WebService Language="c#" Codebehind="WMPRUpdate.asmx.cs" Class="WMPRUpdate.Service1" %>
Source File: C:\Inetpub\vhosts\spapps.co.uk\httpdocs\apps\WMPRemote\UpdateService\WMPRUpdate.asmx Line: 1
any ideas??
-
Aug 13th, 2005, 12:44 PM
#2
Hyperactive Member
Re: problem creating service?
since you uploaded the asmx file did you also upload the assembly(the dll) that defines the webservice as well? if not put your dll in the bin directory.
-
Aug 13th, 2005, 08:03 PM
#3
Frenzied Member
Re: problem creating service?
The assembly itself may need rebuilding. If you did upload it, rebuild it and upload it again.
-
Aug 13th, 2005, 08:05 PM
#4
Thread Starter
PowerPoster
Re: problem creating service?
yeh i did all that
but i have now closed the account with the company and started a new account on another company... which is much better! But I get this error but cannot seem to resolve it
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Source Error:
Line 43: by Microsoft that offers a single logon and core profile services for member sites.
Line 44: -->
Line 45: <authentication mode="None" />
Line 46:
Line 47: <!-- AUTHORIZATION
Source File: c:\domains\spapps.co.uk\wwwroot\apps\services\WMPRUpdate\web.config Line: 45
??
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|