Last post Jan 19, 2009 05:25 PM by Lee Dumond
Jan 18, 2009 11:03 AM|mric|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 11:19 AM|Lee Dumond|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 12:46 PM|mric|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 01:18 PM|Lee Dumond|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 02:53 PM|mric|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 05:25 PM|Lee Dumond|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.