Sign In Help
Schneider Electric
HelpSign In
Schneider Electric Exchange
  • Home
  • Collaborate
  • Develop
  • Shop
Home Collaborate Develop Shop Log in or Register Help

Invite a Co-worker

Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel

Invitation Sent

Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
  • Home
  • Collaborate
  • Exchange Community
  • :
  • Private Communities
  • :
  • SmartX for Niagara
  • :
  • Script Error on Compile
Community Menu
  • Forums
    • By Topic
        • EcoStruxure IT
          • EcoStruxure IT forum
        • Industrial Automation
          • Industry Automation and Control Forum
          • Alliance System Integrators Forum
          • Machine Solutions in the Digital Transformation
          • EcoStruxure Automation Expert / IEC 61499 Forum
          • Industrial Edge Computing Forum
          • Level and Pressure Instrumentation Forum
          • Modicon User Group
          • PLC Club Indonesia
          • SEE Automation Club Forum
          • Fabrika ve Makina Otomasyonu Çözümleri
          • Форум по промышленной автоматизации СНГ
        • SCADA & Telemetry Solutions
          • Geo SCADA Expert Forum
          • SCADA and Telemetry Devices Forum
        • Power Distribution IEC
          • Power Distribution and Digital
          • Power Standards & Regulations
          • Paneelbouw & Energie Distributie
        • Power Distribution Softwares
          • EcoStruxure Power Design Forum
          • SEE Electrical Building+ Forum
          • LayoutFAST User Group Forum
        • Wireless Information Network Solutions
          • Instrument Area Network
          • Remote Monitoring
          • Tank Level Monitoring
          • Remote Data Collection
        • Solutions for your Business
          • Solutions for Food & Beverage Forum
          • Solutions for Healthcare Forum
    • By Segment
        • Food & Beverage
          • Solutions for Food & Beverage Forum
        • Healthcare
          • Solutions for Healthcare Forum
      • EcoStruxure IT
        • EcoStruxure IT forum
      • Industrial Automation
        • Industry Automation and Control Forum
        • Alliance System Integrators Forum
        • Machine Solutions in the Digital Transformation
        • EcoStruxure Automation Expert / IEC 61499 Forum
        • Industrial Edge Computing Forum
        • Level and Pressure Instrumentation Forum
        • Modicon User Group
        • PLC Club Indonesia
        • SEE Automation Club Forum
        • Fabrika ve Makina Otomasyonu Çözümleri
        • Форум по промышленной автоматизации СНГ
      • SCADA & Telemetry Solutions
        • Geo SCADA Expert Forum
        • SCADA and Telemetry Devices Forum
      • Power Distribution IEC
        • Power Distribution and Digital
        • Power Standards & Regulations
        • Paneelbouw & Energie Distributie
      • Power Distribution Softwares
        • EcoStruxure Power Design Forum
        • SEE Electrical Building+ Forum
        • LayoutFAST User Group Forum
      • Wireless Information Network Solutions
        • Instrument Area Network
        • Remote Monitoring
        • Tank Level Monitoring
        • Remote Data Collection
      • Solutions for your Business
        • Solutions for Food & Beverage Forum
        • Solutions for Healthcare Forum
      • Food & Beverage
        • Solutions for Food & Beverage Forum
      • Healthcare
        • Solutions for Healthcare Forum
  • Blogs
    • By Topic
        • Industrial Automation
          • Industrial Edge Computing Blog
          • Industry 4.0 Blog
          • Industrie du Futur France
        • SCADA & Telemetry Solutions
          • SCADA and Telemetry Blog
        • Power Distribution IEC
          • Power Events & Webinars
          • Power Foundations Blog
        • Power Distribution NEMA
          • NEMA Power Foundations Blog
        • Power Distribution Softwares
          • EcoStruxure Power Design Blog
          • SEE Electrical Building+ Blog
        • Solutions for your Business
          • Solutions for Food & Beverage Blog
          • Solutions for Healthcare Blog
          • Solutions for Retail Blog
        • Community experts & publishers
          • Publishers Community
    • By Segment
        • Food & Beverage
          • Solutions for Food & Beverage Blog
        • Healthcare
          • Solutions for Healthcare Blog
        • Retail
          • Solutions for Retail Blog
      • Industrial Automation
        • Industrial Edge Computing Blog
        • Industry 4.0 Blog
        • Industrie du Futur France
      • SCADA & Telemetry Solutions
        • SCADA and Telemetry Blog
      • Power Distribution IEC
        • Power Events & Webinars
        • Power Foundations Blog
      • Power Distribution NEMA
        • NEMA Power Foundations Blog
      • Power Distribution Softwares
        • EcoStruxure Power Design Blog
        • SEE Electrical Building+ Blog
      • Solutions for your Business
        • Solutions for Food & Beverage Blog
        • Solutions for Healthcare Blog
        • Solutions for Retail Blog
      • Community experts & publishers
        • Publishers Community
      • Food & Beverage
        • Solutions for Food & Beverage Blog
      • Healthcare
        • Solutions for Healthcare Blog
      • Retail
        • Solutions for Retail Blog
  • Ideas
        • Industrial Automation
          • Modicon Ideas & new features
        • SCADA & Telemetry Solutions
          • Geo SCADA Expert Ideas
          • SCADA and Telemetry Devices Ideas
  • Knowledge Center
    • Building Automation Knowledge Base
    • Industrial Automation Knowledge Base
    • Industrial Automation How-to videos
    • SCADA & Telemetry Solutions Knowledge Base
    • Digital E-books
    • Success Stories Corner
    • Power Talks
  • Events & Webinars
    • Innovation Talks
    • Innovation Summit
    • Let's Exchange Series
    • Technology Partners
  • Support
    • Ask Exchange
    • Leaderboard
    • Our Community Guidelines
    • Community User Guide
    • How-To & Best Practices
    • More
Join Now
How can we help?
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
50908members
Join Now
244884posts
Join Now

Script Error on Compile

Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Back to SmartX for Niagara
jimwells_ssifla
Lieutenant JG jimwells_ssifla
Lieutenant JG
‎2020-11-13 07:04 AM
0 Likes
5
378
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-11-13 07:04 AM

Script Error on Compile

I am running 4.7.110 and have a MPX V7 controller online under a Jace 8000 N4.7 Station.   When I add ascript and try to compile I get "Script compiler Executable file not found in the specified path." error.  My programmer Mitch does exactly the same thing from his 4.8 with no error.  I am currently loading 4.8 to my test PC to try it also.  Any idea what causes this?

 

Thanks,

 

Jim

 

Tags (1)
  • Tags:
  • english
Share
Reply
  • All forum topics
  • Previous Topic
  • Next Topic
5 Replies 5
Will_Workman
Janeway Will_Workman Janeway
Janeway
‎2020-11-13 07:32 AM
0 Likes
0
373
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-11-13 07:32 AM

Re: Script Error on Compile

@jimwells_ssifla ,

 

One potential cause would be that the Script Compiler was not installed on the same machine as WorkBench.  This can resolved by running "ScriptCompilerInstaller.exe" which is on the box folder.

 

Another option is that the paths specified in the directory paths for the MPX Script Compiler Options are incorrect.  This is accessed from Tools -> Options -> M P X Script Compiler Options.

 

You should have something along the lines of this where your windows user name is behind the black box:

Untitled.png

 

 

Tags (1)
  • Tags:
  • english
Share
Reply
jimwells_ssifla
Lieutenant JG jimwells_ssifla
Lieutenant JG
‎2020-11-16 08:54 AM
0 Likes
3
355
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-11-16 08:54 AM

Re: Script Error on Compile

Will,

 

 My problem was both!  I fixed that and got it to work.  Then a day later whe I ran Niagara WB and tried again it failed. 

When I compile I get the following:

 

SE.ScriptCompiler V3.2.1.0
Processing...
Error:CodeFile does not exist:
Parameter name: C:\\Users\\Jim
End


Compiler File Path local:|file:/C:/Program Files (x86)/Schneider Electric EcoStruxure/Script Compiler/SE.ScriptCompiler.Shell.exe
Script Source Directory local:|file:/C:/Users/Jim The Destroyer/Niagara4.7/TAC/MPX_Script/Source
Compiled Script Directory local:|file:/C:/Users/Jim The Destroyer/Niagara4.7/TAC/MPX_Script/Compiled

All directories exist

I even created the User Jim and directories for it thinking it did not like a space in the user name.  Funny thing is it worked when I set it that way.

 

 

 

 

 

 

 

Tags (1)
  • Tags:
  • english
Share
Reply
Will_Workman
Janeway Will_Workman Janeway
Janeway
‎2020-11-16 10:29 AM
0 Likes
2
350
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-11-16 10:29 AM

Re: Script Error on Compile

@jimwells_ssifla,

 

You are correct that the spaces in the user name "Jim The Destroyer" caused spaces in the file path.  That is why the error message stops right after "Jim".

 

To summarize you got it all working once you started using the "Jim" user account?

 

Thanks.

Tags (1)
  • Tags:
  • english
Share
Reply
jimwells_ssifla
Lieutenant JG jimwells_ssifla
Lieutenant JG
‎2020-11-19 05:02 AM
0 Likes
1
338
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-11-19 05:02 AM

Re: Script Error on Compile

Yes and No.  It fixed it for a while but when I shutdown and started back it stopped working.  I think the blanks in the Win 10 user name was the issue so I created another user with no blanks.  Unfortuntley it named it new.old without blamks afyer creation.  After reinstalling the N4 and editor I was able to compile but when I send to controller I get an error message like it did not work....but after a few tries I go back to the original user and and check it did work.  IDKW.   This is my office desktop that I am remoting into and it is seldom used.  I think I just need to use my laptop that doesn't have these issues.  Thanks for the help though.  It did solve the first problem.   

 

Tags (1)
  • Tags:
  • english
Share
Reply
Will_Workman
Janeway Will_Workman Janeway
Janeway
‎2020-11-19 11:00 AM
0 Likes
0
329
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-11-19 11:00 AM

Re: Script Error on Compile

@jimwells_ssifla 

 

Next time you get that error message when trying to download to the controller take a screenshot and add it here.  We want to catch all potential issues in Beta testing before someone is out on a bucket in a mechanical room and under pressure to get some equipment working.

Tags (1)
  • Tags:
  • english
Share
Reply
Top Experts
User Count
Will_Workman
Janeway Will_Workman Janeway
12
ChrisHoward
Lieutenant JG ChrisHoward Lieutenant JG
7
RandyDavis
Sisko RandyDavis Sisko
1
David_Purser
Sisko David_Purser Sisko
1
barry_sweet_abs
Lieutenant JG barry_sweet_abs
1
See More Top Experts
Find a Service Provider
Find a certified partner to help you address your integration, installation, maintenance and project needs.
View all Providers
Support

Have a question? Please contact us with details, and we will respond.

Contact Us
FAQ

Look through existing questions to find popular answers.

Learn More
About

Want to know more about Exchange and its possibilities?

Learn More

Full access is just steps away!

Join Exchange for FREE and get unlimited access to our global community of experts.

Connect with Peers & Experts

Discuss challenges in energy and automation with 30,000+ experts and peers.

Get Support in Our Knowledge Base

Find answers in 10,000+ support articles to help solve your product and business challenges.

Ask Questions. Give Solutions

Find peer based solutions to your questions. Provide answers for fellow community members!

Register today for FREE

Register Now

Already have an account?Log in

About Us FAQ Terms & Conditions Privacy Notice Change your cookie settings
©2020, Schneider Electric