Inquiridor
Problema dev Windows Phone 8 App com Azure

Discussão Geral
-
Galera Boa Tarde!
Estou desenvolvendo um app para Windows Phone 8 com integracao com o Windows Azure porém ao tentar me autenticar no app o mesmo gera esse erro e não consigo encontrar nenhuma solucao...
Por favor se tiverem a bondade de me ajudar sou muito grato!
- Tipo Alterado Ricardo Barbosa Cortes quarta-feira, 17 de setembro de 2014 17:59 Aguardando retorno do usuário
quinta-feira, 4 de setembro de 2014 17:18
Todas as Respostas
-
Você pode incluir detalhes da "Inner Exception" / Stack Trace
Thiago Custodio | Software Engineer
Blog
Twitter
Faça parte da Comunidade Windows Azure Brasil no Facebookquinta-feira, 4 de setembro de 2014 18:33 -
Inner Exception = Null
Stack Trace
at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Microsoft.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.WindowsAzure.MobileServices.MobileServiceTableQuery`1.<ToListAsync>d__0.MoveNext()
--- 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 DailyShopping.LoginPage.<btnEntrar_Click>d__2.MoveNext().Muito obrigado pela ajuda. Fico no aguardo.
So: Windows 8.1
Visual sutido 2012.
quinta-feira, 4 de setembro de 2014 18:54 -
esta mensagem não dá a menor pista =/
Você validou se a tabela Usuário existe? Já tentou efetuar a operação sem usar async para ver se a mensagem de erro é diferente?
Thiago Custodio | Software Engineer
Blog
Twitter
Faça parte da Comunidade Windows Azure Brasil no Facebookquinta-feira, 4 de setembro de 2014 20:13 -
Thiago,
A tabela esta criada no database Azure, tirei o async e continua gerando o mesmo erro ao tentar logar-se no app.
Só para te explicar melhor sobre o app, minha ideia inicial era criar um app de comparacao de preco e inicialmente ele teria uma tela de login (utilizando o azure) e existiria tambem duas tabelas para armazenar itens e produtos.
sexta-feira, 5 de setembro de 2014 14:04 -
Thiago,
agora esta gerando esse erro aqui?
{System.InvalidOperationException: The character set provided in ContentType is invalid. Cannot read content as string using an invalid character set. ---> System.ArgumentException: 'us-ascii' is not a supported encoding name.
Parameter name: name
at System.Globalization.EncodingTable.internalGetCodePageFromName(String name)
at System.Globalization.EncodingTable.GetCodePageFromName(String name)
at System.Text.Encoding.GetEncoding(String name)
at System.Net.Http.HttpContent.<>c__DisplayClass1.<ReadAsStringAsync>b__0(Task task)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.WindowsAzure.MobileServices.MobileServiceHttpClient.<ThrowInvalidResponse>d__17.MoveNext()
--- 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.GetResult()
at Microsoft.WindowsAzure.MobileServices.MobileServiceHttpClient.<SendRequestAsync>d__1c.MoveNext()
--- 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 Microsoft.WindowsAzure.MobileServices.MobileServiceHttpClient.<RequestAsync>d__4.MoveNext()
--- 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 Microsoft.WindowsAzure.MobileServices.MobileServiceTable.<ReadAsync>d__0.MoveNext()
--- 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 Microsoft.WindowsAzure.MobileServices.MobileServiceTableQueryProvider.<Execute>d__3`1.MoveNext()
--- 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 Microsoft.WindowsAzure.MobileServices.MobileServiceTableQuery`1.<ToListAsync>d__0.MoveNext()
--- 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 DailyShopping.LoginPage.<btnEntrar_Click>d__3.MoveNext()}terça-feira, 9 de setembro de 2014 03:31 -
pela mensagem é um erro de enconding. Ao que parece existe alguma palavra com acento ou 'ç' e está dando este erro. Só para eu entender, este erro retorna ao tentar executar aquela mesma linha?
App.MobileService.GetTable.... ?
Thiago Custodio | Software Engineer
Blog
Twitter
Faça parte da Comunidade Windows Azure Brasil no Facebookterça-feira, 9 de setembro de 2014 14:56 -
Sim está gerando na mesma linha.
O que estou achando estranho é que hoje deu outro erro:
terça-feira, 9 de setembro de 2014 16:40 -
alguma vez funcionou? existem dados na tabela? minha sugestão:
Instale o fiddler e monitore o request / response. Aparentemente há uma divergência de encoding.
Thiago Custodio | Software Engineer
Blog
Twitter
Faça parte da Comunidade Windows Azure Brasil no Facebookterça-feira, 9 de setembro de 2014 17:29 -
Nenhuma vez funcionou.
Existe usuário cadastrado na base de dados do Azure. Cadastrei na "mão" mesmo.
Vou tentar isso. Obrigado!
quarta-feira, 10 de setembro de 2014 22:55