MachineToApplication error - Windows Vista - Urgent

G

Guest

I get the error
<b>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. </b>
trying to run my asp.net app.
How do I fix the virtual dir problem in Vista (Home Basic)???
 
M

Mark Rae [MVP]

I get the error
<b>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. </b>
trying to run my asp.net app.
How do I fix the virtual dir problem in Vista (Home Basic)???

I'm not sure that you can so long as you're running Vista Home Basic because
it doesn't support ASP.NET...

http://forums.asp.net/p/1082797/1605349.aspx
http://technet2.microsoft.com/windo...ddb7-4423-b1e5-df550e25713b1033.mspx?mfr=true
http://forums.iis.net/t/1103525.aspx
http://www.zolved.com/synapse/view_...a_features_when_I_upgrade_my_Vista_Home_Basic
 
J

Juan T. Llibre

Since IIS is not an option in Home Basic, you might want
to try Cassiniv2 to host your test ASP.NET development.

Direct link to the source files:
http://blogs.msdn.com/dmitryr/attachment/548131.ashx

You also need the v2.0 version of GACUTIL which should
be installed by default with VWD Express or VS 2005.

Make sure you read the "ReadMe.txt" file included in the zipped source.

Another option is to install either Visual Web Developer Express
( http://msdn2.microsoft.com/en-us/express/aa700797.aspx )

....or Visual Studio ( any flavor )...and use their built-in web server and file-based projects.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
 
M

Mark Rae [MVP]

Thanks, but is there any way around it so I'll be able to run my projects
on
it?

Apologies, I obviously haven't explained clearly enough...

ASP.NET is not available in IIS running on Vista Home Basic. That is by
design. AFAIK, there isn't any undocumented feature which will make it
available...

There is some limited support for ASP.NET in IIS running on Vista Home
Premium:
http://technet2.microsoft.com/windo...18b0-4c42-9884-5af83226e2bd1033.mspx?mfr=true

However, I believe it doesn't support things like debugging etc...

If you want to run / develop ASP.NET projects in conjunction with IIS on
Vista, you need to upgrade to Vista Business.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top