I am having trouble deploying a web site I have developed to my web hosting provider. I hope this is an appropriate forum.
1. DEVELOPMENT SCENARIO
a) I have configured and developed a 'File System' web site project on my local PC.
b) The site uses the default 'Login' and 'Membership' controls.
c) A SQL Server 2005 Express database called ASPNETDB.MDF was automatically created in the \App_Data directory.
d) The 'Login' and 'Membership' controls all use the above database successfully.
2. DEPLOYMENT ISSUES
I want to deploy my site from my local 'File System' to my web hosting provider, and am having some challenges:
a) My web hosting provider has not implemented SQL Server 2005 Express. However, they allow me to create one (1) full SQL Server 2005 database. The database can be named anything I choose, but must reside in the \db directory (which is on the same level as the wwwroot directory where the web files reside).
The site structure is as follows:
\db
MyDatabase
\logs
\wwwroot
\App_Data
\Images
default.aspx, etc. ...
- How do I modify my ASP.NET 2.0 website's settings so that the 'Login' and 'Membership' controls use the database in the \db folder?
- What is the best way to deploy my site successfully, so that all the controls still work, as they do on my local 'File System' version? I've tried the 'Copy Website' technique but this doesn't work so good with the Database and Login Controls issues that I am having.
Any good references or help will be appreciated.
NetMeister