473,406 Members | 2,371 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,406 software developers and data experts.

membership, SQLExpress and/or SQLServer

dgk
I'm using the standard provider for membership which is SQLServer
Express. After deploying the app to our server, login fails because of
an SQL problem. I'm guessing that the problem is that the server has
SQLServer 2005 but not express.

I can install Express, but I'm wondering if it wouldn't be better to
change the provider to use SQLServer? This is our intranet and the
number of users will never be over 15 simultaneous users so
scaling/performance isn't an issue.

I think it's easier to maintain using Express since I can just copy
the datafile between production and development as needed. Any reasons
to do one over the other? I don't actually know how to change the
provider but it looks like all I need to do is copy the provider
sections from machine.config into the web.config and create connection
strings as needed. Plus run aspnet_regsql!
Sep 14 '06 #1
2 1430
Most likely, you have to alter the connection strings to match the server's
SQL location. It will be in the <connectionStringsection.

You might also have different accounts or different security settings in
IIS. It is easier to set up SQL Server with sql connection strings (not
windows auth strings) on a server box. It is not necessarily the BEST way to
go, but you are more likely to have a login success locally with windows
authentication.

You can attach a SQL Express database in SQL Server proper. They are
identical.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think Outside the Box!
*************************************************
"dgk" <dg*@somewhere.comwrote in message
news:hm********************************@4ax.com...
I'm using the standard provider for membership which is SQLServer
Express. After deploying the app to our server, login fails because of
an SQL problem. I'm guessing that the problem is that the server has
SQLServer 2005 but not express.

I can install Express, but I'm wondering if it wouldn't be better to
change the provider to use SQLServer? This is our intranet and the
number of users will never be over 15 simultaneous users so
scaling/performance isn't an issue.

I think it's easier to maintain using Express since I can just copy
the datafile between production and development as needed. Any reasons
to do one over the other? I don't actually know how to change the
provider but it looks like all I need to do is copy the provider
sections from machine.config into the web.config and create connection
strings as needed. Plus run aspnet_regsql!

Sep 14 '06 #2
dgk
On Thu, 14 Sep 2006 19:08:35 -0500, "Cowboy \(Gregory A. Beamer\)"
<No************@comcast.netNoSpamMwrote:
>Most likely, you have to alter the connection strings to match the server's
SQL location. It will be in the <connectionStringsection.

You might also have different accounts or different security settings in
IIS. It is easier to set up SQL Server with sql connection strings (not
windows auth strings) on a server box. It is not necessarily the BEST way to
go, but you are more likely to have a login success locally with windows
authentication.

You can attach a SQL Express database in SQL Server proper. They are
identical.
Thanks. I'm also having trouble figuring out how to deal with
Membership and Profiles. Since this is an intranet app, there will be
no anonymous users and users will be set up by a supervisor. So I
thought that linking the user to the profile would be easy but
apparently there are some issues. I just scrapped the original mdf and
am starting over to see what is happening.
Sep 15 '06 #3

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

Similar topics

8
by: VB Programmer | last post by:
I would appreciate your assistance on this ASP.NET 2.0 site.... This is the wierd problem: While accessing the built in .NET functions for 'profiling' or 'membership' an error is generated (see...
9
by: Paul Keegstra | last post by:
Hi, I am currently working on an asp.net 2.0 web site that is a replacement of a classic asp web site. The current web site uses a Commerce Server 2002 database for storing user information. ...
2
by: DenniLi | last post by:
I have a perfectly working aspnet v2 website on my local machine with the following connection strings: <connectionStrings> <add name="ClubSiteDB" connectionString="Data...
3
by: Dan Sikorsky | last post by:
Can I use SQLServer 2000 with ASP.NET 2.0 instead of SQLServer 2005, and use the .Net 2.0 Membership functionality? I've setup my Login page, controls, etc., and now it's time to use the Web...
1
by: RAM | last post by:
Hello, I have to change password rules (minRequiredNonalphanumericCharacters="0"). According to information found in Internet I have updated web.config, but I receive runtime error: The entry...
1
by: Ben | last post by:
Hi, When an anonymous user has created an new account (with the CreateUserWizard control), i want to let asp.net generate a password and to send it to the address of the email provided by the...
4
by: Ben | last post by:
Hi, i have already posted a more or less similar thread but it's gone unsolved with the flow of the other threads .. When an anonymous user has created an new account (with the...
4
by: Torben Laursen | last post by:
Hi I am trying to find find the sqlserver express that is running on my computer using: DataTable dtSQLServers = SmoApplication.EnumAvailableSqlServers(false); It returns one row that holds...
8
by: Nick | last post by:
Hi there, Membership.GetNumberOfUsersOnline() works great the first time, then jumps up to the number of users registered in the system. I have tried enumerating through each user individually...
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: 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
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
Oralloy
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,...
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...

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.