Re: Publishing my Web Site
- From: "Jonathan Wood" <jwood@xxxxxxxxxxxxxxxx>
- Date: Mon, 11 Feb 2008 11:46:44 -0700
Scott,
For starters, there doesn't appear to be any place to enter my FTP username and password. Second, there doesn't appear to be any place to specify which files should be copied, etc.
How many files do you want to exclude? Just the DB and web.config?
I also have a folder that I keep my notes and some working graphics files.
Here's what I do:
1. Publish to a local folder.
2. Remove/modify files as needed (try to minimize this, of course).
3. Zip the entire folder.
4. FTP zip file to "sandbox" site.
5. Unzip the file on the server (hopefully your web host gives this ability)
6. Test
7. Copy the exact same zip file to production site.
8. Unzip the file on your production site.
I'm not sure if I have the ability to unzip a file on my host server. I'll check it out though.
Am I the only one who needs a different web.config file on my site from the one on my development machine? I seriously doubt it but MS seems to assume I am.
What, specifically, is different? For me, it's only connection strings, which I modify manually after the "publish" to a local folder.
There's a few things (some error settings, for example). Does this mean you have to recreate the settings after every time you publish your site?
When I attempt to run this command, I get an error that access is denied with my database file. That is expected since it is attached to SQL Server. But this feature doesn't seem to allow me to do anything about it.
Hmmm, I assume you mean the ".mdf" file? If so, why is it located inside your web site? I'd say put it somewhere else.
It's been a long road getting the darn thing to work. The next one won't be in a subfolder like that. I may move it sometime.
Thanks.
--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
.
- Follow-Ups:
- Re: Publishing my Web Site
- From: Scott Roberts
- Re: Publishing my Web Site
- References:
- Re: Publishing my Web Site
- From: Jonathan Wood
- Re: Publishing my Web Site
- From: Mark Rae [MVP]
- Re: Publishing my Web Site
- From: Jonathan Wood
- Re: Publishing my Web Site
- From: Scott Roberts
- Re: Publishing my Web Site
- Prev by Date: Re: Publishing my Web Site
- Next by Date: Updating a Record using a current record
- Previous by thread: Re: Publishing my Web Site
- Next by thread: Re: Publishing my Web Site
- Index(es):
Relevant Pages
|