写了1个webService 昨天调试还好好的,今天就出问题了.高手来看看
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: 提供了一个无效的参数。at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at StockWeb.GetstockList(String imei)
请高手解答 --------------------编程问答-------------------- 刷新webService引用
然后试着编译,看能否通过
若不通过再检查相应代码 --------------------编程问答-------------------- --------------------编程问答-------------------- 疯了 疯了 --------------------编程问答-------------------- 我在本地是可以用的.
但是发布到服务器上就不好用了... --------------------编程问答-------------------- 高手在哪里........ --------------------编程问答--------------------
谁来解决啊
补充:.NET技术 , ASP.NET