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.

Raja Sekaran avatar image Raja Sekaran commented ·

Hi,

Thanks for your assistance. As per your advice, I have replaced the directory path also place the model folder in another location, now I can able to start instances but when I click “connect to instance” not able to view the web interface for my model, it looks like this capture1.png can you tell me why it looks like this?

Thanks.

0 Likes 0 ·
capture1.png (86.0 KiB)
Jacob Gillespie avatar image Jacob Gillespie ♦ Raja Sekaran commented ·

@Raja Sekaran What version of FlexSim are you using? Your screenshot looks like the interface you would get when connecting to an instance of FlexSim 7.7

It would be helpful to get anything logged to the console. Press F12 to open that up.

1 Like 1 ·
Raja Sekaran avatar image Raja Sekaran Jacob Gillespie ♦ commented ·

@Jacob Gillespie, I am using version 17.1.2. I have attached the screenshot of inspect element for your reference. capture1.pngcapture2.png

0 Likes 0 ·
capture1.png (94.3 KiB)
capture2.png (101.8 KiB)
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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