zakifuad
07-15-2006, 04:41 AM
Hello..
After make a change to a web.config.
<membership defaultProvider="MyMembershipProvider"><providers>
<add connectionStringName="LocalSqlServer" passwordAttemptWindow="10"
enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false"
applicationName="/" requiresUniqueEmail="true" passwordFormat="Hashed"
minRequiredPasswordLength="4" minRequiredNonalphanumericCharacters="0"
passwordStrengthRegularExpression="" name="MyMembershipProvider"
type="System.Web.Security.SqlMembershipProvider" />
</providers>
</membership>
I create a new user, and everything is fine, but after log in i get the error below:
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 2: <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
Line 3: <system.web>
Line 4: <membership defaultProvider="MyMembershipProvider">
Line 5: <providers>
Line 6: <add connectionStringName="LocalSqlServer" passwordAttemptWindow="10"
Source File: C:\Documents and Settings\HP_Owner\My Documents\Visual Studio 2005\WebSites\LUQVision\secure\web.config Line: 4
What should i do?
Help me please.. thanks..http://community.discountasp.net/emoticons/confused.gif
After make a change to a web.config.
<membership defaultProvider="MyMembershipProvider"><providers>
<add connectionStringName="LocalSqlServer" passwordAttemptWindow="10"
enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false"
applicationName="/" requiresUniqueEmail="true" passwordFormat="Hashed"
minRequiredPasswordLength="4" minRequiredNonalphanumericCharacters="0"
passwordStrengthRegularExpression="" name="MyMembershipProvider"
type="System.Web.Security.SqlMembershipProvider" />
</providers>
</membership>
I create a new user, and everything is fine, but after log in i get the error below:
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 2: <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
Line 3: <system.web>
Line 4: <membership defaultProvider="MyMembershipProvider">
Line 5: <providers>
Line 6: <add connectionStringName="LocalSqlServer" passwordAttemptWindow="10"
Source File: C:\Documents and Settings\HP_Owner\My Documents\Visual Studio 2005\WebSites\LUQVision\secure\web.config Line: 4
What should i do?
Help me please.. thanks..http://community.discountasp.net/emoticons/confused.gif