Compilation Error (errLine 0, errColumn 0, errLineEnd 0, errColumnEnd 0)

From MultiCharts
Jump to: navigation, search
Windows Vista users: please make sure that you have all the latest Windows updates and Service Packs installed before following this guide.

The error takes place when Windows was upgraded or Windows updates were installed and is usually resolved if you simply do the following:

  1. Close all MultiCharts products and make sure all MultiCharts Processes are finished in Windows Task Manager.
  2. Uninstall MultiCharts from your computer:
    • Windows Start
    • Open Control Panel
    • Select Uninstall a program
    • Find MultiCharts
    • Select Uninstall
    • Click Next
    • Click Remove
    • Do NOT check the box "Remove MultiCharts user data from computer", leave it clear.
    • Click Remove
    • After the uninstall processes is completed click the Finish button.
  3. Install MultiCharts again, using a different, short directory:
    • If you don't have the installer saved on your local drive, please download the latest release or beta version
    • Click Install
    • Click Next
    • Check the box "I accept the terms in the License Agreement"
    • Click Next
    • Click Next
    • Click Change
    • Change the folder name to C:\MC or C:\MC64 and click OK
    • Click Next
    • After the installation processes is over, click Finish button.




In case the error still appears, it means that there is an issue with short paths.

To resolve it, please:

  1. Close all MultiCharts products and make sure all MultiCharts Processes are finished in Windows Task Manager.
  2. Click on Windows Start button, then Run and type Regedit. Press Enter.
  3. In the Registry open the path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
  4. Change the value of the NtfsDisable8dot3NameCreation key to 0.
  5. Reboot the operation system.

After the system is rebooted,

  1. Launch MultiCharts by right-click on its icon and selecting Run as administrator (if you don't have this option, use regular double-click).
  2. In MultiCharts, go to File menu and select Preferences.
  3. On the Directories tab change the directory of the folder with your studies by clicking the ... button for Studies (remember the old path). It is important to use a simple path. We recommend creating C:\MyStudies.
  4. Close MultiCharts.
  5. Make sure all MultiCharts Processes are ended in the Windows Task Manager.
  6. Copy the whole Studies folder from the old location (for MC 32 bit: %allusersprofile%\TS Support\MultiCharts\StudyServer; for MC 64 bit: %allusersprofile%\TS Support\MultiCharts\StudyServer) to the new one (replacing the existing files).
  7. Restart MultiCharts.




If your MultiCharts version is below 8.8 and you are unable to update please follow these instructions:

  1. Open the compiler_error.log file. Depending on what path is written in the file you will have to rename several folders in one of 2 possible locations:
  • C:\ProgramData\TS Support\... (example for Windows 7/8); C:\Documents and Settings\All Users\Application Data\TS Support\... (example for Windows XP)
  • C:\Program Files\TS Support\... or C:\Program Files (x86)\TS Support\... depending on your Windows and MultiCharts version.
  1. Rename the TS Support folder into TS SupportOld. Create new folder TS Support. Move everything from TS SupportOld into the new TS Support. Delete the TS SupportOld folder.
  2. Open the new TS Support folder. Rename the MultiCharts folder into MultiChartsOld. Create new folder MultiCharts. Move everything from MultiChartsOld into the new MultiCharts. Delete the MultiChartsOld folder.
  3. Open the new MultiCharts folder. Rename the StudyServer folder into StudyServerOld. Create new folder StudyServer. Move everything from StudyServerOld into the new StudyServer. Delete the StudyServerOld folder.

In case an empty Study still does not compile, the location of system TEMP and TMP folders should be changed:

  1. Click Windows Start button.
  2. Click Control Panel.
  3. Click System, then select Advanced System Settings.
  4. Click Environment Variables, then in the User Variables window double click on the TEMP variable or select it and then click the Edit button.
  5. In the opened window, change Variable Value to C:\Windows\Temp and click OK.
  6. Double click on the TMP Variable or select it and then click the Edit button.
  7. In the opened window, change Variable Value to C:\Windows\Temp and click OK.


Run PowerLanguage, create a new study (any type) and try to compile it. It should be compiled without any errors. If the issue persists, please contact our support team in [Live Chat].