Hello,
I am working on a test site to explore the new login controls and membership
features of ASP.NET v2.0. I have tested the controls using SQL Express and
have now decided to try using a central SQL Server 2000 database. When I use
the all of the included controls with SQL Express everything works great but
when I use it against SQL Server 2000 I can't get past the login page.
When in Visual Studio IDE and open the web admin page I can add users and
roles and the entrys are present in the SQL Server 2000 database. With that
said why am I having issues with the login process? There is no code for the
control so the only issue could be in the web.config file.
Here is me config file.
<?xml version="1.0"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<connectionStrings>
<add name="MyDB" connectionString="Connection String to Server"/>
</connectionStrings>
<system.web>
<!-- Set a site wide theme -->
<pages theme="Default"/>
<compilation debug="true"/>
<authentication mode="Forms">
<forms loginUrl="login.aspx" name=".ASPXFORMSAUTH"/>
</authentication>
<authorization>
<deny users="?"/>
</authorization>
<!-- Define the roles management provider -->
<roleManager enabled="true" defaultProvider="RolesSqlProvider">
<providers>
<add name="RolesSqlProvider" type="System.Web.Security.SqlRoleProvider,
System.Web, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="MyDB"
applicationName="/"/>
</providers>
</roleManager>
<!-- Define the membership management provider -->
<membership defaultProvider="SqlProvider" userIsOnlineTimeWindow="20">
<providers>
<remove name="AspNetSqlProvider"/>
<add connectionStringName="MyDB"
enablePasswordRetrieval="false"
requiresUniqueEmail="true"
enablePasswordReset="true"
requiresQuestionAndAnswer="true"
passwordFormat="Hashed"
applicationName="/"
name="SqlProvider"
type="System.Web.Security.SqlMembershipProvider"/>
</providers>
</membership>
<!-- Difine the Profiles managment provider -->
<profile enabled="true" defaultProvider="ProfileSqlProvider">
<providers>
<add name="ProfileSqlProvider"
type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.3600.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="MyDB" applicationName="/"/>
</providers>
<properties>
<add name="FirstName" type="System.String"/>
<add name="LastName" type="System.String"/>
<add name="LastVisit" type="System.DateTime"/>
<add name="UserId"/>
</properties>
</profile>
</system.web>
</configuration>
Any help would be appriciated.
Thanks,
RedEye 5 1717
Yep... you made sure you ran aspnet_regsql from the frameworks folder?
You've got several framework specific storedprocs and tables.
read here: http://msdn.microsoft.com/library/de...SecFeatNT2.asp
Weston Weems
"RedEye" <re*******@hotmail.com> wrote in message
news:OW**************@TK2MSFTNGP14.phx.gbl... Hello,
I am working on a test site to explore the new login controls and membership features of ASP.NET v2.0. I have tested the controls using SQL Express and have now decided to try using a central SQL Server 2000 database. When I use the all of the included controls with SQL Express everything works great but when I use it against SQL Server 2000 I can't get past the login page.
When in Visual Studio IDE and open the web admin page I can add users and roles and the entrys are present in the SQL Server 2000 database. With that said why am I having issues with the login process? There is no code for the control so the only issue could be in the web.config file.
Here is me config file. <?xml version="1.0"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<connectionStrings> <add name="MyDB" connectionString="Connection String to Server"/> </connectionStrings>
<system.web>
<!-- Set a site wide theme --> <pages theme="Default"/>
<compilation debug="true"/>
<authentication mode="Forms"> <forms loginUrl="login.aspx" name=".ASPXFORMSAUTH"/> </authentication> <authorization> <deny users="?"/> </authorization>
<!-- Define the roles management provider --> <roleManager enabled="true" defaultProvider="RolesSqlProvider"> <providers> <add name="RolesSqlProvider" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="MyDB" applicationName="/"/> </providers> </roleManager>
<!-- Define the membership management provider --> <membership defaultProvider="SqlProvider" userIsOnlineTimeWindow="20"> <providers> <remove name="AspNetSqlProvider"/> <add connectionStringName="MyDB" enablePasswordRetrieval="false" requiresUniqueEmail="true" enablePasswordReset="true" requiresQuestionAndAnswer="true" passwordFormat="Hashed" applicationName="/" name="SqlProvider" type="System.Web.Security.SqlMembershipProvider"/> </providers> </membership>
<!-- Difine the Profiles managment provider --> <profile enabled="true" defaultProvider="ProfileSqlProvider"> <providers> <add name="ProfileSqlProvider" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="MyDB" applicationName="/"/> </providers> <properties> <add name="FirstName" type="System.String"/> <add name="LastName" type="System.String"/> <add name="LastVisit" type="System.DateTime"/> <add name="UserId"/> </properties> </profile>
</system.web>
</configuration>
Any help would be appriciated.
Thanks, RedEye
Oh yes, I made sure to do that before I started. Any other ideas?
Thanks
"Weston Weems" <ww****@NOSPAMno-span-gmail.com> wrote in message
news:uk**************@TK2MSFTNGP09.phx.gbl... Yep... you made sure you ran aspnet_regsql from the frameworks folder?
You've got several framework specific storedprocs and tables. read here: http://msdn.microsoft.com/library/de...SecFeatNT2.asp
Weston Weems "RedEye" <re*******@hotmail.com> wrote in message news:OW**************@TK2MSFTNGP14.phx.gbl... Hello,
I am working on a test site to explore the new login controls and membership features of ASP.NET v2.0. I have tested the controls using SQL Express and have now decided to try using a central SQL Server 2000 database. When I use the all of the included controls with SQL Express everything works great but when I use it against SQL Server 2000 I can't get past the login page.
When in Visual Studio IDE and open the web admin page I can add users and roles and the entrys are present in the SQL Server 2000 database. With that said why am I having issues with the login process? There is no code for the control so the only issue could be in the web.config file.
Here is me config file. <?xml version="1.0"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<connectionStrings> <add name="MyDB" connectionString="Connection String to Server"/> </connectionStrings>
<system.web>
<!-- Set a site wide theme --> <pages theme="Default"/>
<compilation debug="true"/>
<authentication mode="Forms"> <forms loginUrl="login.aspx" name=".ASPXFORMSAUTH"/> </authentication> <authorization> <deny users="?"/> </authorization>
<!-- Define the roles management provider --> <roleManager enabled="true" defaultProvider="RolesSqlProvider"> <providers> <add name="RolesSqlProvider" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="MyDB" applicationName="/"/> </providers> </roleManager>
<!-- Define the membership management provider --> <membership defaultProvider="SqlProvider" userIsOnlineTimeWindow="20"> <providers> <remove name="AspNetSqlProvider"/> <add connectionStringName="MyDB" enablePasswordRetrieval="false" requiresUniqueEmail="true" enablePasswordReset="true" requiresQuestionAndAnswer="true" passwordFormat="Hashed" applicationName="/" name="SqlProvider" type="System.Web.Security.SqlMembershipProvider"/> </providers> </membership>
<!-- Difine the Profiles managment provider --> <profile enabled="true" defaultProvider="ProfileSqlProvider"> <providers> <add name="ProfileSqlProvider" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="MyDB" applicationName="/"/> </providers> <properties> <add name="FirstName" type="System.String"/> <add name="LastName" type="System.String"/> <add name="LastVisit" type="System.DateTime"/> <add name="UserId"/> </properties> </profile>
</system.web>
</configuration>
Any help would be appriciated.
Thanks, RedEye
When in Visual Studio IDE and open the web admin page I can add users and
roles and the entrys are present in the SQL Server 2000 database. With that
said why am I having issues with the login process? There is no code for the
control so the only issue could be in the web.config file.
"RedEye" <re*******@hotmail.com> wrote in message
news:OW**************@TK2MSFTNGP14.phx.gbl... Hello,
I am working on a test site to explore the new login controls and
membership features of ASP.NET v2.0. I have tested the controls using SQL Express and have now decided to try using a central SQL Server 2000 database. When I
use the all of the included controls with SQL Express everything works great
but when I use it against SQL Server 2000 I can't get past the login page.
When in Visual Studio IDE and open the web admin page I can add users and roles and the entrys are present in the SQL Server 2000 database. With
that said why am I having issues with the login process? There is no code for
the control so the only issue could be in the web.config file.
Here is me config file. <?xml version="1.0"?>
<configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> <connectionStrings> <add name="MyDB" connectionString="Connection String to Server"/> </connectionStrings>
<system.web>
<!-- Set a site wide theme --> <pages theme="Default"/>
<compilation debug="true"/>
<authentication mode="Forms"> <forms loginUrl="login.aspx" name=".ASPXFORMSAUTH"/> </authentication> <authorization> <deny users="?"/> </authorization>
<!-- Define the roles management provider --> <roleManager enabled="true" defaultProvider="RolesSqlProvider"> <providers> <add name="RolesSqlProvider"
type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="MyDB" applicationName="/"/> </providers> </roleManager>
<!-- Define the membership management provider --> <membership defaultProvider="SqlProvider" userIsOnlineTimeWindow="20"> <providers> <remove name="AspNetSqlProvider"/> <add connectionStringName="MyDB" enablePasswordRetrieval="false" requiresUniqueEmail="true" enablePasswordReset="true" requiresQuestionAndAnswer="true" passwordFormat="Hashed" applicationName="/" name="SqlProvider" type="System.Web.Security.SqlMembershipProvider"/> </providers> </membership>
<!-- Difine the Profiles managment provider --> <profile enabled="true" defaultProvider="ProfileSqlProvider"> <providers> <add name="ProfileSqlProvider" type="System.Web.Profile.SqlProfileProvider, System.Web,
Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="MyDB" applicationName="/"/> </providers> <properties> <add name="FirstName" type="System.String"/> <add name="LastName" type="System.String"/> <add name="LastVisit" type="System.DateTime"/> <add name="UserId"/> </properties> </profile>
</system.web>
</configuration>
Any help would be appriciated.
Thanks, RedEye
__________________________________________________ _____________________________
Posted Via Uncensored-News.Com - Accounts Starting At $6.95 - http://www.uncensored-news.com
<><><><><><><> The Worlds Uncensored News Source <><><><><><><><>
No answer but wondering if you solved this isse as I'm having the exact
problem as well?
*** Sent via Developersdex http://www.developersdex.com *** This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Charles |
last post by:
I was able to do this but for no reason I can think of, now I cannot
login to my Oracle Management Server. When Oracle Enterprise Manager
starts up and I choose to login to OMS, it throws up a java...
|
by: EricP |
last post by:
Hello,
What are the default login/password to access pubs and northwind databases ?
I remember the login = "sa", but nothing about the password.
Thanks
Eric
|
by: VC |
last post by:
Hello,
I have an issue here. Hope someone can help me.
Issue:
Developer is using a web application from one server (IIS) (say Server A).
A second server (say Server B, which is SQL Server...
|
by: amit.purohit |
last post by:
hi,
I have a very strange problem on my login Page. the Page was working fine a
few days back, but now does not generate post back events for controls. this
login page uses form based...
|
by: clintonG |
last post by:
This is an appeal for peer support sent to Microsoft as will be noted in
closing.
The Login control does not include a Cancel button.
The only option is to convert the Login control to a...
|
by: goot |
last post by:
I'm trying to use the login control and have it use the membership
provider framework to authenticate users and am having a problem (which
i'm sure will turn out to be a stupid mistake on my...
|
by: muder |
last post by:
I have a standard Login ASP.NET 2.0 control on a login Page, a LoginName and LoginStatus controls on the member's page.
once the user login successfully I am redirecting the user to Member.aspx...
|
by: Anup Daware |
last post by:
Hi All,
I am facing this very weird issue, for every server request my control
is redirecting to the login page and again coming back to the actual
page from where the request was initiated when I...
|
by: Tim |
last post by:
Folks,
I have 3 loosely linked problems which I am would appreciate feedback
on.
1). T-Sql and Active directory roles.
We want to be able to control access to data within a table based on a...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |