Rank: Newbie
Groups: Member
Joined: 2/18/2007(UTC) Posts: 4 Location: Taiwan
|
I have hosted my site here. Can I use "Database publishing wizard"? http://www.codeplex.com/...se%20Publishing%20Wizard
I'm not sure if this tool can solve my problem yet.
Actually, here is what I want to do: 1. I have Visual Studio 2005 and Visual Web Developer 2005 Express 2. I have SQL Server 2005 in machine A and SQL Server 2005 Express in machine B 3. I want to develop a ASP.NET 2.0 application with "Membership", so there is a ASPNETDB.MDF in \App_Data 4. How do I deploy this application to the server? 5. I have several databases used by the application in machine A's SQL Server 2005. How do I upload to/replace with/synchronize with my site's database?
I assume there're some useful tools that can help me work with the hosted environment better. Please advice.
Thanks!
Edited by user Thursday, February 22, 2007 2:30:06 AM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Member
Groups: Member
Joined: 5/20/2006(UTC) Posts: 15
|
I think u can use the publishing wizard but before that you must do the following :
1-Create the databases in your the control panel . 2-You need to change the name of the database (aspnetdb.mdf) because your are in a shared environment . 3-you need to change your web.config to match the connection string (see KB). 4-you need to change the membership provider to match the new db which is something like this :
<providers> <remove name="AspNetSqlMembershipProvider" /> <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, ulture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="The name of your connection" ........
After that i think you can publish your data .
|
|
|
|
Rank: Administration
Groups: Administration, Member Joined: 1/3/2006(UTC) Posts: 348 Was thanked: 1 time(s) in 1 post(s)
|
tareq wrote: I think u can use the publishing wizard but before that you must do the following :
1-Create the databases in your the control panel . 2-You need to change the name of the database (aspnetdb.mdf) because your are in a shared environment . 3-you need to change your web.config to match the connection string (see KB). 4-you need to change the membership provider to match the new db which is something like this :
<providers> <remove name="AspNetSqlMembershipProvider" /> <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, ulture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="The name of your connection" ........
After that i think you can publish your data .
Thank you Tareq, Did you try this marty1101 ? |
Noman Dormosh
HostingFest |
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The HostingFest Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close