You are here:   Forum
Register   |  Login

 

Forum Notice

This Forum is ARCHIVE only
For LightSwitch questions,
please use the official forums at:

http://social.msdn.microsoft.com/forums/en-US/lightswitch/threads


Forums

Lightswitch 2 tier Application setup Cannot Start Application
Last Post 01 May 2012 08:39 PM by Goodboy777. 4 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
raymondUser is Offline
New Member
New Member
Send Private Message
Posts:10
Avatar

--
01 May 2012 07:09 PM
    Guys i need help I'm noobie in developing  VS Lightswitch 2011. My lightswitch  2 tier application setup.exe cant start application. Application validation did not succeed. unabled to continue.

    please help me.
    Thanks


    Error
    Here the details 

    PLATFORM VERSION INFO
    Windows : 6.1.7601.65536 (Win32NT)
    Common Language Runtime : 4.0.30319.17379
    System.Deployment.dll : 4.0.30319.17379 built by: FXBETAREL
    clr.dll : 4.0.30319.17379 built by: FXBETAREL
    dfdll.dll : 4.0.30319.17379 built by: FXBETAREL
    dfshim.dll : 4.0.41031.0 (Main.041031-0000)


    SOURCES
    Deployment url : file:///C:/Users/desktop/Desktop/PMICMS/PMICMS/Publish/PMICMS.application
    Application url : file:///C:/Users/desktop/Desktop/PMICMS/PMICMS/Publish/Application%20Files/PMICMS.exe.manifest


    IDENTITIES
    Deployment Identity : PMICMS.application, Version=1.0.1.0, Culture=neutral, PublicKeyToken=0000000000000000, processorArchitecture=x86


    APPLICATION SUMMARY
    * Installable application.


    ERROR SUMMARY
    Below is a summary of the errors, details of these errors are listed later in the log.
    * Activation of C:\Users\desktop\Desktop\PMICMS\PMICMS\Publish\PMICMS.application resulted in exception. Following failure messages were detected:
    + Application manifest has either a different computed hash than the one specified or no hash specified at all. 
    + File, PMICMS.exe.manifest, has a different computed hash than specified in manifest.


    COMPONENT STORE TRANSACTION FAILURE SUMMARY
    No transaction error was detected.


    WARNINGS
    * The manifest for this application does not have a signature. Signature validation will be ignored.
    * The manifest for this application does not have a signature. Signature validation will be ignored.


    OPERATION PROGRESS STATUS
    * [5/2/2012 9:54:41 AM] : Activation of C:\Users\desktop\Desktop\PMICMS\PMICMS\Publish\PMICMS.application has started.
    * [5/2/2012 9:54:41 AM] : Processing of deployment manifest has successfully completed.
    * [5/2/2012 9:54:41 AM] : Installation of the application has started.


    ERROR DETAILS
    Following errors were detected during this operation.
    * [5/2/2012 9:54:41 AM] System.Deployment.Application.InvalidDeploymentException (HashValidation)
    - Application manifest has either a different computed hash than the one specified or no hash specified at all. 
    - 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.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
    at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
    --- Inner Exception ---
    System.Deployment.Application.InvalidDeploymentException (HashValidation)
    - File, PMICMS.exe.manifest, has a different computed hash than specified in manifest.
    - Source: System.Deployment
    - Stack trace:
    at System.Deployment.Application.ComponentVerifier.VerifyFileHash(String filePath, Hash hash)
    at System.Deployment.Application.ComponentVerifier.VerifyFileHash(String filePath, HashCollection hashCollection)
    at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)


    COMPONENT STORE TRANSACTION DETAILS
    No transaction information is available.

    Michael WashingtonUser is Offline
    Send Private Message
    Posts:1110
    Avatar

    --
    01 May 2012 08:19 PM
    I would re-install Visual Studio.
    -----------
    Michael Washington
    http://LightSwitchHelpWebsite.com
    raymondUser is Offline
    New Member
    New Member
    Send Private Message
    Posts:10
    Avatar

    --
    01 May 2012 08:27 PM
    Sir Michael

    I will Re- Install Ligthswitch 2011?
    Michael WashingtonUser is Offline
    Send Private Message
    Posts:1110
    Avatar

    --
    01 May 2012 08:32 PM
    Yes, that is the only thing I can think of.
    -----------
    Michael Washington
    http://LightSwitchHelpWebsite.com
    raymondUser is Offline
    New Member
    New Member
    Send Private Message
    Posts:10
    Avatar

    --
    01 May 2012 08:39 PM
    Thank you Sir. Michael ..



    You are not authorized to post a reply.


    Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

    Inactivity timeout
    11/26/2014 1:20 PM
    All,  I still didn't find a solution for the inactivity timout. After 5 minutes of inactivity, the authentication coockie is timed out. This results in the same problem for the lightswitch and the html client. I found a work around for the Silverlight client in creating a "hearbeat" timer that every 30 seconds does a simple query to the backend. I guess I can do something similar in the html client creating a time in the create event of the home page that does a similar simple query to the backend. this does not solve however the issue when I click the "remember me next time" in the logon page. Closing the browser and restarting again within 5 minutes works fine. I get automatically logged in, but waiting for more than 5 minutes before opening a new browser and navigating to the app doesn't automatically in. I guess the persistens authentication coockie is not valid anymore on the server. I thought the timout setting on the Forms authentication in the
    Read more...

    Hi Community,  Whats the best way of dealing with a featurerequest, where the screen is a editable screen, but where the user should be able to open up other screens?  The edit screen should show the navigational menu. regards Phero
    Read more...

    I've developed my first LightSwitch application. It's a web app. I developed it on my laptop. I want to host the app on my desktop Windows 8.1 Pro machine in my home network, as that's the closest thing I've got to a "server". I used Visual Studio 2013 to develop it, and it's using a SQL 2008 R2 Developer Edition database on the desktop. According to the MSDN article Deploying LightSwitch Applications I can publish it to my "server", so long as I've installed the Web Platform Installer 4.5, this is according to another MSDN article titled How to: Configure a Server to Host LightSwitch Applications. I tried doing that on my Windows 8.1 desktop, but when I got to the point of running the Web Platform Installer, it showed me that it was version 5.0; not 4.5 as the instructions said. Now, I'm guessing that is OK. I went to the Products tab and see that there isn't
    Read more...

    Hi, My lightswitch desktop application has stopped working. I am getting the following error when I try to start the application: "One or more active X controls could not be displayed because either: 1. Your current security settings prohibit running ActiveX controls on this page, or 2. You have blocked a publisher of one of the controls. " I have already tried the recommendation mentioned here Link My registry already has the right settings. Any help is highly appreciated. Regards, Sathya. 
    Read more...

    All, I have a LightSwitch project that successfully published to Azure at least 30 times. I am getting a publish error. (I've already done Dave's bankruptcy process.) Unfortunately, this is the 2nd time I've received this error. The first time was after installing vs2013 Update 3. That time, I resolved the matter by uninstalling update 3. This time, I need something in Update 4 which I've just installed but unfortunately, I am getting the following error when publishing to Azure: ----------------------------------------------------------------------- Error 1 The "CSPack" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with <UsingTask> in the project file, or in the *.tasks files located in the "C:\Program Files
    Read more...

    1234
    Microsoft Visual Studio is a registered trademark of Microsoft Corporation / LightSwitch is a registered trademark of Microsoft Corporation