473,399 Members | 3,401 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,399 software developers and data experts.

help with sql server use in visual studio 2005/asp.net, help!

I have a web project where I'm using VS2005 and I have installed Sql server
2005 developer edition. I've modified my webconfig file to point to my custom
provider:

<connectionStrings>
<add name="namegoeshere" connectionString="server=servername(or
localhost);database=dbname;uid=dbid;password=pass1 ;"
providerName="System.Data.SqlClient"/>
</connectionStrings>
<membership defaultProvider="CustomizedMembershipProvider">
<providers>
<add name="CustomizedMembershipProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="namegoeshere" />
</providers>
</membership>

what is weird is that I used the 'aspnet_regsql.exe' tool to create the
membership structure in my existing db. But I see an 'aspnetdb.mdb' file in
my App_Data directory. It it appears that that the 'AspNet Configuration
tool' is saving user data in two places???? The mdb and in my Sql DB??? I
noticed this when I attempted to add a user via a webpage, the user only goes
into my Sql DB, not app_data db. So when I pull a getusers I getonly the
app_data db users????

can anyone explain what is going on? I've checked the settings in aspnet
config tool.

Help??????

Oct 10 '06 #1
1 1127
Hello,

Yeah, I had a ball with this same issue. It only gets worse as you get
nearer deployment =)

It's been awhile since i messed with that problem, but IIRC I fixed it
by going into the website administration tool and looking at the
Membership provider set in there, IIRC mine had "reset" to use the
aspnetdb which is the database used by the website administration tool,
or it had something to do with the ApplicationName set in the
membership tables. I had so many problems I don't really remember the
seperate problems I had, they all kind of just blended together =P

to be completely honest, I had so many problems with regsql and the
membership/role providers that I abandonded them completely and built
my own role/membership code. Not as modular as I would have liked, but
if I banged my head against the wall anymore I was going to give myself
a concussion.

There is a good tutorial on thecodeproject.com explaining the whole
spiel. don't have the link handy, sorry =(

hope that helps!

Sean

chris wrote:
I have a web project where I'm using VS2005 and I have installed Sql server
2005 developer edition. I've modified my webconfig file to point to my custom
provider:

<connectionStrings>
<add name="namegoeshere" connectionString="server=servername(or
localhost);database=dbname;uid=dbid;password=pass1 ;"
providerName="System.Data.SqlClient"/>
</connectionStrings>
<membership defaultProvider="CustomizedMembershipProvider">
<providers>
<add name="CustomizedMembershipProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="namegoeshere" />
</providers>
</membership>

what is weird is that I used the 'aspnet_regsql.exe' tool to create the
membership structure in my existing db. But I see an 'aspnetdb.mdb' file in
my App_Data directory. It it appears that that the 'AspNet Configuration
tool' is saving user data in two places???? The mdb and in my Sql DB??? I
noticed this when I attempted to add a user via a webpage, the user only goes
into my Sql DB, not app_data db. So when I pull a getusers I getonly the
app_data db users????

can anyone explain what is going on? I've checked the settings in aspnet
config tool.

Help??????
Oct 11 '06 #2

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

Similar topics

1
by: Darryl Kerkeslager | last post by:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsse/html/sseoverview.asp SQL Server Express was developed with two distinct uses in mind. The first is as a server product,...
5
by: Jo ARild | last post by:
I currently have a web-application which on last framework called a serviced component with a dataset. 'ds.RemotingFormat = SerializationFormat.binary ‘ds.RemotingFormat =...
9
by: scorpion53061 | last post by:
I have a request of Microsoft and I hope they see this. I use Visual Studio 2005 Pro and WIN XP Pro with IIS 5.1 I have spent the better part of the last 2 weeks attempting to get my ASP.NET...
2
by: יוני גולדברג | last post by:
Hi, I have visual studio 2005 on client machine and another server machine (with sql server 2000 and IIS). Also i have .sln (visual studio solution) file with some asp.net project i have to...
5
by: BK-Chicago | last post by:
I am in the midst of porting a massive MFC application from VS6.0 to VS8.0. While i have fixed most of the compile time errors, i do have quite a linker error that i have not been able to resolve....
53
by: Hexman | last post by:
Hello All, I'd like your comments on the code below. The sub does exactly what I want it to do but I don't feel that it is solid as all. It seems like I'm using some VB6 code, .Net2003 code,...
2
by: thersitz | last post by:
Hi, I have VStudio2005, SQLServer 2005 dev edition loaded on a windowsXP Pro machine. I installed it ok. I just attempted to load the Personal Web Site Starter Kit (I downloaded off...
4
by: Brad Isaacs | last post by:
I am working with ASP.NET 2.0 and using an SQL Server 2000 database. I am using Visual Studio 2005 and developing on my Local machine. I am working with Login controls ASP.Configuration, I...
1
by: JavaNme | last post by:
I need someone to debug the following errors for me, so that i can run the program. 1>------ Build started: Project: TheBankProject, Configuration: Debug Win32 ------ 1>Compiling... 1>BANK.cpp...
1
by: cliffpartridge | last post by:
I'm an experienced ASP.NET programmer (VB) and recently installed Visual Studio 2005 Professional Edition (SQL Server 2005 Developer Edition) for the first time. (also Service Pack 1) I can't open...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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:
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...
0
jinu1996
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...
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
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.