473,405 Members | 2,373 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

database trouble!

ASP.NET 2.0

I've created 3 users in my webproject.

Today I added this to the web.config of my webproject:
<membership defaultProvider="SqlProvider">
<providers>
<add
name="SqlProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="LocalSqlServer"
requiresQuestionAndAnswer="true"
minRequiredNonalphanumericCharacters="0"
/>
</providers>
</membership>

And after I added this to web.config, the webproject says it has 0 users.

I think the error is related to me specifying a different
connectionStringName, but feel that is strage to because I can see
LocalSqlServer used elsewhere in this web.config.

This is the connectionStrings in the web.config:
<connectionStrings>
<add name="aspnet_DB" connectionString="Data
Source=.\SQLEXPRESS;AttachDbFilename=|DataDirector y|\ASPNETDB.MDF;Integrated
Security=True;User Instance=True" providerName="System.Data.SqlClient"/>
</connectionStrings>

All I wanted to do is to specify minRequiredNonalphanumericCharacters and
requiresQuestionAndAnswer....

Any suggestions??

Jeff
Apr 2 '07 #1
2 1000
Check the application name. It is case sensitive. If incorrect, correct it
and you should see users.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*********************************************
Think outside the box!
*********************************************
"Jeff" <it************@hotmail.com.NOSPAMwrote in message
news:es**************@TK2MSFTNGP02.phx.gbl...
ASP.NET 2.0

I've created 3 users in my webproject.

Today I added this to the web.config of my webproject:
<membership defaultProvider="SqlProvider">
<providers>
<add
name="SqlProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="LocalSqlServer"
requiresQuestionAndAnswer="true"
minRequiredNonalphanumericCharacters="0"
/>
</providers>
</membership>

And after I added this to web.config, the webproject says it has 0 users.

I think the error is related to me specifying a different
connectionStringName, but feel that is strage to because I can see
LocalSqlServer used elsewhere in this web.config.

This is the connectionStrings in the web.config:
<connectionStrings>
<add name="aspnet_DB" connectionString="Data
Source=.\SQLEXPRESS;AttachDbFilename=|DataDirector y|\ASPNETDB.MDF;Integrated
Security=True;User Instance=True" providerName="System.Data.SqlClient"/>
</connectionStrings>

All I wanted to do is to specify minRequiredNonalphanumericCharacters and
requiresQuestionAndAnswer....

Any suggestions??

Jeff
Apr 2 '07 #2
Application name??

isn't it possible to specify minRequiredNonalphanumericCharacters and
requiresQuestionAndAnswer without this:
<membership defaultProvider="SqlProvider">
<providers>
<add
name="SqlProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="LocalSqlServer"
requiresQuestionAndAnswer="true"
minRequiredNonalphanumericCharacters="0"
/>
</providers>
</membership>

These are 2 other settings in web.config which are using LocalSqlServer:
<configSections>
<section name="mynetwork" type="AH.MyNetwork.MyNetworkSection, __code"/>
</configSections>
<mynetwork defaultConnectionStringName="LocalSqlServer">
<networking
providerType="AH.MyNetwork.DAL.SqlClient.SqlNetwor kingProvider"/>
<logging providerType="AH.MyNetwork.DAL.SqlClient.SqlLoggin gProvider"/>
</mynetwork>

These 2 custom settings don't give an error, but
connectionStringName="LocalSqlServer"
gives error... Or I think it is causing the error... I'm not sure... I get
confused about this...

Any suggestions??

"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamMwrote in
message news:uf****************@TK2MSFTNGP02.phx.gbl...
Check the application name. It is case sensitive. If incorrect, correct it
and you should see users.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*********************************************
Think outside the box!
*********************************************
"Jeff" <it************@hotmail.com.NOSPAMwrote in message
news:es**************@TK2MSFTNGP02.phx.gbl...
>ASP.NET 2.0

I've created 3 users in my webproject.

Today I added this to the web.config of my webproject:
<membership defaultProvider="SqlProvider">
<providers>
<add
name="SqlProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="LocalSqlServer"
requiresQuestionAndAnswer="true"
minRequiredNonalphanumericCharacters="0"
/>
</providers>
</membership>

And after I added this to web.config, the webproject says it has 0 users.

I think the error is related to me specifying a different
connectionStringName, but feel that is strage to because I can see
LocalSqlServer used elsewhere in this web.config.

This is the connectionStrings in the web.config:
<connectionStrings>
<add name="aspnet_DB" connectionString="Data
Source=.\SQLEXPRESS;AttachDbFilename=|DataDirecto ry|\ASPNETDB.MDF;Integrated
Security=True;User Instance=True" providerName="System.Data.SqlClient"/>
</connectionStrings>

All I wanted to do is to specify minRequiredNonalphanumericCharacters and
requiresQuestionAndAnswer....

Any suggestions??

Jeff

Apr 2 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: lkrubner | last post by:
I have a webserver through Rackspace. I create a domain. I create an FTP user. I upload some files. I create a database called testOfSetupScript and then I create a database user named setup. I...
1
by: Anand | last post by:
Hi i am having trouble adding a recordset into the access database, the code seems to be working fine it passs and parses through all variables just fine without showing any errors and also when i...
2
by: Fran Tirimo | last post by:
I am developing a small website using ASP scripts to format data retrieved from an Access database. It will run on a Windows 2003 server supporting FrontPage extensions 2002 hosted by the company...
4
by: Nicolae Fieraru | last post by:
Hi All, I am working on a web site in asp which will be hosted on a Windows 2003 server. I use the following code to connect to the database: Set objConn =...
0
by: cwbp17 | last post by:
I'm having trouble updating individual datagrid cells. Have two tables car_master (columns include Car_ID, YEAR,VEHICLE) and car_detail (columns include Car_ID,PRICE,MILEAGE,and BODY);both tables...
4
by: visionstate | last post by:
Hi all, I have built my 1st database and it is ready to go on a shared network drive. I have read a few articles about the security in access but am having some trouble getting my head around it...
1
by: ghadley_00 | last post by:
Hi, I have a php form that encodes the responses to various <Select> field drop down menus as numbers (e.g. 0 to 50), and then posts the data to a MySQL table. I am trying to implement a form...
10
by: Paul H | last post by:
I am trying to get the spec for a database. The trouble is the client frequently blurts out industry jargon, speaks insanely quickly and is easily sidetracked. They are currently using around 30...
3
by: tasmontique | last post by:
I am new to database design. I am creating an airline flight scheduling database in Microsoft Access 2002. I am having trouble uniquely identifying an airline name, flight number in out, type of...
33
by: bill | last post by:
In an application I am writing the user can define a series of steps to be followed. I save them in a sql database using the field "order" (a smallint) as the primary key. (there are in the range...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.