See the top rated post in this thread. Click here

Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: Open read only turns into actual live drawing

  1. #1
    Time Lord Steve_Bennett's Avatar
    Join Date
    2015-12
    Location
    far, far, far away...
    Posts
    4,730
    Login to Give a bone
    0

    Default Open read only turns into actual live drawing

    I don't really know how to title this one. It's the strangest thing I've seen happen in a while and it is something that goes against every bit of logic I can think of. Here goes:

    Computer A opens drawing1.dwg on the local server and keeps it open.
    Computer B opens drawing1.dwg on the local server while computer A has it open still.
    While computer B is in the process of opening the file, computer A tries to save the file. When hitting the save button, computer A gets a message stating that the file is now locked for use and no longer able to save. In the meantime computer B opens the file just fine and receives no warnings that it is opening a read only file - it just simply opens the file as if computer A never had it open in the first place. It's as if the permissions for the file are switched from computer A to computer B with no one knowing about it until it is too late. This happens whether it is over the LAN or WAN. This also seems to happen on *.dwg files as well and not other files. This situation has been tested on word and excel files and it does not seem to happen with them.

    Computers are on XP pro, Server environment XP and the software is ADT 2006 w/ SP1 installed (please don't move to ADT forums - I believe this is an AutoCAD issue at heart and should be here in the AutoCAD forum unless you feel another one is more appropriate). Please let me know if you can shed any light on this confounding situation as I haven't a clue why this would happen!
    Last edited by Steve_Bennett; 2006-06-28 at 12:28 AM.
    Steve Bennett |BIM Manager
    Taylor Design | Adventures in BIM

  2. #2
    Digital Delivery Director Brian Myers's Avatar
    Join Date
    2003-02
    Location
    Stillwater, Oklahoma
    Posts
    1,819
    Login to Give a bone
    0

    Default Re: Open read only turns into actual live drawing

    The file is on the server. Computer B always takes over the file. Can I assume computer A and B are always the same computers?

    Does computer A create a DWK or DWL file? I'm thinking that perhaps Computer A doesn't create a successful drawing lock which allows computer B to open the file. When computer A tries to save it it reads the drawing lock created by computer B and provides the error you see.

    http://usa.autodesk.com/adsk/servlet...&linkID=518981

    I'd log a support request if you have not already, it sounds like a permissions issue to me. It can easily be tested by seeing if a drawing lock is created by the first computer then the second since AutoCAD can't disable its drawing locking...

    Edit: upon further thought in 2006 the drawing lock is controlled by the network software, not files (except DWG ownership) so this is basically out...
    Last edited by Brian Myers; 2006-06-28 at 02:05 AM.

  3. #3
    Time Lord Steve_Bennett's Avatar
    Join Date
    2015-12
    Location
    far, far, far away...
    Posts
    4,730
    Login to Give a bone
    0

    Default Re: Open read only turns into actual live drawing

    Quote Originally Posted by Dilbert
    The file is on the server. Computer B always takes over the file. Can I assume computer A and B are always the same computers?

    Does computer A create a DWK or DWL file? I'm thinking that perhaps Computer A doesn't create a successful drawing lock which allows computer B to open the file. When computer A tries to save it it reads the drawing lock created by computer B and provides the error you see.

    http://usa.autodesk.com/adsk/servlet...&linkID=518981

    I'd log a support request if you have not already, it sounds like a permissions issue to me. It can easily be tested by seeing if a drawing lock is created by the first computer then the second since AutoCAD can't disable its drawing locking...
    This scenario has been tested on multiple stations, so A and B can be different. That's an interesting link. It's similar to this one which has a rather shocking statement: http://usa.autodesk.com/adsk/servlet...linkID=2475323

    Unlike many other software programs, the Save function in AutoCAD involves releasing locks from files and either deleting or renaming them. The read-only error can occur if a request to rename or delete the original file arrives before the file lock is removed.
    This would seem to go against all logic, but appearantly it would seem that if one opens a file while another is saving it at the same time that since the dwl is removed the file can be open before it is saved. Am I understanding this correctly?
    Steve Bennett |BIM Manager
    Taylor Design | Adventures in BIM

  4. #4
    Digital Delivery Director Brian Myers's Avatar
    Join Date
    2003-02
    Location
    Stillwater, Oklahoma
    Posts
    1,819
    Login to Give a bone
    0

    Default Re: Open read only turns into actual live drawing

    Quote Originally Posted by Steve_Bennett
    This would seem to go against all logic, but appearantly it would seem that if one opens a file while another is saving it at the same time that since the dwl is removed the file can be open before it is saved. Am I understanding this correctly?
    No, actually I believe this is what its stating:

    The computer says "Unlock the file" . The server is slow. AutoCAD then says "Save the file". The server still has not unlocked the file, its going much slower than AutoCAD. AutoCAD comes back with an error because the original lock is still in place.

  5. #5
    Digital Delivery Director Brian Myers's Avatar
    Join Date
    2003-02
    Location
    Stillwater, Oklahoma
    Posts
    1,819
    Login to Give a bone
    0

    Default Re: Open read only turns into actual live drawing

    It is possible the server is slow enough that after the lock is removed the next version of AutoCAD may save first... which would create its own lock.

    But the slowness of this server would almost be un-imaginable for it to be happening on a regular basis...

    Are all these computers on the same hub? Was curious if perhaps since (or if) there is a steady data transfer if perhaps some packet loss was occurring... then again if it was there would be other more prominent issues besides this so that rules that out....

  6. #6
    Time Lord Steve_Bennett's Avatar
    Join Date
    2015-12
    Location
    far, far, far away...
    Posts
    4,730
    Login to Give a bone
    0

    Default Re: Open read only turns into actual live drawing

    Quote Originally Posted by Dilbert
    It is possible the server is slow enough that after the lock is removed the next version of AutoCAD may save first... which would create its own lock.

    But the slowness of this server would almost be un-imaginable for it to be happening on a regular basis...

    Are all these computers on the same hub? Was curious if perhaps since (or if) there is a steady data transfer if perhaps some packet loss was occurring... then again if it was there would be other more prominent issues besides this so that rules that out....
    I have no idea if they are all on the same hub or what their connection to the server is... I will talk with their IT folks again tomorrow and see. Thanks for thinking about it! Maybe others will have another idea after seeing this.
    Steve Bennett |BIM Manager
    Taylor Design | Adventures in BIM

  7. #7
    Digital Delivery Director Brian Myers's Avatar
    Join Date
    2003-02
    Location
    Stillwater, Oklahoma
    Posts
    1,819
    Login to Give a bone
    0

    Default Re: Open read only turns into actual live drawing

    Quote Originally Posted by Steve_Bennett
    I have no idea if they are all on the same hub or what their connection to the server is... I will talk with their IT folks again tomorrow and see. Thanks for thinking about it! Maybe others will have another idea after seeing this.
    I had a bad hub about 5 years ago really mess-up my network, that can cause slower speeds not on the server, but TO the server, but it likely would be noticed in other ways such as drawing access times, etc. as well. But I doubt this is the issue in this case.... it still sounds like how the network was set-up. Wish I could have had a better answer!

  8. #8
    Time Lord Steve_Bennett's Avatar
    Join Date
    2015-12
    Location
    far, far, far away...
    Posts
    4,730
    Login to Give a bone
    0

    Default Re: Open read only turns into actual live drawing

    So no one else has any thoughts, huh? Buggers cause they say it's getting worse.
    Steve Bennett |BIM Manager
    Taylor Design | Adventures in BIM

  9. #9
    Digital Delivery Director Brian Myers's Avatar
    Join Date
    2003-02
    Location
    Stillwater, Oklahoma
    Posts
    1,819
    Login to Give a bone
    0

    Default Re: Open read only turns into actual live drawing

    Quote Originally Posted by Steve_Bennett
    So no one else has any thoughts, huh? Buggers cause they say it's getting worse.
    Worse? How so?

  10. #10
    Time Lord Steve_Bennett's Avatar
    Join Date
    2015-12
    Location
    far, far, far away...
    Posts
    4,730
    Login to Give a bone
    0

    Default Re: Open read only turns into actual live drawing

    Quote Originally Posted by Dilbert
    Worse? How so?
    They say more people are starting to get the same error more frequently. I told them to not open drawings as read-only then. Of course we all know how well that! went over...
    Steve Bennett |BIM Manager
    Taylor Design | Adventures in BIM

Page 1 of 2 12 LastLast

Similar Threads

  1. Open Read-Only: The ability to open a worksharing enabled file in a read only mode.
    By revit.wishlist1942 in forum Revit Architecture - Wish List
    Replies: 5
    Last Post: 2012-09-05, 07:02 PM
  2. Open Drawing read-only from Explorer
    By rkmcswain in forum AutoCAD Tips & Tricks
    Replies: 17
    Last Post: 2011-03-29, 05:00 PM
  3. Open drawing read-only via command line
    By JasonSelf in forum AutoLISP
    Replies: 34
    Last Post: 2009-01-12, 05:55 AM
  4. Variable to control Save if a drawing is open Read Only
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 4
    Last Post: 2008-02-27, 07:18 PM
  5. Open XREF Drawing Read Only
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 0
    Last Post: 2007-10-08, 03:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •