Cannot connect after update
Cannot connect after update
03 Aug 2015, 16:50
Hi,
I have been running cAlgo and cTrader on Windows Server 2012 without any problems by following this instructions: /forum/calgo-support/907
Since the last update, both applications will not launch and have the error below. Please advise on how to fix this issue.
Regards,
*****
PLATFORM VERSION INFO
Windows : 6.2.9200.0 (Win32NT)
Common Language Runtime : 4.0.30319.34014
System.Deployment.dll : 4.0.30319.34243 built by: FX452RTMGDR
clr.dll : 4.0.30319.34014 built by: FX45W81RTMGDR
dfdll.dll : 4.0.30319.34243 built by: FX452RTMGDR
dfshim.dll : 6.3.9600.16384 (winblue_rtm.130821-1623)
SOURCES
Deployment url : file:///C:/Users/Administrator/AppData/Roaming/Microsoft/Windows/Start%20Menu/Programs/Pepperstone%20cAlgo/Pepperstone%20cAlgo.appref-ms%7C
Server : nginx
Deployment Provider url : http://pepperstone.ctrader.com/cAlgo.application
Application url : http://dl.c-trader.com/pepperstone/cAlgo%20AppFiles/1.30.58489.34635/cAlgo.exe.manifest
Server : ECAcc (fcn/40BF)
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Pepperstone cAlgo\Pepperstone cAlgo.appref-ms| resulted in exception. Following failure messages were detected:
+ Deployment and application do not have matching security zones.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [8/3/2015 3:41:03 PM] : Activation of C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Pepperstone cAlgo\Pepperstone cAlgo.appref-ms| has started.
* [8/3/2015 3:41:03 PM] : Performing necessary update check as specified by the deployment.
* [8/3/2015 3:41:03 PM] : Consuming new update.
* [8/3/2015 3:41:03 PM] : Installation of the application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [8/3/2015 3:41:03 PM] System.Deployment.Application.InvalidDeploymentException (Zone)
- Deployment and application do not have matching security zones.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)
at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, Uri& appSourceUri, String& appManifestPath)
at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
at System.Deployment.Application.ApplicationActivator.ConsumeUpdatedDeployment(SubscriptionState& subState, ActivationDescription actDesc)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentUpdate(SubscriptionState& subState, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ProcessOrFollowShortcut(String shortcutFile, String& errorPageUrl, TempFile& deployFile)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
Replies
vietdang
04 Aug 2015, 09:23
RE:
Hi,
Instructions followed exactly and the problem is still there.
***
PLATFORM VERSION INFO
Windows : 6.2.9200.0 (Win32NT)
Common Language Runtime : 4.0.30319.34014
System.Deployment.dll : 4.0.30319.34243 built by: FX452RTMGDR
clr.dll : 4.0.30319.34014 built by: FX45W81RTMGDR
dfdll.dll : 4.0.30319.34243 built by: FX452RTMGDR
dfshim.dll : 6.3.9600.16384 (winblue_rtm.130821-1623)
SOURCES
Deployment url : file:///C:/Users/Administrator/Desktop/Pepperstone%20cAlgo.appref-ms%7C
Server : nginx
Deployment Provider url : http://pepperstone.ctrader.com/cAlgo.application
Application url : http://dl.c-trader.com/pepperstone/cAlgo%20AppFiles/1.30.58489.34635/cAlgo.exe.manifest
Server : ECAcc (fcn/40BF)
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Users\Administrator\Desktop\Pepperstone cAlgo.appref-ms| resulted in exception. Following failure messages were detected:
+ Deployment and application do not have matching security zones.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [8/4/2015 8:22:15 AM] : Activation of C:\Users\Administrator\Desktop\Pepperstone cAlgo.appref-ms| has started.
* [8/4/2015 8:22:15 AM] : Performing necessary update check as specified by the deployment.
* [8/4/2015 8:22:15 AM] : Consuming new update.
* [8/4/2015 8:22:15 AM] : Installation of the application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [8/4/2015 8:22:15 AM] System.Deployment.Application.InvalidDeploymentException (Zone)
- Deployment and application do not have matching security zones.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)
at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, Uri& appSourceUri, String& appManifestPath)
at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
at System.Deployment.Application.ApplicationActivator.ConsumeUpdatedDeployment(SubscriptionState& subState, ActivationDescription actDesc)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentUpdate(SubscriptionState& subState, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ProcessOrFollowShortcut(String shortcutFile, String& errorPageUrl, TempFile& deployFile)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
@vietdang
Spotware
04 Aug 2015, 10:28
Dear Trader,
There are several reasons for this issue to happen. The most common reason is the oneClick cache.
Other reasons may be:
A previous installation file or a setup file is corrupted. In this case should uninstall any previous versions, download the installation files from the originally hosted location and try to install the application again.
Maybe the registry was corrupted. In this case you should use a trusted third party tool to clean the registry. Additionally you should temporarily disable any antivirus program while trying to install the application.
@Spotware
vietdang
04 Aug 2015, 11:23
RE:
Hi,
I have uninstalled, redownloaded the installation file and reinstalled. No change.
Registry has been cleaned. No antivirus program is active on the machine that cAlgo is running. No change.
Spotware said:
Dear Trader,
There are several reasons for this issue to happen. The most common reason is the oneClick cache.
Other reasons may be:
A previous installation file or a setup file is corrupted. In this case should uninstall any previous versions, download the installation files from the originally hosted location and try to install the application again.
Maybe the registry was corrupted. In this case you should use a trusted third party tool to clean the registry. Additionally you should temporarily disable any antivirus program while trying to install the application.
@vietdang
vietdang
04 Aug 2015, 11:48
RE:
I found the solution:
The application url is going to http://dl.c-trader.com/ which of course is different to ctrader.com and that is why there is a mismatch int the security setting. Access is granted for *.ctrader.com and NOT c-trader.com
Please be careful with your selection of domain names next time.
Spotware said:
Dear Trader,
Could you also please uninstall the applications and .NET Framework 4 and then try to install the applications again?
@vietdang
Spotware
03 Aug 2015, 16:58
Dear Trader,
We recommend you to uninstall the application, clear your ClickOnce cache and try to install the application again.
To clear your ClickOnce cache, please perform the following steps:
Hold down the Win key and press R. The Run box should appear.
Into the Open field, enter %LOCALAPPDATA%\Apps for Windows 8.1, Windows 7, and Windows Vista or %USERPROFILE%\Local Settings\Application Data\Apps for Windows XP
Then click OK.
This will open Windows Explorer.
Delete the folder names 2.0
@Spotware