|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Web.config issueThey there, I have a program that works fine when I run it in the IDE, however when I go to deploy it in the www root,, to make it a website I get this error message visual basic code:--------------------------------------------------------------------------------Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 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. Source Error: Line 24: ASP.NET to identify an incoming user. Line 25: --> Line 26: <authentication mode="Forms" > Line 27: <forms name ="bgr" loginUrl="Login.aspx"/> Line 28: </authentication> -------------------------------------------------------------------------------- This is for redirecting anyone who is not secure to the login page,,, this works fine when I run it in VS,, but not when I put it in WWW root,, anyone got any sugggestions? Bonzol wrote:
> .net 2005, 2.0 Web application <snip>> > They there, I have a program that works fine when I run it in the IDE, > however when I go to deploy it in the www root,, to make it a website > I get this error message > Parser Error Message: It is an error to use a section registered as In IIS Manager, right-click on the web site (probably Default Web Site), go > allowDefinition='MachineToApplication' beyond application level. This > error can be caused by a virtual directory not being configured as an > application in IIS. to the Home Directory tab and click on the button to the right of the Application name box. Make sure the "Execute permissions" is set to "Scripts only". Or it's something pretty much like that. Andrew Hey thanx for the reply,, the button next to the application name box
is remove,, I removed the application name and it just didnt work at all. I also tried creating a new name and I got the same error again Andrew Morton wrote: Show quoteHide quote > Bonzol wrote: > > .net 2005, 2.0 Web application > > > > They there, I have a program that works fine when I run it in the IDE, > > however when I go to deploy it in the www root,, to make it a website > > I get this error message > <snip> > > 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. > > In IIS Manager, right-click on the web site (probably Default Web Site), go > to the Home Directory tab and click on the button to the right of the > Application name box. Make sure the "Execute permissions" is set to "Scripts > only". > > Or it's something pretty much like that. > > Andrew Bonzol wrote:
> actually now I fixed it. Glad to hear it.For the benefit of anyone who may happen across this thread in the future, what was the step that made it work? Andrew
Forcing Checkbox to Return integer instead of boolean
Excel automation Determining Sql Column name? IFormatProvider System.Web.Mail problem different language windows Create a Folder - Newbie Question Sorting a DataTable in a DataSet TreeNode with BOLD font get truncated SendKeys.SendWait + Vista = SecurityException |
|||||||||||||||||||||||