Juan,
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:
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 'BackupContent_WebService.BackupContent_Service'.
Source Error:
Line 1: <%@ WebService Language="c#"
Codebehind="ContentBackup.asmx.cs"
Class="BackupContent_WebService.BackupContent_Service" %>
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
expected.
Thanks
Ben
>-----Original Message-----
>That is a problem with any configuration section you
[quoted text clipped - 37 lines]
>>
>.
Dino Chiesa [Microsoft] - 16 Oct 2003 19:04 GMT
Seems to me the ASPX parser is trying to resolve the type
BAckupContent_WebService.BackupContent_Service
This sort of thing is normally provided in a DLL, which is in the bin dir of
the app.

Signature
Dino Chiesa
Microsoft Developer Division
d i n o c h @ o n l i n e . m i c r o s o f t . c o m
Juan,
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:
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 'BackupContent_WebService.BackupContent_Service'.
Source Error:
Line 1: <%@ WebService Language="c#"
Codebehind="ContentBackup.asmx.cs"
Class="BackupContent_WebService.BackupContent_Service" %>
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
expected.
Thanks
Ben
>-----Original Message-----
>That is a problem with any configuration section you
>placed inside the Web.config, that can be only defined
in
>machine.config or in an application directory inside IIS.
>Look at the source error for more information. For
[quoted text clipped - 12 lines]
>>
>>Description: An error occurred during the processing of
a
>>configuration file required to service this request.
>Please review the
[quoted text clipped - 18 lines]
>>
>.
Chris Botha - 17 Oct 2003 02:52 GMT
By default the DLL file must be in a folder called "bin" in the root of the
IIS Application. Backtrack from the virtual directory to the folder which is
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.
Juan,
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:
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 'BackupContent_WebService.BackupContent_Service'.
Source Error:
Line 1: <%@ WebService Language="c#"
Codebehind="ContentBackup.asmx.cs"
Class="BackupContent_WebService.BackupContent_Service" %>
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
expected.
Thanks
Ben
>-----Original Message-----
>That is a problem with any configuration section you
>placed inside the Web.config, that can be only defined
in
>machine.config or in an application directory inside IIS.
>Look at the source error for more information. For
[quoted text clipped - 12 lines]
>>
>>Description: An error occurred during the processing of
a
>>configuration file required to service this request.
>Please review the
[quoted text clipped - 18 lines]
>>
>.
Ben Fidge - 18 Oct 2003 10:42 GMT
Chris,
Thanks for your help. I have got my web service running using what you
suggested. However, as my client (UK National Health Service) is running
their sites from a co-hosted server, I wanted to run my web service from
within it's own virtual folder just to keep it seperate from the main
application(s) (the web service is not acutally part of the application).
Thanks a lot,
Ben
> By default the DLL file must be in a folder called "bin" in the root of the
> IIS Application. Backtrack from the virtual directory to the folder which is
[quoted text clipped - 78 lines]
> >>
> >.