Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / September 2007

Tip: Looking for answers? Try searching our database.

Web Service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Helen Trim - 11 Sep 2007 11:32 GMT
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
Jon Skeet [C# MVP] - 11 Sep 2007 11:51 GMT
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
Helen Trim - 11 Sep 2007 13:22 GMT
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

> On Sep 11, 11:32 am, Helen Trim <HelenT...@discussions.microsoft.com>
> wrote:
[quoted text clipped - 5 lines]
>
> Jon

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.