Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET4.0
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 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 6-Nov-12 20:48pm
Comments
deepakdynamite at 9-Nov-12 4:02am
   
Please send exact error message
Ramu Chaganti at 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 at 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 at 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)

  Print Answers RSS
0 OriginalGriff 386
1 Marcin Kozub 225
2 Sergey Alexandrovich Kryukov 215
3 /\jmot 189
4 Praneet Nadkar 173
0 OriginalGriff 8,289
1 Sergey Alexandrovich Kryukov 7,407
2 DamithSL 5,624
3 Maciej Los 4,989
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 9 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100