2013-09-26 7 views
3

Azure 2.0 SDK로 업그레이드 한 후 잠시 동안 실행중인 클라우드 서비스가 있습니다. 이제 신비하게 일하는 것을 멈췄습니다. Azure 컴퓨터 이벤트 로그에서이 문제가 발생합니다.Azure 클라우드 서비스 정의 문제

The application '/' belonging to site '19369254' has an invalid 
AppPoolId 'ddcc23fe-8eee-4412-a4dd-56b50e18d9f2' set. 
Therefore, the application will be ignored. 

얹는 :

Site 19369254 was disabled because the root application defined for the site is 
invalid. See the previous event log message for information about why the 
root application is invalid. 

과 :

A process serving application pool 'ddcc23fe-8eee-4412-a4dd-56b50e18d9f2' 
terminated unexpectedly. The process id was '3696'. 
The process exit code was '0x103'. 

내 서비스 정의 :이 갑자기 일을 막을 수 방법

<?xml version="1.0" encoding="utf-8"?> 
<ServiceDefinition name="SMEEDI.Cloud" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2013-03.2.0"> 
<WebRole name="SMEEDI.Portal" enableNativeCodeExecution="true"> 
<Startup> 
    <Task commandLine="startup.cmd" executionContext="elevated" taskType="simple"></Task> 
</Startup> 
<ConfigurationSettings> 
    <Setting name="DiagnosticsConnectionString" /> 
    <Setting name="DataConnectionString" /> 
    <Setting name="BaseUrl" /> 
    <Setting name="DatabaseConnectionString" /> 
    <Setting name="Environment" /> 
</ConfigurationSettings> 

<Sites> 
    <Site name="Smeedi_WebRole" physicalDirectory="..\..\..\SMEEDI.Portal"> 
    <Bindings> 
     <Binding name="HttpIn" endpointName="HttpIn" /> 
    </Bindings> 
    </Site> 
</Sites> 
<Endpoints> 
    <InputEndpoint name="HttpIn" protocol="http" port="80" /> 
</Endpoints> 
<Imports> 
    <Import moduleName="RemoteAccess" /> 
    <Import moduleName="RemoteForwarder" /> 
</Imports> 
</WebRole> 
</ServiceDefinition> 
  1. 보내고있어?
  2. 서비스 정의에 어떤 문제가 있습니까?
+0

서버로 원격 작업을하고 다음을 수행하십시오. http://technet.microsoft.com/en-us/library/cc735307(v=ws.10).aspx –

+0

또한 ... physicalDirectory 속성은 에 있습니다. 그게 중요한지는 모르겠지만 또 다른 단서. –

답변

0

받는 오류는 CSDEF 파일과 관련이 없어야합니다. Azure 인스턴스의 IIS 구성에 문제가있는 것으로 보입니다.

Azure 포털에서 인스턴스의 이미지를 다시 작성하거나 인스턴스에 로그인하여 추가 문제를 해결할 수 있습니다. 원격으로 선택하면 IIS 구성, 특히 응용 프로그램 풀과 가상 디렉터리, 특히 CSDEF에서 변경하기 때문에 경로를 검사 할 것입니다.

Azure는 자체적으로 구성을 처리해야하므로 reimage 또는 삭제 및 재배포가 더 좋은 첫 번째 단계 일 수 있습니다.

+1

감사합니다 저스틴. 여러 번 빌드/배포를 수행했습니다. 몇 주 동안 그대로 작동했습니다. 나는 경로를 점검 할 것이다. 입력에 감사한다. –

관련 문제