468,107 Members | 1,439 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,107 developers. It's quick & easy.

Is SQL Server 2005 Express is the only choice to work with Login controls?

Dear all,

I try to use the Login control newly provided in VWD 2005 Express. It is
said in the online help that it must have SQL Server 2005 Express installed
to save the credential infomation. For SQL Server 2005 Express is still in
beta and it provides little management tools, it's difficult to
manage/manipulate the database objects. So I want to use SQL Server 2000
instead of it, but I can not find any information to configure the
environment to make this solution work properly. Can somebody give me some
constructive information? Thanks a lot.

Regards,
George
Nov 19 '05 #1
5 1546
Read http://forums.asp.net/974545/ShowPost.aspx
for instructions on what you have to do.

Basically, run aspnet_regsql.exe from your .net framework folder.

You might have to make a change to your web.config, too :

<connectionStrings>
<remove name="LocalSqlServer" />
<add name="LocalSqlServer" connectionstring="connection string to SQL Server 2000" />
</connectionStrings>

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"George Wei" <no****@yahoo.com> wrote in message
news:Xn***************************@207.46.248.16.. .
Dear all,

I try to use the Login control newly provided in VWD 2005 Express. It is
said in the online help that it must have SQL Server 2005 Express installed
to save the credential infomation. For SQL Server 2005 Express is still in
beta and it provides little management tools, it's difficult to
manage/manipulate the database objects. So I want to use SQL Server 2000
instead of it, but I can not find any information to configure the
environment to make this solution work properly. Can somebody give me some
constructive information? Thanks a lot.

Regards,
George

Nov 19 '05 #2
Here's a more specific web.config entry :

<connectionStrings>
<remove name="LocalSqlServer"/>
<add name="LocalSqlServer" connectionString="Data Source=YourSQL2000ServerName;Integrated
Security=SSPI;Initial
Catalog=aspnetdb" providerName="System.Data.SqlClient"/>
</connectionStrings>

You might want to change the security model from Integrated to a login
account you create for the database, preferrably making it the dbo.

This assumes that you named the database "aspnetdb",
which is the default name.


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Read http://forums.asp.net/974545/ShowPost.aspx
for instructions on what you have to do.

Basically, run aspnet_regsql.exe from your .net framework folder.

You might have to make a change to your web.config, too :

<connectionStrings>
<remove name="LocalSqlServer" />
<add name="LocalSqlServer" connectionstring="connection string to SQL Server 2000" />
</connectionStrings>

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"George Wei" <no****@yahoo.com> wrote in message
news:Xn***************************@207.46.248.16.. .
Dear all,

I try to use the Login control newly provided in VWD 2005 Express. It is
said in the online help that it must have SQL Server 2005 Express installed
to save the credential infomation. For SQL Server 2005 Express is still in
beta and it provides little management tools, it's difficult to
manage/manipulate the database objects. So I want to use SQL Server 2000
instead of it, but I can not find any information to configure the
environment to make this solution work properly. Can somebody give me some
constructive information? Thanks a lot.

Regards,
George


Nov 19 '05 #3
Scott Guthrie just published very explicit instructions to do that.

http://msdn.microsoft.com/asp.net/de...aspnet_sql.asp

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"George Wei" <no****@yahoo.com> wrote in message
news:Xn***************************@207.46.248.16.. .
Dear all,

I try to use the Login control newly provided in VWD 2005 Express. It is
said in the online help that it must have SQL Server 2005 Express installed
to save the credential infomation. For SQL Server 2005 Express is still in
beta and it provides little management tools, it's difficult to
manage/manipulate the database objects. So I want to use SQL Server 2000
instead of it, but I can not find any information to configure the
environment to make this solution work properly. Can somebody give me some
constructive information? Thanks a lot.

Regards,
George

Nov 19 '05 #4
"Juan T. Llibre" <no***********@nowhere.com> wrote in
news:#S**************@TK2MSFTNGP12.phx.gbl:
Scott Guthrie just published very explicit instructions to do that.

http://msdn.microsoft.com/asp.net/de...ary/en-us/dnas
pp/html/configaspnet_sql.asp

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/


That really works! Thanks a lot.

Regards,
George
Nov 19 '05 #5
Hello,

I have done the steps to create a new SQL DB, run the tool to populate the
tables
and modified the web.config.

However, I cannot get the WebAdmin tool to use the remote SQL server to modify
the security settings.

Is there any updated information on this?

Thank you,
Exchange2003

"Juan T. Llibre" wrote:
Scott Guthrie just published very explicit instructions to do that.

http://msdn.microsoft.com/asp.net/de...aspnet_sql.asp

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"George Wei" <no****@yahoo.com> wrote in message
news:Xn***************************@207.46.248.16.. .
Dear all,

I try to use the Login control newly provided in VWD 2005 Express. It is
said in the online help that it must have SQL Server 2005 Express installed
to save the credential infomation. For SQL Server 2005 Express is still in
beta and it provides little management tools, it's difficult to
manage/manipulate the database objects. So I want to use SQL Server 2000
instead of it, but I can not find any information to configure the
environment to make this solution work properly. Can somebody give me some
constructive information? Thanks a lot.

Regards,
George


Nov 19 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Arpan | last post: by
2 posts views Thread by Tor Inge Rislaa | last post: by
3 posts views Thread by Lee T. Hawkins | last post: by
3 posts views Thread by Kevinp | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.