Hi
We have stored lisp in fileserver which 30 users can access it. Now a day some users have getting the ‘failed to open project’ error after load the Lisp due to this they r also not getting most of the commands. The full rights have been given to appropriate folder which contains (Autolisp application source file, .vlx, Autocad VBA source). It has working for limited users (8-10 users).
Server OS: Windows server 2008
Anybody have idea ?
Note: Previously we had used windows server 2003.
Hi,
There was a logged change request for this error when loading a .dvb file from a network drive. The "Failed to open Project" error would occur when the 22nd user accessed the .dvb file. (This has been fixed for several releases now). I am not sure what is causing this behavior on your system after only 10 or so people have accessed the file.
The work around for this behavior was to have a macro that loads the project from the server. If the file load fails, then the macro will load another copy of the project on the server. You can create a vlisp version of this macro & place it in your acad.lsp file.
Sub test()
Dim strFile1 As String
Dim strFile2 As String
strFile1 = "x" 'modify this line to point to the location of the dvb project on the server
strFile2 = "y" ' file y should be a copy of x on the server.
On Error Resume Next
AcadApplication.LoadDVB (strFile1)
If Err Then
Debug.Print Err.Description
AcadApplication.LoadDVB (strFile2)
Err.Clear
On Error GoTo 0
End If
End Sub
I hope this helps.
Wayne Brill
Autodesk Developer Network