执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出
执行当前Web请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出行41:{行42:HttpWebRequesthttpWebReque...
执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出
行 41: {
行 42: HttpWebRequest httpWebRequest = WebRequest.Create(@"" + url) as HttpWebRequest;
行 43: HttpWebResponse httpWebResponse = httpWebRequest.GetResponse() as HttpWebResponse;
行 44: Stream stream = httpWebResponse.GetResponseStream();
行 45: StreamReader reader = new StreamReader(stream, Encoding.UTF8);
这个怎么解决? 展开
行 41: {
行 42: HttpWebRequest httpWebRequest = WebRequest.Create(@"" + url) as HttpWebRequest;
行 43: HttpWebResponse httpWebResponse = httpWebRequest.GetResponse() as HttpWebResponse;
行 44: Stream stream = httpWebResponse.GetResponseStream();
行 45: StreamReader reader = new StreamReader(stream, Encoding.UTF8);
这个怎么解决? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询