Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 19, 2009 09:25 PM by Lee Dumond
Jan 18, 2009 03:03 PM|LINK
i downloaded The BeerHouse Starter kit
but when iwm trying to compile it , i get this error:
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.
that comming from the tbh_web\web.config
i tried to change the virtual directory in the IIS to Application but it doent help
what to do???
Jan 18, 2009 03:19 PM|LINK
This can also be caused by having something in your web.config that is only allowed in machine.config, Did you change web.config (or machine.config) in any way?
Jan 18, 2009 04:46 PM|LINK
first,thanks for the quick answer
i downloaded the starter kit "AS IS"
and didn't do nothing beside this, just trying to compile "AS IS" and see how it works
i didnt touch the web.config at all
and i dont have a machine.config file at all
Jan 18, 2009 05:18 PM|LINK
Did you try running it as a file system web site using the Development Server, and if so, how did that work?
Jan 19, 2009 06:53 PM|LINK
i downloaded it to my computer and im trying to compile it, thats it
i dont know how to run it differently
Jan 19, 2009 09:25 PM|LINK
It sounds like you set this up as a virtual directory and are trying to run it under IIS. Is that correct?
What I am suggesting instead is NOT to do that. Just open it as a File System web site and try running it that way and see what happens.