wp8/7 ISolatedStorageExplorer抛出异常,菜鸟求解。。。
使用ISolatedStorageExplorer抛出异常,不使用就没问题使用的是模拟器测试,,,ISolatedStorageExplorer打开/关闭都会抛出这个异常。。。
先谢过了。。。。。
Message:The remote server returned an error: NotFound.
StackTrace:
at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
at IsolatedStorageExplorer.ApplicationSessionService.GetApplicationSessionIdCompletedEventArgs.get_Result()
at IsolatedStorageExplorer.Explorer.<>c__DisplayClass2.<ExplorerWorkerDoWork>b__1(Object s, GetApplicationSessionIdCompletedEventArgs args)
at IsolatedStorageExplorer.ApplicationSessionService.ApplicationSessionServiceClient.OnGetApplicationSessionIdCompleted(Object state)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
InnerException:
System.Net.WebException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound.
at System.Net.Browser.ClientHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
at System.Net.Browser.ClientHttpWebRequest.<>c__DisplayClasse.<EndGetResponse>b__d(Object sendState)
at System.Net.Browser.AsyncHelper.<>c__DisplayClass1.<BeginOnUI>b__0(Object sendState)
--- End of inner exception stack trace ---
at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
at System.Net.Browser.ClientHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result) --------------------编程问答-------------------- 不会是WP7有问题吧。是WP8的问题吧。如果你是WINDOWS8+vs20126+WP8SDK的组合的话请看看你的CPU是不是支持Hyper-V及SLAT技术(需要CPU的支持,一般来说,I3以上都支持)。
我的就不行。。。。得还电脑了。。。 --------------------编程问答-------------------- 在App.xaml.cs中有IsolatedStorageExplorer.Explorer.Start();函数,它的参数是你手机所连接PC的IP地址,不能再用localhost来替代,会抛出异常。
补充:移动开发 , Windows Phone