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
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?
mric
0 Points
4 Posts
BeerHouse Compile Error
Jan 18, 2009 03:03 PM|LINK
hi!
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???
Lee Dumond
Contributor
6404 Points
1173 Posts
Re: BeerHouse Compile Error
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?
Follow Me on Twitter
mric
0 Points
4 Posts
Re: BeerHouse Compile Error
Jan 18, 2009 04:46 PM|LINK
hi!
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
Lee Dumond
Contributor
6404 Points
1173 Posts
Re: BeerHouse Compile Error
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?
Follow Me on Twitter
mric
0 Points
4 Posts
Re: BeerHouse Compile Error
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
Lee Dumond
Contributor
6404 Points
1173 Posts
Re: BeerHouse Compile Error
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.
Follow Me on Twitter