2016-10-11 2 views
0

약 일주일 전에 내 컴퓨터에 Windows 기념일 업데이트가 있습니다. 그 이후로 Azure Storage Emulator를 시작할 수 없었습니다. Azure Storage Emulator 및 SQL Express Local DB를 제거하고 다시 설치하려고했습니다. 또한 here의 단계를 시도했습니다. 어느 쪽도 문제를 해결하지 못했습니다. MSSQLLocalDB가 있으며 SQL Management Studio를 통해 연결할 수 있습니다.Windows 10 업데이트 후 Azure 저장소 에뮬레이터가 실패합니다.

C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator>AzureStorageEmulator.exe init -inprocess 
Windows Azure Storage Emulator 4.3.0.0 command line tool 
Cannot reserve port: HttpSetServiceConfigurationAcl failed: Cannot create a file when that file already exists. (Exception from HRESULT: 0x800700B7). 
One or more initialization actions have failed. Resolve these errors before attempting to run the storage emulator again. 
Error: Cannot reserve port: HttpSetServiceConfigurationAcl failed: Cannot create a file when that file already exists. (Exception from HRESULT: 0x800700B7). 

편집 :

나는 수동으로 내가이 오류 메시지가 저장 데이터베이스에 약식하려고하면이 시점에서 내가 지금 비주얼 스튜디오 2015, SqlLocalDB 2016 푸른 SDK 2.9.5을 다시 설치/제거 시도했습니다 . 저장소 에뮬레이터가 아직 초기화하지 못했습니다. MicrosoftAzureStorageEmulator.msi를 다시 실행하면 "Windows Storage Emulator Service가 작동을 멈췄습니다."라는 오류가 나타납니다. 로그는 다음과 같습니다.

Action 10:33:33: RunInitialize. Initializing the Storage Emulator 
CAQuietExec: Windows Azure Storage Emulator 4.5.0.0 command line tool 
CAQuietExec: Error: An unknown error has occurred. 
CAQuietExec: Error 0xffffffff: Command line returned an error. 
CAQuietExec: Error 0xffffffff: CAQuietExec Failed 
CustomAction RunInitialize returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox) 
Action ended 10:35:57: InstallFinalize. Return value 3. 
Action 10:35:57: Rollback. Rolling back action: 
Rollback: Initializing the Storage Emulator 
Rollback: Copying new files 
Rollback: Updating component registration 
Action ended 10:35:57: INSTALL. Return value 3. 
Action ended 10:35:57: ExecuteAction. Return value 3. 
Action 10:35:57: FatalError. 
Action start 10:35:57: FatalError. 
Action 10:35:57: FatalError. Dialog created 
Action ended 10:35:58: FatalError. Return value 2. 
Action ended 10:35:58: INSTALL. Return value 3. 

SqlLocalDB는 대부분 정상적으로 작동하는 것 같습니다. 문제없이 명령 줄에서 데이터베이스를 만들고 삭제할 수 있습니다. 여기에 SqlLocalDB 난의 출력입니다 : 오류 메시지에 따르면

c:\Users\genslow\Downloads>sqllocaldb i 
MSSQLLocalDB 
ProjectsV13 
v12.0 
v13.0 

감사합니다, 그렉

+0

BillCo 비난 ... Win10 업데이트는 현재 완전히 엉망입니다. M $는 베타 테스터로서 모두를 사용하고 있습니다 ... –

+0

관리자 권한 명령 프롬프트에서 명령을 실행 해 볼 수 있습니까? 또는 "-inprocess"인수를 제거하면 권한 상승을 묻는 메시지가 표시됩니다. 또한 에뮬레이터를 시작할 때 표시되는 오류는 무엇입니까? –

+0

감사합니다. Michael. 시도한 모든 단계는 상승 된 명령 프롬프트에있었습니다. 원래 질문에 추가 한 추가 데이터를 확인하십시오. 저장소 에뮬레이터가 현재 충돌없이 설치되지 않습니다. –

답변

0

Cannot reserve port: HttpSetServiceConfigurationAcl failed: Cannot create a file when that file already exists. (Exception from HRESULT: 0x800700B7).

, 데이터베이스가 이미 존재한다는 것, 그것은 오류를 반환 있도록. 데이터베이스를 삭제하려고 시도하십시오 (삭제하기 전에 데이터베이스 파일의 백업을 만들 수 있음) 명령을 수행하십시오. "-forcecreate"을 사용해도 데이터베이스를 이미 만들었더라도 강제로 만들 수 있습니다. 또한 관리자로 실행하여 저장소 에뮬레이터를 구성했는지 확인하십시오.

+0

SqlLocalDB -i는 기존 azuredb를보고하지 않으며 임의의 .mdf 파일을 찾을 수 없습니다. -forcecreate는 아무런 효과가 없었습니다. 이 오류 메시지가 충돌하는 파일의 파일 이름을 반환하면 매우 유용합니다. –

+0

[이 블로그] (https://blogs.msdn.microsoft.com/cie/2016/05/17/azure-emulator-crash-with-error-0x800700b7-cannot-create-a-file-when-that- 파일 이미 있음 /) "Azure 에뮬레이터 오류 0x800700b7 충돌 : 해당 파일이 이미있을 때 파일을 만들 수 없습니다"문제를 논의했다. –

관련 문제