locked
Lightswitch, Windows Server 2008r2 and 'Microsoft.LightSwitch.Server.Manifest.dll' RRS feed

  • Question

  • Hello

    I publish LightSwitch HTML project to server, and have error (from trace):

    38

    2014-09-11 18:56:31

    /Microsoft.LightSwitch.SecurityData.svc/GetAuthenticationType

    400

    GET

    View Details


     
     

    40

    2014-09-11 18:56:42

    /Microsoft.LightSwitch.SecurityData.svc

    400

    GET

    View Details

    I found in system logs this error:

    Handling an exception. Exception details: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.LightSwitch.Server.Manifest.dll' or one of its dependencies. Access is denied.

    File name: 'Microsoft.LightSwitch.Server.Manifest.dll'

       at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)...

    I have installed from web platform all LighSwitch prerequisities for 2011 and 2013 edition.

    I read all threads on forum, and stuck.

    I cant reinstall server because it is on production use. Application is working fine on localhost.

    Please help me, it is very important project for my client…

    Thursday, September 11, 2014 5:05 PM

Answers

  • The solution was simple. I create Web Application at local folder: c:\AAA\BBB\Application, and give permissions to read for ApplicationPoolIdentity to folder BBB, but not to AAA. When i fix it, it start working.

    Strange was that i can open application, but have error to read database.

    Friday, September 12, 2014 11:19 AM