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

    Hi, The LS team stopped short of enabling runtime dynamic OData connections, so I thought I'd take a stab at it.  Turns out we can change the Odata Uri at runtime using an event handler for BuildingRequest method of the DataServiceContext.  The following code works to change the Uri at runtime.  Imports System.Data.Services.Client Imports LightSwitchApplication Namespace ApplicationData.ApplicationDataService Partial Public Class ApplicationData Inherits Global.System.Data.Services.Client.DataServiceContext Private Sub OnContextCreated() AddHandler Me.BuildingRequest, AddressOf OnBuildingRequest AddHandler Me.SendingRequest2, AddressOf OnSendingRequest2 End Sub Private Sub OnBuildingRequest(sender As Object, buildingRequestEventArgs As BuildingRequestEventArgs) Dim stUri As String = buildingRequestEventArgs.RequestUri.ToString stUri = Replace(stUri,
    Read more...

    Angularjs in Lightswitch HTML
    12/13/2014 5:59 PM
    I've tried to implement Jan Van Bladels article http://app.pragmaswitch.com/CrudGrid/ng-app/index.html and unlike other articles I have seen this one doesn't seem to involve mvc and app_start and so on, everything is done client side? I am able to access the index.html file at http://localhost:somenumber/HTMLClient/ng-app/index.html If I click the HTML client, I am redirected to the LS Browse screen I set up. There I have one post that I made in the LS client. However I can't seem to get this to show in the custom index.html file? If I click Add, nothing happens no modal window sliding down(guess I must make some .html file for this?), but the save button turns red, if i click this I get an error message saying "An error occured. Cannot read property 'extend' of undefined" However it is saved to the db, but as a blank post. I have uploaded the project to OneDrive https://onedrive.live.com/redir?resid=48547E6FC0593A30%21434 If anyone please could take a look at
    Read more...

    When I link a SharePoint Document Library (on Office 365 / SharePoint Online dev site, same host web as Cloud Business App), I receive the error "Error retrieving document library information" when I try to add a document while running the app in debug mode (comes up as an ajax dialog while I'm in the app). I see the Add Documents button, and when I click it, I get the Word / Excel / PowerPoint / Upload flyout menu, but receive the other error after awhile (30 or more seconds later) when I click one of those four options. Has anyone else seen this before? I  have verified my permissions to the document library. The connections seem to be set up fine, and the GUID column in the source (SQL Azure DB) and the document library (external) are properly related (one SQL entry-to-many Documents). The GUID column in the parent data source is properly populated and displayed.
    Read more...

    Hi I am not able to deploy LightSwitch Cloud Bussiness App to Azure. It gives me the error: An exception occurred when deploying the database for the application. An error occurred during deployment plan generation. Deployment cannot continue. I have tried deploying for two different project as this thread says, but no luck. I have tried creating a new azure website and deploying my app there, but still the error is same. Help Please. Regards, Nirav Nirav Maisuriya SharePoint Developer Evonious Technologies
    Read more...

    Hi guys, I am writing an html application in vs2013 ultimate with update 4 and have a problem trying to use the beforeshown method. I created a commonSet screen and in the browse screen I modified the add button to my own method in order to Create the AddEditScreen using the following code: myapp.BrowseModosDePago.AddModosDePagoItem_Tap_RefreshScreen_execute = function(screen) {     myapp.showAddEditModosDePagoItem( null, {         beforeShown: function(addEditModosDePagoScreen) {             // Create a new record Read more...

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