Please define more clearly "the same issue".
If you are deploying by using a hosting service
and your message is still saying
C:\Documents and Settings\Server\My Documents\Visual Studio 2005\WebSites\MyProject\App_Data\aspnetdb.mdf
it follows you will have difficulty.
Your remote path will be different.
If will not likely ever be C:\Documents and Settings\ ...
Example:
When I deploy to IIS6, I create a folder like
c:\xyz\myapp
I publish to my own hard drive first in c:\myasp\myappPublish.
I ftp the files from c:\myasp\myappPublish to c:\xyz\myapp.
(The first c: drive is my local c: drive; the second drive is the servers c: drive.
I run inetmgr, right click ...\Web Sites\Default Web Site\ and choose
New, Virtual Directory... and navigate to c:\xyz\myapp.
It might help you get a useful answer if you could describe your
deployment process with substantial detail.
Regards,
Gerry (Lowry)
Gerry Lowry, Principal
Ability Business Computer Services ~~ Because it's your Business, our Experience Counts!
68 John W. Taylor Avenue
Alliston · Ontario · Canada · L9R 0E1 · gerry.lowry@abilitybusinesscomputerservices.com
Websites:
http://abilitybusinesscomputerservices.comhttp://gerrylowryprogrammer.com ~~
résumé & testimonials
http://veganoccasions.com ~~ recipes by
Susan