Click here to Skip to main content
15,891,423 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have created a web proj. at home on xp sp3 wen em running same proj on any other system like xp sp2 or win 7, while debugging a message "comes please correct before proceeding (you might rename the current and add a new one )
and i haven't dine anything like that i have just change the server name

this is the sample of web.config
XML
<?xml version="1.0" encoding="utf-8" ?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->
<configuration>
  <connectionStrings>
   <add name="cmsConnectionString" connectionString="data source= SEMANTIC-1\SA; uid=sa;pwd=pass; initial catalog=security service"></add>
      <!-- <add name="cmsConnectionString" connectionString="data source= Mukesh; uid=sa;pwd=pass; initial catalog=security service"></add>-->
  </connectionStrings>
  <appSettings>
    <add key="AdminUserName" value="Admin"/>
    <add key="AdminPassword" value="pass"/>
  </appSettings>
  <system.web>
    <pages enableEventValidation="false" />
    <httpRuntime requestValidationMode="2.0" />
    <compilation debug="true" targetFramework="4.0"/>
    <authentication mode="Forms">
      <forms loginUrl="~/Admin/Admin.aspx" defaultUrl="Admin/PageManagement.aspx" timeout="2880"/>
    </authentication>
    <authorization>
      <allow users="*"/>
    </authorization>

    <membership>
      <providers>
        <clear/>
        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/"/>
      </providers>
    </membership>
    <profile>
      <providers>
        <clear/>
        <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
      </providers>
    </profile>
    <roleManager enabled="false">
      <providers>
        <clear/>
        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/"/>
        <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/"/>
      </providers>
    </roleManager>
  </system.web>
  <location path="Admin">
    <system.web>
      <authorization>
        <deny users="?"/>
      </authorization>
    </system.web>
  </location>
  <system.webServer>
    <modules runAllManagedModulesForAllRequests="true"/>
  </system.webServer>
</configuration>
Posted
Comments
deepakdynamite 9-Nov-12 4:02am    
Please send exact error message
Ramu Chaganti 21-Aug-13 4:50am    
This error comes in my Visual studio 2010. But i don.t know how to solve this. please help me.........
Sergey Alexandrovich Kryukov 15-Apr-13 2:44am    
Please stop posting non-answers as "solution". It can give you abuse reports which eventually may lead to cancellation of your CodeProject membership. And the fact you even self-accepted some of them formally is just outrageous, a sure way for a ban. I hope you won't do it after this warning.

Comment on any posts, reply to available comments, or use "Improve question" (above).
Also, keep in mind that members only get notifications on the post sent in reply to there posts.
—SA
Vishal Pand3y 21-Aug-13 5:10am    
my issue was solved by installing sp3 of visual studio...
try it it might help you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900