Skip to main content
Solved

Script A Rest - DLLs temp folder access denied error


nithbtns111
Sidekick (Partner)
Forum|alt.badge.img+5

I face below problem with Script A Rest RMB
 


All the DLLs inside the temp folder seems not accessible by the application when using the RMB.

But if I run a command from Script A Rest.exe works as expected

 


Not sure this is an error in the latest build of the tool.

I downloaded from below link 
https://docs.ifs.com/techdocs/24r1/060_development/050_development_tools/150_script_a_rest/#appsettingsconfig

I have used this tool earlier without any problem. RMB works as expected. 

Best answer by nithbtns111

The problem was appsetting file is not read in RMB only cmd info.

 


When I edit the cmd file works fine.

View original
Did this topic help you find an answer to your question?

8 replies

Forum|alt.badge.img+2
  • Do Gooder (Employee)
  • 5 replies
  • May 5, 2025

HI,

Could you please uninstall the SAR tool using “_uninstall.cmd” and reinstall by downloading it again. 

Use “Script-A-Rest_commandline_latest.zip” package if you are using windows operating system. Then use “_install.cmd” to install the tool. 

Better if you could clear temp data by deleting folder at C:\Users\<user_name>\AppData\Local\Temp\.net\ScriptARest

 

Thanks,

Nirmal Perera


nithbtns111
Sidekick (Partner)
Forum|alt.badge.img+5
  • Author
  • Sidekick (Partner)
  • 13 replies
  • May 6, 2025

@nirmal.perera thank you for your response.

I did all the steps you mentioned (uninstall, install, delete SAR folder in Temp)
But issue is still there for me with SAR RMB

 


For some reason SAR application cannot access the DLLs with RMB. 

Note sure this is due to anti-virus software or some other security setting.

With out the RMB working it is difficult for me to write meaningful automation scripts. 

I even did the same test in my personal machine, same issue. 

Do you have other suggestions for resolution?
 Hope the zip added in the techdocs 24R1 is correct. 
 


nithbtns111
Sidekick (Partner)
Forum|alt.badge.img+5
  • Author
  • Sidekick (Partner)
  • 13 replies
  • Answer
  • May 7, 2025

The problem was appsetting file is not read in RMB only cmd info.

 


When I edit the cmd file works fine.


Forum|alt.badge.img+2
  • Do Gooder (Employee)
  • 5 replies
  • May 7, 2025

Hi Tharindu, 

Could you please mention the amendment that you have done in cmd file. This works fine in my machine, and this is first time we got this type of issue after the release of latest tool version. Appreciate your effort to find the cause of the error. Please share the details of amendment that you have done for cmd file. 

Thanks, 

Nirmal Perera 


nithbtns111
Sidekick (Partner)
Forum|alt.badge.img+5
  • Author
  • Sidekick (Partner)
  • 13 replies
  • May 7, 2025

@nirmal.perera initially I have added the URL etc only in file appsettings not in _script_a_rest. 

Once added to the _script_a_rest file, RMB works as expected. 

I have not done any changes other than that. 

The error thrown is a confusing one here. 


Forum|alt.badge.img+2
  • Do Gooder (Employee)
  • 5 replies
  • May 7, 2025

Hi Tharindu, 

Normally, we also do the server configuration on   _script_a_rest.cmd file, not in the App settings. Thanks for the information and we will check app settings config flow and work on that. Please use the cmd file to configure server configurations. 

 

Thanks & Best Regards, 

Nirmal Perera


nithbtns111
Sidekick (Partner)
Forum|alt.badge.img+5
  • Author
  • Sidekick (Partner)
  • 13 replies
  • May 7, 2025

@nirmal.perera sure, I will use server configuration. No problem thanks. 


nithbtns111
Sidekick (Partner)
Forum|alt.badge.img+5
  • Author
  • Sidekick (Partner)
  • 13 replies
  • May 28, 2025

@nirmal.perera small SAR question, can I combine CatchError and ExecuteCsv. I want to skip any rows in CSV with errors and continue running the entire csv file? 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings