You are here:   Forum
Register   |  Login

 

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

    I have a table for project meetings (PRJ_MTGS) and I want to get the value of the meeting agenda field (MTG_AGNDA). So in this case, I just need the string value of PRJ_MTG.MTG_AGNDA not the queryable record set. I do not know how to call the method to return the value. The use case is to create a Outlook object which is working fine. But the email body needs the agenda which is a html string. I pass some data points, like the recipient, when I call the handler, but the html string would be too long for this method. myapp.ViewTSA_PRJ_MTG.CreateInvite_execute = function (screen) { window.open("../Web/MeetingInvites.ashx?recip=" + recips ); }; Consider the LINQ query in my c# class handler (.ashx.cs): namespace LightSwitchApplication.Web { /// <summary> /// Summary description for MeetingInvites /// </summary> public class MeetingInvites : IHttpHandler { public void ProcessRequest(HttpContext
    Read more...

    Hi, I have a LightSwitch HTML app that is using an external SQL server as the data source. Because of this all of the Validation properties are greyed out, such as Maximum and Minimum on number fields. So I tried to use Custom Validation:

    partial void MYAmount_Validate(EntityValidationResultsBuilder results)

            {

                ifRead more...


    Hi All, I have my first major LightSwitch HTML app built and am going through and cleaning up some of the minor stuff that has been irritating me. The biggest of those is that if I click on a new row in a table by clicking on an editable Text Box, that Text Box gets focus but then loses it. this is forcing my users to have to click twice to enter data into a text box. Did some reading and possibly what is going on is that the first click selects the new row and the second click actually makes that Text Box editable. Is there a way to give the Text Box back it's focus after the new row has been selected? Or just automatically give the associated Text Box focus anytime a row is selected? I did not see any events that looked like "row selected" or "on click" or anything like that. Thanks, Jeremy
    Read more...

    Hello, i have build a LightSwitch HTML App and want other employees in my company to be able to work with the data. So i thought it would be great if they can "export" the data to excel or csv. I found many options for that, but i am not a developer so i have issues in programming. I know it is possible to easily use power query from excel itself and consume the data over odata feed. So my question is if it is possible and when how, to export the data from lightswitch automatically to excel with a button or something like that? So that the employees not have to open excel and import the data them self? Or are there better possibilities you know that can export the data to the users desktop over a button? Thanks for your help in advance and kind regards, AHLEONIT
    Read more...

    New to Azure. I am trying to publish an existing web app to a virtual directory on Azure. I went to Azure portal - Application Settings, scrolled down and typed in the following virtual directory and location: Funding      site\wwwroot\funding Application is checked. I publish from VS 2103 the same as when I was on my IIS server.  I get an HTTP 500 error first.  If I hit back several times I get the following: Server cannot access application directory 'D:\home\site\wwwroot\funding\'. The directory does not exist or is not accessible because of security settings The directory \funding is not being created.  My publish looks like this: I tried changing the output path of the HTML client to \funding but that did not work either. How do I create the physical path in VS 2013 so the virtual directory will work? Thank you for your time.
    Read more...

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