2015-03-03 51 views
1

天青我試圖到Windows Azure通github上 '部署到Azure的' 部署WebAdmin的...我發現了以下錯誤:WebAdmin的部署從GitHub

Failed to load resource: the server responded with a status of 500 (Internal Server Error). error: "Unable to translate bytes [F3] at index 22 from specified code page to Unicode."

System.Text.DecoderFallbackException: Unable to translate bytes [F3] 
    at index 22 from specified code page to Unicode. 
    at System.Text.DecoderExceptionFallbackBuffer.Throw(Byte[] bytesUnknown, Int32 index) 
    at System.Text.DecoderExceptionFallbackBuffer.Fallback(Byte[] bytesUnknown, Int32 index) 
    at System.Text.DecoderFallbackBuffer.InternalFallback(Byte[] bytes, Byte* pBytes, Char*& chars) 
    at System.Text.UTF8Encoding.GetChars(Byte* bytes, Int32 byteCount, Char* chars, Int32 charCount, DecoderNLS baseDecoder) 
    at System.Text.DecoderNLS.GetChars(Byte* bytes, Int32 byteCount, Char* chars, Int32 charCount, Boolean flush) 
    at System.Text.DecoderNLS.GetChars(Byte[] bytes, Int32 byteIndex, Int32 byteCount, Char[] chars, Int32 charIndex, Boolean flush) 
    at System.Text.DecoderNLS.GetChars(Byte[] bytes, Int32 byteIndex, Int32 byteCount, Char[] chars, Int32 charIndex) 
    at System.IO.StreamReader.ReadBuffer(Char[] userBuffer, Int32 userOffset, Int32 desiredChars, Boolean& readToUserBuffer) 
    at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count) 
    at Newtonsoft.Json.JsonTextReader.ReadData(Boolean append, Int32 charsRequired) 
    at Newtonsoft.Json.JsonTextReader.ParseValue() 
    at Newtonsoft.Json.JsonTextReader.ReadInternal() 
    at Newtonsoft.Json.JsonTextReader.Read() 
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter) 
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) 
    at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) 
    at System.Net.Http.Formatting.JsonMediaTypeFormatter.<>c__DisplayClass8.<ReadFromStreamAsync>b__6() 
    at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken) --- End of stack trace from previous location where exception was thrown --- 
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 
    at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() 
    at Slingshot.Controllers.ARMController.<GetTenantsArray>d__67.MoveNext() in c:\code\GitHub\slingshot\Slingshot.Api\Controllers\ARMController.cs:line 436 --- End of stack trace from previous location where exception was thrown --- 
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 
    at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() 
    at Slingshot.Controllers.ARMController.<GetTemplate>d__4c.MoveNext() in c:\code\GitHub\slingshot\Slingshot.Api\Controllers\ARMController.cs:line 334 

Is it possible to install webadmin any other way?

提前致謝!

回答

2

看來這是Azure中與Azure Active Directory名稱中的Unicode字符相關的錯誤。我能夠通過將'ó'字符添加到我的目錄名稱來重現此錯誤。

我已經發布了一個問題,他們的GitHub項目: https://github.com/projectkudu/slingshot/issues/32

臨時解決方法,嘗試從您的目錄名在Azure管理門戶網站刪除Unicode字符。請注意,這些更改可能需要一些時間。

可以手動部署webadmin,但我們還沒有相應的文檔。

+0

這是真的....默認情況下,創建的目錄名稱是「DiretórioPadrão」...我會盡力讓你知道!謝謝!!! – GDGCarlos 2015-03-03 20:52:06