Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Login Controls and aspnet_regsql

Reply
Thread Tools

Login Controls and aspnet_regsql

 
 
=?Utf-8?B?T3dlbiBSaWNoYXJkc29u?=
Guest
Posts: n/a
 
      09-10-2006
I have been running and testing stuff ok on my dev machine, but have been
forced to consolidate my databases at my hosting company - i created a db
there, and i ran the aspnet_regsql wizard. I filled that out, and sure enough
i created the tables etc on my remote database.

What i dont know and cant seem to understand or figure is how or where i
tell the system what db these tables are on; i have googled around a little
and cant find the answer - i am sure i need to do something simple.

When i run a createuser wizard and hit the button the system throws up an
error (i cant see the error, it drops me to a standard error page); i presume
the reason is that .net doesnt know the location of the login info.

Please help.

 
Reply With Quote
 
 
 
 
Hayden Kirk
Guest
Posts: n/a
 
      09-11-2006
Hey

This took me awhile to find as well... add this to your config:

<connectionStrings>

<remove name="LocalSqlServer" />

<add name="LocalSqlServer" connectionString="Data Source=IP_ADDRESS;Initial
Catalog=DATABASE;Integrated Security=True"
providerName="System.Data.SqlClient" />

</connectionStrings>

That should help... this area doesn't seem to be well documented.


"Owen Richardson" <> wrote in
message news:66EEA4D4-5BE9-4A86-8FCE-...
>I have been running and testing stuff ok on my dev machine, but have been
> forced to consolidate my databases at my hosting company - i created a db
> there, and i ran the aspnet_regsql wizard. I filled that out, and sure
> enough
> i created the tables etc on my remote database.
>
> What i dont know and cant seem to understand or figure is how or where i
> tell the system what db these tables are on; i have googled around a
> little
> and cant find the answer - i am sure i need to do something simple.
>
> When i run a createuser wizard and hit the button the system throws up an
> error (i cant see the error, it drops me to a standard error page); i
> presume
> the reason is that .net doesnt know the location of the login info.
>
> Please help.
>



 
Reply With Quote
 
 
 
 
=?Utf-8?B?T3dlbiBSaWNoYXJkc29u?=
Guest
Posts: n/a
 
      09-11-2006
Thanks Hayden!

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Login Failed after running aspnet_regsql cs_in_va ASP .Net 1 03-07-2008 05:15 PM
Question about ASP.NET login controls and the SQL Server tables created by aspnet_regsql Ted ASP .Net Security 0 02-10-2007 03:25 AM
aspnet_regsql Database Errors jj .NET ASP .Net 0 06-06-2006 10:37 PM
ASPNETDB.mdf versus using aspnet_regsql.exe and SQL database va ASP .Net Security 0 02-19-2006 11:57 PM
Caching using aspnet_regsql Meena Desai ASP .Net 0 02-14-2005 08:53 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57