Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why copy websites from 1 server to a new server generates errors?

Status
Not open for further replies.

BunBo900

MIS
Dec 11, 2009
50
US
when I copy a whole website from development server to my localhost server, it generates all kind of errors below is one of the errors. The site under dev server is working fine I just want to play with it on my localhost. Eventhough it said files not exist, I checked everything is copied over. Does anyone know why? Thx.


Parser Error Message: The file '/PO/POAdmin/admin.master' does not exist.



 
you are copying from your local computer to a development computer? if this is correct the problem is most likely permissions.

while developing locally you are running the webserver as yourself. therefore you have access writes as if the website were you. The server and client are also the same physical box. these can cause problems when deployed to a server because:
1. the website runs under the IIS account, not your account.
2. the server and client are different boxes. this is a problem if the file you want the server to read is on your local box.

assuming this is the issue, you will need to either
1. adjust the local of the files so the IIS account can access them (for example placing the file(s) within the virtual directory
2. adjust the permissions of the IIS account so the file can be read.

Jason Meckley
Programmer

faq855-7190
faq732-7259
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top