Results 1 to 4 of 4

Thread: problem creating service?

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Aug 2003
    Location
    Edinburgh, UK
    Posts
    2,773

    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??

  2. #2
    Hyperactive Member
    Join Date
    Aug 2002
    Location
    Fort Collins, CO
    Posts
    366

    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.

  3. #3
    Frenzied Member TomGibbons's Avatar
    Join Date
    Feb 2002
    Location
    San Diego, CA Previous Location: UK
    Posts
    1,345

    Re: problem creating service?

    The assembly itself may need rebuilding. If you did upload it, rebuild it and upload it again.

  4. #4

    Thread Starter
    PowerPoster
    Join Date
    Aug 2003
    Location
    Edinburgh, UK
    Posts
    2,773

    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
  •  



Click Here to Expand Forum to Full Width