Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

'failed to open project' after load the lisp

1 REPLY 1
Reply
Message 1 of 2
Anonymous
400 Views, 1 Reply

'failed to open project' after load the lisp

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.

1 REPLY 1
Message 2 of 2
wayne.brill
in reply to: Anonymous

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

 



Wayne Brill
Developer Technical Services
Autodesk Developer Network

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost