Compilation Error (errLine 0, errColumn 0, errLineEnd 0, errColumnEnd 0)
From MultiCharts
The error might appear after Windows upgrades/updates. To resolve it, please follow these steps:
- Restart your PC.
- Go to the Windows Start menu → Settings (gear icon) → Apps.
- Select MultiCharts → click Uninstall → in the Setup Wizard click Next → Repair.
If the issue is not resolved after the repair, please contact support or try the steps below.
Reinstalling MultiCharts
- Close all MultiCharts products and make sure all MultiCharts Processes are finished in Windows Task Manager.
- Uninstall MultiCharts from your computer:
- Go to the Windows Start menu → Settings (gear icon) → Apps.
- Select MultiCharts → click Uninstall → in the Setup Wizard click Next → Remove.Do NOT check the "Remove MultiCharts user data from computer" box, leave it clear.
- Click Remove.
- After the processes is complete click the Finish button.
- Install MultiCharts again, using a different short directory:
- Download the installer:
MultiCharts
MultiCharts .NET - Launch the installer and click Install → in the Setup Wizard click Next → check the "I accept the terms in the License Agreement" box and click Next → click Next in the What's new window.
- In the Destination Folder window click Change.
- Change the folder name to C:\MC or C:\MC64 and click OK and Next.
- After the installation processes is over, click Finish.
- Download the installer:
Short Paths
In case the error still appears, it means that there is an issue with short paths.
To resolve it, please follow these steps:
- Close all MultiCharts products and make sure all MultiCharts Processes are finished in Windows Task Manager.
- Go to the Windows Start menu and type Regedit. Launch the Registry Editor.
- In the Registry open the path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
- Change the value of the NtfsDisable8dot3NameCreation key to 0.
- Reboot the operation system.
After the system is rebooted:
- Launch MultiCharts: right-click the shortcut → Run as administrator (if you don't have this option, use regular double-click).
- In MultiCharts go to File → Preferences.
- In the Misc tab change the Studies directory: click the button for Studies (remember the old path). It is important to use a simple path. We recommend creating C:\MyStudies.The Permissions for this new folder should be set to Full Control for all users that will access this folder in the PowerLanguage Editor.
- Close MultiCharts.
- Make sure all MultiCharts Processes are ended in the Windows Task Manager.
- Copy the whole Studies folder from the old location to the new one (replacing the existing files).
- Restart MultiCharts.
TEMP Folders
In case an empty Study still does not compile, the location of system TEMP and TMP folders should be changed:
- Click Windows Start button.
- Click Control Panel.
- Click System, then select Advanced System Settings.
- Click Environment Variables, then in the User Variables window double click on the TEMP variable or select it and then click the Edit button.
- In the opened window, change variable value to C:\Windows\Temp and click OK.
- Double click on the TMP variable or select it and then click the Edit button.
- In the opened window, change variable value to C:\Windows\Temp and click OK.
After that, please run PowerLanguage, create a new study (any type) and try to compile it. It should be compiled without any errors.