Web Service - CSharp
This is a discussion on Web Service - CSharp ; I am learning about Web Services, so I am following the instructions in HOW
TO: Write a Simple Web Service by Using Visual C# .NET on the MSDN site:
http://support.microsoft.com/kb/308359/
I have entered the code but when I build it, ...
-
Web Service
I am learning about Web Services, so I am following the instructions in HOW
TO: Write a Simple Web Service by Using Visual C# .NET on the MSDN site:
http://support.microsoft.com/kb/308359/
I have entered the code but when I build it, I get an error about a file
that Visual Studio added called 'global.asax. This is the error:
c:\Inetpub\wwwroot\MathsService\MathsService\Global.asax: ASP.NET runtime
error: There is no build provider registered for the extension '.asax'. You
can register one in the <compilation><buildProviders> section in
machine.config or web.config. Make sure is has a
BuildProviderAppliesToAttribute attribute which includes the value 'Web' or
'All'.
The Help on buildProviders isn't clear and everything I have tried fails to
sort out the problem.
What do I do to get rid of the error message?
Why does Visual Studio include the file but not the instructions to run it?
Thanks for your help,
Helen
-
Re: Web Service
On Sep 11, 11:32 am, Helen Trim <HelenT...@discussions.microsoft.com>
wrote:
> I am learning about Web Services, so I am following the instructions in HOW
> TO: Write a Simple Web Service by Using Visual C# .NET on the MSDN
> site:http://support.microsoft.com/kb/308359/
Which version of Visual Studio are you using - 2003 or 2005?
Jon
-
Re: Web Service
Thanks. I have found out what the problem was. I need to be running .NET
2.0 on the Default Web Site.
It seems to work now.
Helen
"Jon Skeet [C# MVP]" wrote:
> On Sep 11, 11:32 am, Helen Trim <HelenT...@discussions.microsoft.com>
> wrote:
> > I am learning about Web Services, so I am following the instructions in HOW
> > TO: Write a Simple Web Service by Using Visual C# .NET on the MSDN
> > site:http://support.microsoft.com/kb/308359/
>
> Which version of Visual Studio are you using - 2003 or 2005?
>
> Jon
>
>
Similar Threads
-
By Application Development in forum Inetserver
Replies: 0
Last Post: 05-21-2007, 04:40 AM
-
By Application Development in forum DOTNET
Replies: 0
Last Post: 03-10-2007, 01:59 AM
-
By Application Development in forum Object
Replies: 4
Last Post: 04-07-2006, 12:41 AM
-
By Application Development in forum DOTNET
Replies: 0
Last Post: 03-09-2005, 08:30 AM
-
By Application Development in forum DOTNET
Replies: 1
Last Post: 11-14-2003, 10:33 AM