Skip to main content
epicfall
Participating Frequently
January 6, 2011
Answered

connection failed when loading .asc file on my main.asc file

  • January 6, 2011
  • 1 reply
  • 1386 views

Hey guys,

     Got a really big problem here. I keep on getting "NetConnection.Connect.Failed" when I load a .asc file on my main.asc file, i use the method load() in my code. I really don't understand why this happens, but when i comment out the code that loads the asc file, I can successfully connect to fms. I can't figure out what's happening here. Btw, i'm using fms4 in windows 7 32bit.

     Any reply is really appreciated. Thanks in advance!

Randy

    This topic has been closed for replies.
    Correct answer SE_0208

    Oops...i already deleted the install folder of fms 3.5 after uninstalling it...thanks men you're replies has been a big help...


    You can either download FMS 3.5 installer and install it on different machine and copy the folder which i mentioned and then delete the installation or if you want i can send that across from 3.5.3 installation which i have - give me your email id - i'll send it across if you want.

    1 reply

    Participating Frequently
    January 6, 2011

    Make sure the .asc file your are loading does not have any errors - it might be because of that. If you try to load the application via Admin console - what happens. What do you see in application.00.logs of this application.

    epicfall
    epicfallAuthor
    Participating Frequently
    January 6, 2011

    Hey SE thanks for the quick reply. Loaded the application via admin console and found out that the asc file i'm loading has error some errors on it. The error message is: "Unable to locate script file : components/component.asc.". I'm not familiar with fms and server-side scripts so don't know where to find these files. The script that i'm loading is for a whiteboard component that our company bought. These problems did not happen when i'm still using the previous version of fms(3.5) and when i tried fms4 this happened.

    Participating Frequently
    January 6, 2011

    If you previous version of 3.5 - navigate to "scriptlib" directory of your installation, you will "components" folder. Copy the "components" folder to  "scriptlib" folder of your newer 4.0 installation and see if that solves the issue.