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:1251
    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:1251
    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 been doing a lot of reading about LS users, roles, permissions, authentication and authorization. My simple question is: Can we not use Windows authentication only? I would simply like to set up a table of users that can access the LS HTML application if their Windows credentials are present in the Users table. So far I have: Added a Desktop Client to my solution and named it 'Administration'.Set Access Control to 'Allow only users and AD groups specified in the Users screen...'Granted access for DebugStarted the application which brings me to the Administration pageBrowsed to 'Users' under AdministrationAdded a user, which is my user account in ADAdministration page found my user account and added it to the Users table as domainname\useraccountIt also pulled my Full Name, so I know the AD account was foundPublished the project Now, when I try to browse to my HTML client in a browser, it asks for credentials. However, using my AD account credentials does not work. No
    Read more...

    Hey, I'm building a LightSwitch 2013 HTML application. when i'm adding an html element to the DOM after timeout, it doesn't get all lightswitch classes that should be added if there wasn't a timout. For example: settimeout(function( $ul = $("<ul></ul>"); $ul.attr("data-role", "listview"); $ul.attr("data-filter", "true"); $(element).append($ul); ),100); The ul will not get all the classes that lightswitch would give if there was no timeout. Any ideas? Thanks.
    Read more...

    I have yet to get Lightswitch 2015 to work in Visual Studio 2015, either community or enterprise. I continue to get an error that the lsxtproj type is not supported when I try to create a new project??  Any suggestions?? mike mike d
    Read more...

    I am in a SQL queries class and I am thinking about how all of the parts of LightSwitch work. I like that we are doing all of these queries in code using SQL Management Studion and setting up exports to excel so I see how to manually edit them. I was wondering how to add them to a client solution manually. We Use queries in LightSwitch to create screens and filters and have buttons that export to excel. As well I use as excels ability to use Power Pivot to directly load data from a database based on what the pivot table does. Can view the queries in code if I dig into the text files built using the Visual Studio IDE and the GUI provided by LightSwitch. I need to learn how to manually place these lines of code within classes in a project solution so I can start work on making the same queries embedded in WPF. LightSwitch embeds them in solution parts for Silverlight I assume. I guess I just want to learn the basics of how to embed SQL statements and
    Read more...

    I have some code that runs under _Inserting on the Jobs table on the server. I also have a System table with a single record and a property of the LastCode (Last JobCode used in a record). DataWorkspace dw = this.Application.CreateDataWorkspace(); Job result = (from j in dw.Data.Jobs.OrderByDescending(Job => Job.JobCode) select j).FirstOrDefault(); System system = dw.Data.System.FirstOrDefault(); Int32 LastCode = int.Parse(result.JobCode); Int32 NewLastCode = LastCode + 1; system.LastCode = NewLastCode.ToString(); dw.Data.SaveChanges(); Which was created out of this post. If I place it in the _Inserted table it fails locally and when published, however running from _Inserting in debug mode locally on the machine works perfectly fine. When I publish this to Azure (V11 DB currently) everything else seems to work however when I try and add a Job I get "Object reference not set to
    Read more...

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