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 07: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 06: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:1251
    Avatar

    --
    01 May 2012 07: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 07:27 PM
    Sir Michael

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

    --
    01 May 2012 07: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 07:39 PM
    Thank you Sir. Michael ..



    You are not authorized to post a reply.


    Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

    Hi all, I've been looking at the code Yann updated Improved Modal Window Helper Class (based on Sheel's Article "Creating a Custom Add Or Edit Dialog") Now, as I'm very much new to C# I'm trying to work out how to get this working in my C# SL client. I've added the Helper code into the "Application Code" for the SL client as described in the original article from Sheel. I have a Search Products screen where I have defined a Modal Window (AddProdDialog) but then I grind to a halt. I've found some similar posts but they have been in VB and trying to convert the code was not successful. Any assistance welcome :) Cheers, Adam
    Read more...

    I've been fussing with this for the better part of two years. I've read through every single tutorial. I'm dying for someone to help me actually understand what piece I'm just missing in all of this. I subscribe to a web service for our drivers and their GPS location information. It has a methods GetAllDrivers and GetDriverByID. I need for this service to be called, and update all information for all my drivers to an entity I can use at my will in different screens. I do not want to call the web service for individual drivers each time I load a screen. I want to update all data once or twice a day. As I understand the answer to this is a RIA Service correct? If so I am just not having any luck getting a RIA service to work. I know I could just pay someone to do this, but I'm a little stubborn as I really want to learn how to do this. Would anybody be willing to have a back and forth with me without pointing me to some tutorial that eventually overlooks important pieces I need to
    Read more...

    VS 2015 Update 3 - Windows 10
    8/14/2016 4:02 AM
    Does anyone has problems with with above configuration where Visual studio won't start IE when I hit F5 from Lightswitch HTML Client project? VS started the project but I have to right click on IIS Express icon and then open list of sites and then open link from there to popup IE and open LS home screen. That is not so big problem, but the problem is to debug. Breakpoint won't hit this way. Anyone can help? Thanks!
    Read more...

    SL Client - Blank Screen
    8/9/2016 10:38 PM
    Hi guys, Apologies for the simple question. I have searched and after numerous hits, didn't find a thread that matched. I have a 3-tier LS application deployed to Azure. The SL client is configured for out of browser, and works on one machine, but on two others it's a blank (white) window that doesn't proceed to the logon screen (Forms Auth). If I switch back to a browser based SL application it works fine. Any suggestions on how I track this down? Thanks in advance. Cheers, Adam
    Read more...

    SQLite Datasource
    8/9/2016 3:22 PM
    Is there a way to get SQLite database when creating new datasource in Lightswitch html client project? I have .Net Framework Data Provider fro SQLite and System.Data.SQLite Database File when adding a new Data connection from Server explorer, but I cannot see that when try to connect LS.Server project to SQLite. I also installed System.Data.SQLite NuGet package in LS.Server project. Maybe some help? Thanks!
    Read more...

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