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

  • Thread starter Thread starter George Wei
  • Start date Start date
G

George Wei

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
 
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/
======================================
 
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/
======================================
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top