Consuming ASP.NET Web Service
From: Thom Little (thom_at_tlanet.net)
Date: 03/27/05
- Previous message: Steven Burn: "Re: Block sites linking to my site"
- Next in thread: WenJun Zhang[msft]: "RE: Consuming ASP.NET Web Service"
- Reply: WenJun Zhang[msft]: "RE: Consuming ASP.NET Web Service"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 27 Mar 2005 05:33:42 -0500
I am trying to access the HelloWorld method compiled in one project using a
consuming C# code-behind method compiled in a separate project.
Both run on localhost. The test drivers provided in Visual Studio .NET 2003
can invoke the method.
When I attempt to add a web reference in the consuming project for the
webservice I get the error message ...
Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.
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="Windows" />
Line 46:
Line 47: <!-- AUTHORIZATION
Can you give me some guidance on how to correct this condition to permit me
to establish the reference to the webservice?
After I see this simple (first) case, I will be able to attack the "real"
project.
If there is a better newsgroup for my question, please let me know.
(Yes I do have administrator on privileges on this machine and access to IIS
configuration.)
-- -- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd. --
- Previous message: Steven Burn: "Re: Block sites linking to my site"
- Next in thread: WenJun Zhang[msft]: "RE: Consuming ASP.NET Web Service"
- Reply: WenJun Zhang[msft]: "RE: Consuming ASP.NET Web Service"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|