Hi. I'm trying to get my club website onto GoDaddy, following instructions in this forum. I'm getting the following error in VWD ' It is an error to use a section registered as allowDefinitions='MachineToApplication' beyond application level. This error
can be caused by a virtual directory not being configured as an application in IIS.
The error points to rolManager enabled="true" in webconfig. Can I just delete this line?
Really appreciate any helps/advice/hints. thanks, Bev
2. This error also occurs if u have not opened the website from the folder containing the aspx files and all files but from one folder up like this
folder1 > ApplicationFolder > All files
If u browse and open folder1, u'll get allowDefinition='MachineToApplication' error
Open Application and u'll prolly not get this error
How do open application?
I have one folder where there is one web.config file, inside the same folder i recently developed one new system and the aspx files are on this folder... there is a web.config folder in this as well.. the issue is not with two webconfig folder as these two
web.config files are on two different folders... the problem is with the closed application(the one mentioned above in Italic.)
Could you please explain a bit more in sorting out the issue ...
THank you so much. I did, in fact, have an extra webconfig hidden in a folder in my application. As soon as I deleted it, the problem was gone. Thanks again.
redwoodbev
Member
29 Points
166 Posts
Error in Webconfig line 54 <roleManager enabled="true"/>
Jun 08, 2009 06:26 PM|LINK
Hi. I'm trying to get my club website onto GoDaddy, following instructions in this forum. I'm getting the following error in VWD ' It is an error to use a section registered as allowDefinitions='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
The error points to rolManager enabled="true" in webconfig. Can I just delete this line?
Really appreciate any helps/advice/hints. thanks, Bev
web.config club web site
amit.jain
Star
11225 Points
1815 Posts
Re: Error in Webconfig line 54 <roleManager enabled="true"/>
Jun 09, 2009 06:47 AM|LINK
This error is caused for two reasons
1. Chekc whether u r having two web.config files in ur application (1 in backup folder or somewhere else) ? , if yes than remove one
2. This error also occurs if u have not opened the website from the folder containing the aspx files and all files but from one folder up like this
folder1 > ApplicationFolder > All files
If u browse and open folder1, u'll get allowDefinition='MachineToApplication' error
Open Application and u'll prolly not get this error
hope this helps
amiT jaiN
ASP.NET C# VB Articles And Code Examples
ujjawal
Member
16 Points
121 Posts
Re: Error in Webconfig line 54 <roleManager enabled="true"/>
Jun 09, 2009 06:19 PM|LINK
HI there,
My error is due to the following I believe...
2. This error also occurs if u have not opened the website from the folder containing the aspx files and all files but from one folder up like this
folder1 > ApplicationFolder > All files
If u browse and open folder1, u'll get allowDefinition='MachineToApplication' error
Open Application and u'll prolly not get this error
How do open application?
I have one folder where there is one web.config file, inside the same folder i recently developed one new system and the aspx files are on this folder... there is a web.config folder in this as well.. the issue is not with two webconfig folder as these two web.config files are on two different folders... the problem is with the closed application(the one mentioned above in Italic.)
Could you please explain a bit more in sorting out the issue ...
Many thanks.
ps: I have used VB
redwoodbev
Member
29 Points
166 Posts
Re: Error in Webconfig line 54 <roleManager enabled="true"/>
Jun 10, 2009 03:09 AM|LINK
THank you so much. I did, in fact, have an extra webconfig hidden in a folder in my application. As soon as I deleted it, the problem was gone. Thanks again.