Error: allowDefinition='MachineToApplication'

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 anos atrás
[quote]
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 81:       </assemblies>
Line 82:   </compilation>
Line 83:     <authentication mode="Forms">
Line 84:       <forms name="NOPCOMMERCE.AUTH" loginUrl="~/Login.aspx" protection="All" timeout="43200" path="/" requireSSL="false" slidingExpiration="true" defaultUrl="~/default.aspx" enableCrossAppRedirects="false"/>
Line 85:     </authentication>

[/quote]

I recieve this error when I try launch the site locally.

I have SQL 2008 and IIS 7.0. Is there something stupid Im missing??
14 anos atrás
Without stating the obvious, is your virtual directory configured as an application in IIS?
14 anos atrás
yeah that fixed it thanks.

My IIS knowledge is very limited, thanks again
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.