> the root of the app (which may be wwwroot I guess), create a "bin" folder
> there, copy the DLL to that folder and it should work.
> "Ben Fidge" <ben.fidgebtopenworld_nospam.com> wrote in message
> Thanks for your help. Altough this resolved that
> particular problem, I still can't run my Web Service from
> a plain virtual directory.
> After removing the <authentication> and <sessionState>
> elements from web.config I'm noe presented with the
> follwoing error:
> Pr Error
> Description: An error occurred during the parsing of a
> resource required to service this request. Please review
> the following specific p error details and modify
> your source file appropriately.
> Pr Error Message: Could not create
> type 'BackupContent_WebService.BackupContent_Service'.
> Source Error:
> Line 1: <% WebService Language="c#"
> Class="BackupContent_WebService.BackupContent_Serv ice" %>
> Can you shed any light on this? When I temporarily make
> the virtual directory into an IIS Application, everything
> runs as normal and the Web Service can be instantiated as
> >-----Original Message-----
> >That is a problem with any configuration section you
> >placed inside the Web.config, that can be only defined
> >machine.config or in an application directory inside IIS.
> >Look at the source error for more information. For
> >example, the section "autentication" cannot be placed
> >inside a Web.config file that isnīt placed in a IIS
> >application directory.
> >>-----Original Message-----
> >>How do you run an XML Web Service from within an IIS
> >Virtual Directory
> >>without creating an application.
> >>According to Microsoft you can do this, but I get the
> >following error
> >>when I try to access my Web Service:
> >>Description: An error occurred during the processing of
> >>configuration file required to service this request.
> >Please review the
> >>specific error details below and modify your
> >configuration file
> >>Pr 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.
> >>Any ideas?
> >>Ben Fidge