2012-05-02 5 views
0

내 azure-project를 로컬로 실행해야하는 환경을 설정했습니다.waiishost deploy at crashing on

그것은 간단한 배치 파일로 시작

E: 
cd "E:\Procurement\Source\Procurement\trunk\Azure_Procurement\Azure_Procurement" 
MSBuild.exe Azure_Procurement.ccproj /p:PackageForComputeEmulator=true /p:PackageWebRole=False 
MSBuild.exe Azure_Procurement.ccproj /t:Publish 
"C:\Program Files\Windows Azure Emulator\emulator\CSRun.exe" "E:\Procurement\Source\Procurement\trunk\Azure_Procurement\Azure_Procurement\csx\Release" "E:\Procurement\Source\Procurement\trunk\Azure_Procurement\Azure_Procurement\bin\Release\ServiceConfiguration.cscfg" 

내가이 파일을 실행

, 나의 프로젝트는 컴파일 및 IIS에 배포됩니다. 그러나, 몇 초 후에 에뮬레이트 된 호스트 충돌하고 난 다음 정보를 내 손에 얻을 수 있었다 :

Problem signature: 
    Problem Event Name: CLR20r3 
    Problem Signature 01: waiishost.exe 
    Problem Signature 02: 1.6.0.0 
    Problem Signature 03: 4eb3102e 
    Problem Signature 04: System.ServiceModel 
    Problem Signature 05: 4.0.0.0 
    Problem Signature 06: 4d930801 
    Problem Signature 07: 573e 
    Problem Signature 08: 1bd 
    Problem Signature 09: KFM023AO4DTNWT0EKMSKUWE5BRORH3FC 
    OS Version: 6.1.7601.2.1.0.272.7 
    Locale ID: 1053 
    Additional Information 1: af3a 
    Additional Information 2: af3a02be113369c664147fe8f0201429 
    Additional Information 3: 9edf 
    Additional Information 4: 9edf9a509c5231db61e45a805b3d35ff 

예외 메시지 : 방법이 예기치 않은 오류 코드로 실패 3.

Stack Trace: 
    at System.Security.AccessControl.NativeObjectSecurity.CreateInternal(ResourceType resourceType, Boolean isContainer, String name, SafeHandle handle, AccessControlSections includeSections, Boolean createByName, ExceptionFromErrorCode exceptionFromErrorCode, Object exceptionContext) 
    at System.Security.AccessControl.DirectorySecurity..ctor(String name, AccessControlSections includeSections) 
    at System.IO.DirectoryInfo.GetAccessControl(AccessControlSections includeSections) 
    at Microsoft.WindowsAzure.ServiceRuntime.IISConfigurator.FileManager.AddAllowAceIterative(DirectoryInfo dir, FileSystemRights rights, IdentityReference[] accounts) 
    at Microsoft.WindowsAzure.ServiceRuntime.IISConfigurator.FileManager.AddAllowAce(DirectoryInfo dir, FileSystemRights rights, Boolean inherit, IdentityReference[] accounts) 
    at Microsoft.WindowsAzure.ServiceRuntime.IISConfigurator.Security.AddAppPoolSidAceToVdir(String appPoolName, String sitePath, String appPoolSid) 
    at Microsoft.WindowsAzure.ServiceRuntime.IISConfigurator.IISConfigurator.Deploy(String roleId, WebAppModel appModel, String roleRootDirectory, String sitesDestinationDirectory, String diagnosticsRootFolder, String roleGuid, Dictionary`2 globalEnvironment) 
    at SyncInvokeDeploy(Object , Object[] , Object[]) 
    at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) 
    at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) 
    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) 
    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc) 
    at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet) 

프로젝트는 Visual Studio를 사용하여 디버깅 할 때 실행되며 다른 서버에서 동일한 배치 스크립트를 실행할 때도 작동합니다.

미리 감사드립니다.

+0

해결책을 찾았습니다! 나는 그것을 허용 할 때 대답으로 게시 할 것입니다! (Rep below 100 = Cant가 질문을 올린 후 8 시간 이내에 내 자신의 질문에 답변) – DOOMDUDEMX

+0

이제 답장을 게시 할 수 있습니다. 그것은이 질문을 정리할 것입니다. –

+0

@DOOMDUDEMX Azure SDK 2.1에서 쉘을 사용하려면 어떻게해야합니까? –

답변

1

해결책을 찾았습니다!

오류는 하늘색 진단을 통해 WCF 추적을 활성화하려는 시도로 인해 발생했습니다. stacktrace에서 보았 듯이 "System.ServiceModel"(뭔가 알지 못했던 사람이 WCF의 일부 임)에서 뭔가 잘못되어 내 web.config의 오류로 인해 발생했습니다. 이 외에도 "Debug"구성으로 실제로 컴파일하는 동안 "Release"-build 구성으로 컴파일 된 빌드를 가리키는 스크립트가 있다는 것을 잊어 버렸습니다.

+0

나는 계속해서 돌아 오는 비슷한 문제가있다. 위의 예외를 유발 한 webconfig에서 구체적으로 어떤 문제가 있었습니까? – TBD

+0

불행히도 나는이 질문을 게시하고 더 이상 프로젝트에 대한 액세스 권한이 없기 때문에 고용을 변경하고 다양한 프로젝트를 수행했습니다. Web.config에 지정된 로깅/추적을 제거하고 디버그 및 릴리스 빌드 구성에 대해 다른 구성 파일이있는 경우 올바른 설정으로 변경해야합니다. – DOOMDUDEMX