question

Raja Sekaran avatar image
1 Like"
Raja Sekaran asked Raja Sekaran commented

Webserver configuration - stuck at "replacing macros"

I have followed the instructions regarding the FlexSim Webserver, but I am struck with this point:

"Replace any %DOCUMENTS% or %PROGRAMFILESX86% macros in the directories in flexsim webserver configuration.txt with the full path of the directory"

here I am not understand, what to replace in the "Flexsim web configuration.txt".

Currently in "Flexsim web configuration.txt"

Flexsim Program Directory: "%PROGRAMFILES%\FlexSim 2017\program"

Model Directory: "%DOCUMENTS%\FlexSim 2017 Projects"

this path is flexsim installed path.

after that, all the steps are done and it opened in IIS, but I am not able to upload the model in my localhost.

Can you tell me where I made the mistake?.

Thanks in advance.

FlexSim 17.1.2
webserverconfigurationmacroiismacros
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Jacob Gillespie avatar image
3 Likes"
Jacob Gillespie answered Raja Sekaran commented

Replace %PROGRAMFILES%\FlexSim 2017\program with something like C:\Program Files\FlexSim 2017\program.

Similarly, replace %DOCUMENTS%\FlexSim 2017 Projects with something like C:\Users\user.name\Documents\FlexSim 2017 Projects.

You should do this because these macros don't always translate to a correct path when running the server from a system process (like IIS does) instead of a user process.

Also it might be better to place the model folder in another location that isn't in a user's Documents folder. The server may or may not have access to Documents folders depending on how you set up the server.

· 10
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.