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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Server error: Cannot open file "service.lck" for writing

Status
Not open for further replies.

usarmycwo

Technical User
May 28, 2005
7
US
Have just discovered this great website. If you guys can't help, no one can.

And so far, none of the solutions I've seen here or elsewhere has worked for me.

Before deploying to Afghanistan last year, I backed up all my data to two CDs, then deleted all the data from our home computer just in case the house was burgled while wife was at work.

While gone, wife had problem with the computer. Friend loaned us a spare computer with XP. What a difference in speed, especially during bootup. So when I returned I started fresh, reformatting the hard drive and installing XP w/SP2. Works great.

Except that the files I put back onto the computer from the CDs are marked read only.

Now we all know why that is, and we know all you have to do is uncheck the box. To make it better, we can tell Windows to also reset the subfolders.

As we also know, it doesn't work, whether tried as user or administrator. Googling this problem shows it's a common one.

Microsoft's solution is to use the old attrib command to reset the read-only attribute. It doesn't work, either. I'm comfortable enough with DOS to know I was doing it right. Also, another post found on Google said it didn't work for him either.

I found a folder on my drive with only a few .doc files and checked them one by one. None of them was marked read-only, yet the folder was.

So why does this matter?

Because when I try to edit my personal website with FrontPage, I get this: Server error, cannot open file "service.lck" for writing.

I get the error only when I'm logged in as user. When logged in as administrator, no error message. Googling the error message is what led me to the read-only solution.

But I don't want to be connected to the Internet when logged in as administrator. (Paranoia? Yes.) So I've got to edit the website as administrator, switch over to user, log on to the Internet (dial-up, no less), publish the changes, find a change didn't work well, switch back as administrator, fiddle with it, switch back to user, log back on the internet, see what it looks like ... ad nauseum.

It appears that read-only attribute is a "feature" of Win XP, and is unfixable. Or is it?

Or is the service.lck error message fixable another way?
 
You lost me as to which site hd or host server had the read write problem... The site on the net ...is that read only? If not If you have FPSE on the server open the site live and publish it to your hard drive.

How did you move the site from the cd?

Have you tried using FrontPage to publish the files from the cd to a new web in fp? .. not drag insert copy or paste but publish?

Tina

 
tinaalice -- I appreciate your interest, and apologize for the confusion.

Let me try to describe the situation again.

I was deployed to Afghanistan last year. Before leaving, I backed up all data from my home computer to a couple CDs, put them in a safe deposit box just in case the computer was stolen while I was gone (and the wife was out of the house).

Returning home, I decided to load Win XP instead of the Win 2000 that had been there (and what an improvement in bootup speed), at which time I created 3 accounts: 1) wife, 2) me as user, and 3) me as administrator.

Then I put the data back onto the hard drive. Don't know if it matters, don't think it should, but I put it all into a logical drive D:. C: is for the OS and applications, E: is for photos. In other words, the D: drive is visible to any user.

OK, so now I want to update my personal website. I open my old FrontPage 2000 and try to open the web I've created, but it won't open, with that "service.lck" error message.

Some Google research shows a common cause for that is exactly what's happened, ie, backing up to CD and then copying back to hard drive.

In the past, I had no problem resetting the read-only attribute. Now I can't do it, not manually within Windows Explorer or even in DOS, and not automatically with a program like Properties Plus or ArcSoft.

My "solution" has been, one I've learned to live with, is to do all my web editing logged in as administrator, log on to my ISP as administrator, publish my changes, then skedaddle back off.

But I've got almost the same problem with all the backed up files in D: drive. I can open them, and I can edit them, but I can't save the file afterwards.

I suspect it has something to do with who created the file isn't the same "person" as who's using it now. But I don't know how to check or fix this.

Hope you've got an idea or two.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top