Re: membership, SQLExpress and/or SQLServer



Most likely, you have to alter the connection strings to match the server's
SQL location. It will be in the <connectionString> section.

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" <dgk@xxxxxxxxxxxxx> wrote in message
news:hm5jg29e4ulsnfg98ue4siht8pklmlvn99@xxxxxxxxxx
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!


.



Relevant Pages

  • Re: !!
    ... I installed sql 2005 compact Edition. ... Everytime I try to connect, iot asks me for provider, a server and a database. ... SQL Server 2005 Compact Edition. ...
    (microsoft.public.vb.general.discussion)
  • Connecting to remote SQL database on the sbs does not work but will work on the workstations
    ... Hello we are soon creating a new system that will require our sql ... database on our websites dedicated server. ... An error has occurred while establishing a connection to the server. ... (provider: TCP Provider, error: 0 - A socket operation ...
    (microsoft.public.windows.server.sbs)
  • RE: OLE DB Provider - how tell to not use cursor internally for jo
    ... from server to client. ... me under SQL 2000 error, because DBE OLE provider use cursor for join tables. ... Under SQL 7.0 it run well, the cursor isn't use for join tables. ...
    (microsoft.public.sqlserver.programming)
  • Re: Woher kommt das Timeout?
    ... Im SQL Query Analyzer (SQL Server 2000). ... Also, ich will einen linked server in MS SQL Server 2000, also brauche ich ... OLE DB-Fehlertrace [OLE/DB Provider 'LCPI.IBProvider.2' ...
    (microsoft.public.de.sqlserver)
  • Re: Error trying to connect to local database - What is going on?
    ... If you have SQL 2000 but getting errors about SQL 2005 then most likely you ... Server 2000, and both the server and web site are on the same machine, so ... the web sites were using a connection string like... ... (provider: TCP Provider, error: 0 - No connection could be ...
    (microsoft.public.dotnet.framework.aspnet)