Question

AutoCAD Writer: Failed to open file in method.


Badge +3

Hello FME Community,

I have a workspace running smoothly on FME Desktop, but as soon as I launch the workspace on FME Server, I'm confronted with an error message like this:

The workspace reads some data from different sources, performs some hocus pocus and finally writes to autocad format. I've replaced the Autocad writer with a simple .txt writer, to ensure the problem is not situated at the writer.

The FME Server account has writing permissions to the folder location I'm trying to populate with some data.

Since I'm creating a new Autocad-file, I'm quite confused with this error message. The file is generated by my workspace, so it can't be opened in another program.

What can be causing this error ?

Has anyone experienced this error before ?

Kind regards,

Dries


11 replies

Badge +10

Hi Dries,

Can it be that workspace is trying to call a template .dwg-file that is not correctly referred to? Maybe the path is not set as a Parameter?

Kind regards,

Lars de Vries

Badge +3

Hi Dries,

Can it be that workspace is trying to call a template .dwg-file that is not correctly referred to? Maybe the path is not set as a Parameter?

Kind regards,

Lars de Vries

HI lars_de_vries,

 

Thank you for the suggestion. I'm using a template .dwg file but it is correctly refered to and also set as a parameter. This is not causing the error. Kind regards. Dries

 

Badge +10
HI lars_de_vries,

 

Thank you for the suggestion. I'm using a template .dwg file but it is correctly refered to and also set as a parameter. This is not causing the error. Kind regards. Dries

 

 

Hi Dries, can you relate the .dwg file to a certain parameter and see from that point forward what goes wrong?
Userlevel 4
Badge +25

My best guess is that this is an encoding problem. Is the FME Server machine a different locale or encoding than the Desktop machine? That might be one cause of the problem.

Badge +3

My best guess is that this is an encoding problem. Is the FME Server machine a different locale or encoding than the Desktop machine? That might be one cause of the problem.

Mark2AtSafe,

 

Thank you for the suggestion, but both machines use the same locale and encoding.

 

Badge +3
This problem was not related to the writer format, nor the permissions. I've solved it finally by building the workspace again from scratch by copying the whole workspace in a new one. This ran smoothly.

 

 

 

Userlevel 4
Badge +25
This problem was not related to the writer format, nor the permissions. I've solved it finally by building the workspace again from scratch by copying the whole workspace in a new one. This ran smoothly.

 

 

 

Sad that you would have to do that, but at least it is working now. Perhaps if this happens again you can contact our support team and ask for assistance? http://support.safe.com - then we'll have a formal record of the issue and can get the developers to investigate. Thanks.

 

 

Userlevel 4
Badge +25
Mark2AtSafe,

 

Thank you for the suggestion, but both machines use the same locale and encoding.

 

OK. All the cases I could find on our internal systems gave that error in response to an encoding problem, which is why I mention it. But I guess there are many other reasons for it too!

 

 

Sad that you would have to do that, but at least it is working now. Perhaps if this happens again you can contact our support team and ask for assistance? http://support.safe.com - then we'll have a formal record of the issue and can get the developers to investigate. Thanks.

 

 

Hi Mark,

I have exactly the same problem and i don't find any solution. I try to copy all my workspace in a new one but that doesn't work.

How can I solve this problem ?

Do you need my workspace ?

Bests Regards

Florent
Userlevel 4
Badge +25

Hi Mark,

I have exactly the same problem and i don't find any solution. I try to copy all my workspace in a new one but that doesn't work.

How can I solve this problem ?

Do you need my workspace ?

Bests Regards

Florent

Hi Florent,

Can you post this as a new question please? Then it will be easier for everyone to find and help you. Please include as much information as you can, for example the version of FME that you are using.

Thanks

Mark

Hi Mark,

I have exactly the same problem and i don't find any solution. I try to copy all my workspace in a new one but that doesn't work.

How can I solve this problem ?

Do you need my workspace ?

Bests Regards

Florent

We found the problem.

We have a machine with FME Server and a user "FME server". During this week-end the writing rights on the network with the user "FME server" were cancelled.

The problem was resolve with restoring writing rights on the network of the user "FME server"

Reply