I have just started working through a book about ASP.NET (Beginning ASP.NET 3.5 in C# 2008, 2nd Edition). I downloaded the source files from the book's website and tried to open them up in Visual Studio Professional 2008. I am getting what seems to be a pretty common error:
"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'
Every solution I could find dealt with making changes through IIS Manager to make the folder containing the files a virtual folder, or something like that. Does this apply to me, since I am just trying to run without debugging through Visual Studio 2008? To my knowledge, I never installed IIS and was just hoping I could test it through VS. Was IIS installed on my computer with VS2008? I am quite confused at this point, as this is my first foray into ASP.NET, and the book I am using did not specify anything else I needed to do.
Thank you!
EDIT: I think this thread could have possibly been dealing with the same issue, but since he did not mention this actual problem, I can't be sure.
Keep posting stuff like this i really like it.
hi! I have Little bit Confusion....what is VS2008...? Is this Software or Verson...? plz Guide....
VS2008 = Visual studio 2008. It's software which looks like:![]()
OK the WebApplications that you downloaded from the website is supposedly Tested in Local IIS installation and not using Virtual Server.SO here is what you need to do see through this video and try it out,
http://www.swfcabin.com/open/1267713696
try watching the video
VS2008 ( Visual studio 2008 ) is a tool to develop .Net based applications.
check IIS ,
1. Right click website then properties in tab Directory -> application setting -> choice add
2. Tab Documents add your default page
3. or try this .. right click properties Default Web Site -> Directory Security -> Edit -> Check Integrated Windows Authentication
.. maybe this can solve
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks