+1 888 340 6572

Compilation Error (errLine 0, errColumn 0, errLineEnd 0, errColumnEnd 0): Difference between revisions

From MultiCharts
No edit summary
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
The error might appear after Windows upgrades/updates. To resolve it, please follow these steps:<br>
The error might appear after Windows upgrades/updates. To resolve it, please follow these steps:<br>
# Restart your PC
# Restart your PC.
# Go to the '''Windows Start''' menu -> '''Settings''' (gear icon) -> '''Apps'''  
# Go to the '''Windows Start''' menu '''Settings''' (gear icon) '''Apps'''.
# Select MultiCharts -> click Uninstall -> in the Setup Wizard click Next -> '''Repair'''
# Select '''MultiCharts''' → click '''Uninstall''' → in the Setup Wizard click '''Next''' → '''Repair'''.
<br>
If the issue is not resolved after the repair, please [https://www.multicharts.com/support/ contact support] or try the steps below.
----
 
<br>
== Reinstalling MultiCharts ==
If the issue is not resolved after the repair, try re-installing MultiCharts:
# Close all MultiCharts products and make sure all [[MultiCharts Processes]] are finished in Windows Task Manager.
# Close all MultiCharts products and make sure all [[MultiCharts Processes]] are finished in Windows Task Manager.
# Uninstall MultiCharts from your computer:  
# Uninstall MultiCharts from your computer:  
#* Go to the '''Windows Start''' menu -> '''Settings''' (gear icon) -> '''Apps'''  
## Go to the '''Windows Start''' menu '''Settings''' (gear icon) '''Apps'''.
#* Select MultiCharts -> click Uninstall -> in the Setup Wizard click Next -> '''Remove'''
## Select MultiCharts click '''Uninstall''' → in the Setup Wizard click '''Next''' → '''Remove'''.<div class="important">Do '''NOT''' check the "Remove MultiCharts user data from computer" box, leave it clear.</div>
#* Do '''NOT''' check the "Remove MultiCharts user data from computer" box, leave it clear.
## Click '''Remove'''.
#* Click '''Remove'''
## After the processes is complete click the '''Finish''' button.
#* After the uninstall processes is completed click the '''Finish''' button.
# Install MultiCharts again, using a different '''short''' directory:
# Install MultiCharts again, using a different, '''short''' directory:
## Download the installer:<br>[https://www.multicharts.com/download/ '''MultiCharts''']<br>[https://www.multicharts.com/net/download/ '''MultiCharts .NET''']
#* If you don't have the installer saved on your local drive, please [https://www.multicharts.com/download/ download the latest release or beta version]
## 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.
#* Launch the installer and click '''Install'''
## In the Destination Folder window click '''Change'''.
#* In the Setup Wizard click '''Next'''  
## Change the folder name to '''C:\MC''' or '''C:\MC64''' and click '''OK''' and '''Next'''.
#* Check the "I accept the terms in the License Agreement" box and click '''Next'''
## After the installation processes is over, click '''Finish'''.
#* Click '''Next''' in the What's new window  
 
#* In the Destination Folder window click '''Change'''  
== Short paths ==
#* Change the folder name to '''C:\MC''' or '''C:\MC64''' and click '''OK'''
#* Click '''Next'''
#* After the installation processes is over, click '''Finish''' button.
<br>
----
<br>
In case the error still appears, it means that there is an issue with short paths.<br>
In case the error still appears, it means that there is an issue with short paths.<br>


To resolve it, please:
To resolve it, please follow these steps:
# Close all MultiCharts products and make sure all [[MultiCharts Processes]] are finished in Windows Task Manager.
# Close all MultiCharts products and make sure all [[MultiCharts Processes]] are finished in Windows Task Manager.
# Click on '''Windows Start button''', then '''Run''' and type '''Regedit'''. Press '''Enter'''.
# 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'''
# In the Registry open the path: '''HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem'''
# Change the value of the '''NtfsDisable8dot3NameCreation''' key to '''0'''.
# Change the value of the '''NtfsDisable8dot3NameCreation''' key to '''0'''.
# Reboot the operation system.
# Reboot the operation system.
 
<br>After the system is rebooted:
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).
#'''Launch MultiCharts''' by '''right-click on its icon''' and selecting '''Run as administrator''' (''if you don't have this option, use regular double-click'').
# In MultiCharts go to '''File''' '''Preferences'''.
# In MultiCharts, go to '''File''' menu and select '''Preferences'''.
# In the '''Misc''' tab change the '''Studies''' directory: click the <img src="https://www.multicharts.com/trading-software/images/1/1b/Sm8.png" width="24"> button for '''Studies''' (remember the old path). It is important to use a simple path. We recommend creating '''C:\MyStudies'''.<div class="note">The Permissions for this new folder should be set to '''Full Control''' for all users that will access this folder in the PowerLanguage Editor. </div>
# 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'''.
# Close MultiCharts.
# Close MultiCharts.
# Make sure all [[MultiCharts Processes]] are ended in the Windows Task Manager.
# Make sure all [[MultiCharts Processes]] are ended in the Windows Task Manager.
# 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).
# Copy the whole '''Studies''' folder from the old location to the new one (replacing the existing files).
# Restart MultiCharts.
# Restart MultiCharts.
<br>
----
<br>
If your MultiCharts version is '''below 8.8''' and you are unable to update please follow these instructions:
# 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.
::# 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.
::# 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.
::# 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.
----


== TEMP folders ==
In case an empty Study still does not compile, the location of system TEMP and TMP folders should be changed:
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 '''Windows Start''' button.
Line 62: Line 43:
# Click '''System''', then select '''Advanced System Settings'''.
# 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.
# 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.
# 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.
# 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.
# In the opened window, change variable value to '''C:\Windows\Temp''' and click '''OK'''.
<br>
<br>
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 [[http://messenger.providesupport.com/messenger/tssupport.html| Live Chat]].
After that, please run PowerLanguage, create a new study (any type) and try to compile it. It should be compiled without any errors.  
 


[[Category:FAQ]]
[[Category:FAQ]]
[[Category:Studies]]

Latest revision as of 12:23, 18 June 2024

The error might appear after Windows upgrades/updates. To resolve it, please follow these steps:

  1. Restart your PC.
  2. Go to the Windows Start menu → Settings (gear icon) → Apps.
  3. Select MultiCharts → click Uninstall → in the Setup Wizard click NextRepair.

If the issue is not resolved after the repair, please contact support or try the steps below.

Reinstalling MultiCharts

  1. Close all MultiCharts products and make sure all MultiCharts Processes are finished in Windows Task Manager.
  2. Uninstall MultiCharts from your computer:
    1. Go to the Windows Start menu → Settings (gear icon) → Apps.
    2. Select MultiCharts → click Uninstall → in the Setup Wizard click NextRemove.
      Do NOT check the "Remove MultiCharts user data from computer" box, leave it clear.
    3. Click Remove.
    4. After the processes is complete click the Finish button.
  3. Install MultiCharts again, using a different short directory:
    1. Download the installer:
      MultiCharts
      MultiCharts .NET
    2. 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.
    3. In the Destination Folder window click Change.
    4. Change the folder name to C:\MC or C:\MC64 and click OK and Next.
    5. After the installation processes is over, click Finish.

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:

  1. Close all MultiCharts products and make sure all MultiCharts Processes are finished in Windows Task Manager.
  2. Go to the Windows Start menu and type Regedit. Launch the Registry Editor.
  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: right-click the shortcut → Run as administrator (if you don't have this option, use regular double-click).
  2. In MultiCharts go to FilePreferences.
  3. 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.
  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 to the new one (replacing the existing files).
  7. Restart MultiCharts.

TEMP folders

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.


After that, please run PowerLanguage, create a new study (any type) and try to compile it. It should be compiled without any errors.