2014-04-15 59 views
0

乾杯! 我在部署的Visual Studio Light Switch應用程序中遇到問題。如果我從我的視覺工作室啓動應用程序,它運行沒有問題。之後我把它部署到我們的IIS我得到以下錯誤: enter image description hereVisual Studio 2012 Lightswitch應用程序導致錯誤'GetAuthenticationInfo'

Load operation failed for query 'GetAuthenticationInfo'. Could not load file or assembly 'Microsoft.LightSwitch.Design.Server.Internal, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. 

我真的不知道什麼缺失。該應用程序已從VS2010升級到VS2012解決方案。在升級後,我修復了一些即將發生的構建錯誤之後,程序似乎在調試出Visual Studio時沒有問題。

另外我還運行了兩個在VS2010中開發的其他Light Switch應用程序。兩者都運行沒有任何問題。也許有人知道如何解決這個問題?非常感謝!

編輯1

基於馬茨答覆我用提琴手遇到問題(使用跟蹤文件沒有給出關於該問題的信息普爾跟蹤;)

的Fiddler遇到HTML 404錯誤:

<body> 
<div id="header"><h1>Server Error</h1></div> 
<div id="content"> 
<div class="content-container"><fieldset> 
    <h2>404 - File or directory not found.</h2> 
    <h3>The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.</h3> 
</fieldset></div> 
</div> 
</body> 

此外,我發現在提琴手以下信息:

@Fault5http://schemas.microsoft.com/ws/2005/05/envelope/[email protected]@Value�[email protected]@Textxmllang�en-US��Could not load file or assembly 'Microsoft.LightSwitch.Design.Server.Internal, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file [email protected]@DomainServiceFaultDomainServices i)http://www.w3.org/2001/[email protected] ErrorCode��@ErrorMessage��Could not load file or assembly 'Microsoft.LightSwitch.Design.Server.Internal, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file [email protected]�@ 
StackTrace� at System.ServiceModel.DomainServices.Server.DomainService.DefaultDomainServiceFactory.CreateDomainService(Type domainServiceType, DomainServiceContext context) 
    at System.ServiceModel.DomainServices.Hosting.DomainOperationInvoker.GetDomainService(Object instance) 

好像缺了點什麼,但我不知道爲什麼

回答

0

我知道LightSwitch正在退役,但對於任何仍在使用它的人遇到此錯誤,我的解決方案是安裝所有IIS組件 - 不僅僅是默認設置或最小集合。希望能幫助到你!

相關問題