.Net 2.0
SQL Server Express 2005(you know, the free edition)
I have a site which contains an Admin page by using the built-in Login control. Admin profiles and site security handled by buil-in administrator. I've configured an Admin user but when I access this page via the URL, I receive error messages indicating unsuccessful login. I know that the accounts are correct(user/password) because I can debug the application locally and access all the admin pages.
Can anyone provide info on how to resolve this so that the proper authentication occurs for this user?
Here is my web.config
SQL Server Express 2005(you know, the free edition)
I have a site which contains an Admin page by using the built-in Login control. Admin profiles and site security handled by buil-in administrator. I've configured an Admin user but when I access this page via the URL, I receive error messages indicating unsuccessful login. I know that the accounts are correct(user/password) because I can debug the application locally and access all the admin pages.
Can anyone provide info on how to resolve this so that the proper authentication occurs for this user?
Here is my web.config
Code:
<?xml version="1.0"?>
<configuration xmlns="[URL unfurl="true"]http://schemas.microsoft.com/.NetConfiguration/v2.0">[/URL]
<appSettings>
<add key="sa" value="!4u2no" />
</appSettings>
<connectionStrings>
<remove name="LocalSqlServer" />
<add name="LocalSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|aspnetdb.mdf" />
<add name="Personal" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Personal.mdf"
providerName="System.Data.SqlClient" />
<add name="ConnectionString" connectionString="Dsn=SQL Server"
providerName="System.Data.Odbc" />
<add name="HRDerbyConn" connectionString="Dsn=HRDerby" providerName="System.Data.Odbc" />
<add name="HRDerbyConnectionString" connectionString="Data Source=HOMESERVER\SQLEXPRESS;Initial Catalog=HRDerby;Persist Security Info=True;User ID=sa;Password=*****;Connection Timeout=500"
providerName="System.Data.SqlClient" />
</connectionStrings>
<system.web>
<pages styleSheetTheme="White"/>
<customErrors mode="Off"/>
<compilation debug="true">
<assemblies>
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/></assemblies></compilation>
<authentication mode="Forms">
<forms loginUrl="Login.aspx" protection="Validation" timeout="300" />
</authentication>
<authorization>
<allow users="*"/>
</authorization>
<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
<roleManager enabled="true"/>
<siteMap defaultProvider="XmlSiteMapProvider" enabled="true">
<providers>
<add name="XmlSiteMapProvider" description="SiteMap provider which reads in .sitemap XML files." type="System.Web.XmlSiteMapProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" siteMapFile="web.sitemap" securityTrimmingEnabled="true"/>
</providers>
</siteMap>
</system.web>
<location path="Admin">
<system.web>
<authorization>
<allow roles="Administrators"/>
<deny users="*"/>
</authorization>
</system.web>
</location>
</configuration>