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

    I'm using the latest HTML client (whichever update was released in March, I have it installed on VS 2013) and trying to see if the following is possible.  I have two tables, Parent and Child, in a one to many relationship. Can I somehow 'pass' the Parent entity to the Child's AddEditNew screen, as a parameter, then on that Add/Edit Child screen have a button that does something like this?  (pseudo code ahead)     myapp.AddEditChild.SaveThisChild_execute = function (screen) {    var newChild = new myapp.Child();          newChild.Parent = screen.Parent; //how do you 'pass' the parent to this screen?          myapp.ApplyChanges();         }; That's the idea at least.  Trying to see what's possible and stretch my understanding of the HTML client and its add/edit/save pipeline as much as I can. I have to admit that one of my weak points
    Read more...

    I've been working on a sample LS app using the latest VS 2013 updates.  Intrinsic database and HTML client. I have an Azure account I just signed up for and am trying to get this in the cloud as easily as possible.  At this stage security etc have no role in the app.  Could someone point me to a page/blog/how-to on the best way of doing this?  I've been reading up and it seems I have to right-click the server and client apps separately and tell them to publish to Azure?  Is there a solution-wide way of publishing both or a best-practice for doing each? In VS 2013 I'm being prompted for all kinds of Azure/Windows installers when I try to publish.  Not sure which of those I need specifically-- by that I mean I see options for Azure/Node and Azure/PHP publishing in the list of options, which I certainly don't need. And all told the options all add up to 450MB for me to download, so I'd like to keep the footprint as small as possible. 
    Read more...

    I'm writing a Lightswitch HTML app that allows users to upload and view an image associated with a person. I've split the image out into it's own table and given it a 0.1 - 1 relationship with the Person table with the idea that if I don't include the image in the Person browse screen, my records would load much faster. Am I correct in this assessment or is Lightswitch loading the image anyway because of the relationship I declared with the Person table? (I'm not familiar with the data envelope choice Lightswitch makes.) Also, if it is loading the image anyway, then how would you recommend I ensure screen responsiveness for a Person Browse screen? Thanks. - Mike
    Read more...

    Getting started with RIA
    4/11/2014 4:09 PM
    I'm still baffled by RIA. Never done anything with WCF and running into limitations of having to return data in exact shape as entities. have worked around some of these with SQL views due to time limitations.  I have a few dumb questions. I read many of the links about lightswitch and RIA, but don't understand much of the terminology (e.g. Domain services), so I'm lost almost straight away. I'm willing to buy a book or take a course on plural sight or wherever, but want to make sure i choose the right one as there are very few books specific to LS and I don't want to waste time learning the wrong subject. I have a desktop silverlight app that's deployed via a UNC path. What's required to use RIA? I'm assuming it's going to involve having to use IIS and creating a WCF service(?) on the IIS server to consume the http calls. Or have I got completely wrong, is RIA services something that runs in the silverlight app (and still sends call to SQL server --not via
    Read more...

    Hello, I am using LightSwitch HTML client (March 2014 Update). I have an edit screen and I want the user to stay on this screen after the save button is used. A possible solution would be to use the "afterClosed" option when navigate to the edit screen. Is there a more elegant solution that will help me to accomplish this requirement without navigate to the browse screen and then go back to the edit screen? Regards, Martin
    Read more...

    1234

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