jfgrayiii
asked on
Unable to login
I am using Visual Studio 2005 Web . I moved my application from my development machine to the production server and I am unable to log in now. Here is my Web config
<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Fra mework\v2. x\Config
-->
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<appSettings>
<add key="CrystalImageCleaner-A utoStart" value="true" />
<add key="CrystalImageCleaner-S leep" value="60000" />
<add key="CrystalImageCleaner-A ge" value="120000" />
</appSettings>
<connectionStrings>
<add name="TimeConnectionString " connectionString="Data Source=TESTSERVER\SQLEXPRE SS;Initial Catalog=Time;User ID=sa;Password=*******"
providerName="System.Data. SqlClient" />
</connectionStrings>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
Visual Basic options:
Set strict="true" to disallow all data type conversions
where data loss can occur.
Set explicit="true" to force declaration of all variables.
-->
<membership>
<providers>
<remove name="AspNetSqlMembershipP rovider" />
<add connectionStringName="Loca lSqlServer " enablePasswordRetrieval="f alse"
enablePasswordReset="true" requiresQuestionAndAnswer= "true" applicationName="/"
requiresUniqueEmail="false " passwordFormat="Hashed" maxInvalidPasswordAttempts ="5"
minRequiredPasswordLength= "4" minRequiredNonalphanumeric Characters ="1"
passwordAttemptWindow="10" passwordStrengthRegularExp ression=""
name="AspNetSqlMembershipP rovider" type="System.Web.Security. SqlMembers hipProvide r, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d 50a3a" />
</providers>
</membership>
<compilation debug="true" strict="false" explicit="true">
<assemblies>
<add assembly="CrystalDecisions .Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521 E1304"/>
<add assembly="CrystalDecisions .Shared, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521 E1304"/>
<add assembly="CrystalDecisions .ReportSou rce, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521 E1304"/>
<add assembly="CrystalDecisions .Enterpris e.Framewor k, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521 E1304"/>
<add assembly="CrystalDecisions .Enterpris e.Desktop. Report, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521 E1304"/>
<add assembly="CrystalDecisions .CrystalRe ports.Engi ne, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521 E1304"/>
<add assembly="CrystalDecisions .Enterpris e.InfoStor e, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521 E1304"/><a dd assembly="CrystalDecisions .ReportApp Server.Cli entDoc, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521 e1304"/>
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D 50A3A"/></ assemblies ></compila tion>
<pages>
<namespaces>
<clear/>
<add namespace="System"/>
<add namespace="System.Collecti ons"/>
<add namespace="System.Collecti ons.Specia lized"/>
<add namespace="System.Configur ation"/>
<add namespace="System.Text"/>
<add namespace="System.Text.Reg ularExpres sions"/>
<add namespace="System.Web"/>
<add namespace="System.Web.Cach ing"/>
<add namespace="System.Web.Sess ionState"/ >
<add namespace="System.Web.Secu rity"/>
<add namespace="System.Web.Prof ile"/>
<add namespace="System.Web.UI"/ >
<add namespace="System.Web.UI.W ebControls "/>
<add namespace="System.Web.UI.W ebControls .WebParts" />
<add namespace="System.Web.UI.H tmlControl s"/>
</namespaces>
</pages>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly" defaultRedirect="GenericEr rorPage.ht m">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm " />
</customErrors>
-->
<httpHandlers><add verb="GET" path="CrystalImageHandler. aspx" type="CrystalDecisions.Web .CrystalIm ageHandler , CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521 e1304"/></ httpHandle rs></syste m.web>
</configuration>
<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Fra
-->
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<appSettings>
<add key="CrystalImageCleaner-A
<add key="CrystalImageCleaner-S
<add key="CrystalImageCleaner-A
</appSettings>
<connectionStrings>
<add name="TimeConnectionString
providerName="System.Data.
</connectionStrings>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
Visual Basic options:
Set strict="true" to disallow all data type conversions
where data loss can occur.
Set explicit="true" to force declaration of all variables.
-->
<membership>
<providers>
<remove name="AspNetSqlMembershipP
<add connectionStringName="Loca
enablePasswordReset="true"
requiresUniqueEmail="false
minRequiredPasswordLength=
passwordAttemptWindow="10"
name="AspNetSqlMembershipP
</providers>
</membership>
<compilation debug="true" strict="false" explicit="true">
<assemblies>
<add assembly="CrystalDecisions
<add assembly="CrystalDecisions
<add assembly="CrystalDecisions
<add assembly="CrystalDecisions
<add assembly="CrystalDecisions
<add assembly="CrystalDecisions
<add assembly="CrystalDecisions
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D
<pages>
<namespaces>
<clear/>
<add namespace="System"/>
<add namespace="System.Collecti
<add namespace="System.Collecti
<add namespace="System.Configur
<add namespace="System.Text"/>
<add namespace="System.Text.Reg
<add namespace="System.Web"/>
<add namespace="System.Web.Cach
<add namespace="System.Web.Sess
<add namespace="System.Web.Secu
<add namespace="System.Web.Prof
<add namespace="System.Web.UI"/
<add namespace="System.Web.UI.W
<add namespace="System.Web.UI.W
<add namespace="System.Web.UI.H
</namespaces>
</pages>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly" defaultRedirect="GenericEr
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm
</customErrors>
-->
<httpHandlers><add verb="GET" path="CrystalImageHandler.
</configuration>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i fiquered it out. I had to set read write permissions to the App_Data Folder
ASKER
I am pretty sure the problem has to do with the application name
<remove name="AspNetSqlMembershipP
<add connectionStringName="Loca
enablePasswordReset="true"
requiresUniqueEmail="false
minRequiredPasswordLength=
passwordAttemptWindow="10"
name="AspNetSqlMembershipP
</providers>
</membership>
Its looking at the wrond database. No errors besides "Your login attempt was not successful. Please try again."