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:1219
    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:1219
    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

    Standalone on a server I've installed this numerous times. Very simple Windows 7 Pro with VS2013(no domain), and I just have no idea why things won't work. I installed the setup package that contained the tools (Management Studio) I created a new instance LOCALSQLTEST (I have no idea if this is right, I didn;t want to mess up anything in Lightswitch i've done and don't know how/where Intrisic is stored) Added admin password Complete setup. Enable Name pipes, and tried to start Server agent (to become discoverable?) but doesn't start. Studio Management shows nothing to connect to. VS2013 has installed so many SQL products on my system, I have no idea what does what. What I would give for a proper tutorial. Anybody have a simple checklist, work through? I'm just trying to test deploy this dang thing in Web
    Read more...

    Hi there! I publish my LS Application (Client Type: Web, Web Service Only). I set the wizard to create a package on disk. I don't create an autentication file for it. I deploy the LS Application to IIS 8.5..... (Windows 8.1) When I try to open the application from the IE Browser ( http://localhost/FlexGrid_ScrollBar ) I got the following: I can run others asp.net application hosted in IIS, but my LS Application, I can't. What is going on? Many thanks for any kind of help. Best regards, Ciro Ciro
    Read more...

    I've just installed Visual Studio 2013 Community edition but can't find the option to create a LightSwitch project. Do I need to download an extra component?
    Read more...

    I have what seems like a simple task that is causing me great frustration. I've been working on just this for two days, scouring the forums for anything related to the issue. I get the Unsaved Changes popup and I cannot figure out why. I am building an app that handles quotes. It has your basic Quote entity, with fields like LaborRate, HoursLabor, PartsDeposit (which is calculated from a related Parts table), and a Total. I have a series of change listeners added to recalculate the PartsDeposit if any parts are added by watching their count. There are three other change listeners that watch for changes in the PartsDeposit, LaborRate, HoursLabor fields. The following is in my screen's created method: // Add change listeners for totals var quote = screen.Quote; var parts = screen.UsedParts; quote.addChangeListener("LaborRate", function () { UpdateTotal(screen) }); quote.addChangeListener("HoursLabor", function () { UpdateTotal(screen) });
    Read more...

    Hi all, On a fresh PC install, I installed VS2013 and created a single 1 table, One screen lightswitch html app. Triyng to make a deploy package fails with the error : provider 'LightSwitchApplication' not found .... visit : http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_PROVIDER_NOT_FOUND Searching results with solutions for VS2012 only (uncheck box for prerequisites while deploying) 3 days on that issue !! Any help will be apreciated Thank's, Frederic 
    Read more...

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