Copying web to another computer (Full Version)

All Forums >> [Web Development] >> Server Issues



Message


Tad -> Copying web to another computer (12/11/2002 22:52:55)

I have a dilemma. I am trying to copy my web from one computer to another. If I copy the web to a cd and then try to open it on the other computer, I get an error message that says, " The server extensions were unable to access the file " c:\windows\desktop\my webs\vti_pvt\\service.lck" . Please check the files permissions."

How do I change the file permissions? I even tried to publish the files to the 2nd computer, but I got the same message. Any ideas would be helpful. Thanks.

Tad





storm -> RE: Copying web to another computer (12/12/2002 8:30:56)

copy it off the CD to the local drive first.




Mike54 -> RE: Copying web to another computer (12/12/2002 8:39:56)

You' ll have to open the vti_pvt folder and change the properties of the files. Right click on them and unselect " Read Only" in the Attributes section. I don' t believe this is reset just by copying the files to your hard drive.




abbeyvet -> RE: Copying web to another computer (12/12/2002 9:58:09)

I have always found that the easiest way to do this is to publish to a server from computer 1, then open the site live from the server and publish it back down to computer 2.




storm -> RE: Copying web to another computer (12/12/2002 12:35:15)

you can' t remove the read only attribute if it' s sitting on the cd. hence, copy it to the local drive first.




Mike54 -> RE: Copying web to another computer (12/12/2002 13:28:41)

Hi storm,

quote:

You' ll have to open the vti_pvt folder and change the properties of the files. Right click on them and unselect " Read Only" in the Attributes section. I don' t believe this is reset just by copying the files to your hard drive.


I should have been more clear. I meant it as an ammendment to your statement.[:)]




Doug G -> RE: Copying web to another computer (12/12/2002 18:53:41)

If you are only putting the web on CD to move it, you can winzip up the web folder first and unzip it on the target. This keeps all the files from becoming read only when restored.




garry -> RE: Copying web to another computer (12/13/2002 5:03:55)

How you going Tad......getting th hang of it.

Good point Doug! will have to try that.

Katherine' s answer is the easiest for someone who is not PC saavy, just publish it back to the new PC from the web (and hope it isnt 50 mb)

The guys should of been a bit more specific for you in regards to the private folder

You need to go in via explorer to your web folder ...ie the vti_pvt and open it , you should see about 7 files.
right click on the 2 Service files >properties>& uncheck the read only.
Also delete the service.LCK file........yes delete!

You may still find you will need to republish your " new" web to the www as you have modified the .lck file.

That is why it is sometimes just as easy to follow Katherine' s advice. (as you have to do it (upload/backload)either way)

Had a problem last week where I just dragged my webs onto a disk and redragged them after a format. Everything opened fine and uploaded fine and I did not have to go through the above dilemmas. that was xp fp2002 to xp fp2002 though.

Cheers from the Outback




Tad -> RE: Copying web to another computer (12/13/2002 10:34:34)

Thank you all for your tips and suggestions! I had a couple of things come up yesterday and didn' t get a chance to try them out yet. Tonight, however, I am planning to give it a shot. I will let you know how it worked.

Thanks again,

Tad




Tad -> RE: Copying web to another computer (12/16/2002 0:33:39)

I have given your suggestions a try and almost everything worked perfect. I say almost because for some odd reason, when I go to Preview in Browser and select links to any of my .asp pages, I get the File Download box. I am left with only 2 choices; one, to save to disk; and two, to open from the current location. " Current location" however is FrontPage itself, and when I click on the link, I am taken back to FrontPage and the page is opened there. Very odd. I have been having some issues with these asp pages, and that' s why I wanted to test on another machine. Has anyone else had this happen?




Doug G -> RE: Copying web to another computer (12/16/2002 22:47:06)

You must serve up asp pages through a web browser. You can' t just open an asp page from windows explorer.

The asp code is processed by a dll on the web server, and the results are then sent to your web browser. You can use PWS or IIS locally and open your browser to something like " http://localhost/myweb/mypage.asp"




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625