为什么web service 调用远程数据的时候就提示remoting已关闭?

lanxe 2005-03-25 09:25:58
如果是调用web service 上不是从SQL读取的数据就可以,
一碰到SQL读取的就提示以下信息:
the underlying connection was closed: unable to connect to the remote server.


同时在别的机的时候,直接用http访问也是提示:
The test form is only available for requests from the local machine.

我自己在本机浏览asmx页面的时候,也是只能浏览到函数,一执行invoke 就提示System.IO.FileNotFoundException: File or assembly name ysuolcf6.dll, or one of its dependencies, was not found.
File name: "ysuolcf6.dll"(这个dll文件不停变)


请问这是什么原因造成的?

如果这个问题解决再送100分回报!

谢谢
...全文
160 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
lanxe 2005-03-25
  • 打赏
  • 举报
回复
saucer:
please go to this post:
http://community.csdn.net/Expert/topic/3882/3882287.xml?temp=.9434015
lanxe 2005-03-25
  • 打赏
  • 举报
回复
thanks very much!
saucer 2005-03-25
  • 打赏
  • 举报
回复
>>>The test form is only available for requests from the local machine

INFO:默认情况下禁用 HTTP GET 和 HTTP POST
http://support.microsoft.com/kb/819267/zh-cn

>>>>why it need ASPNET or Network Service permission?

what classes are you using to access teh database? the reason %windir%/TEMP is needed, because the system needs to do some i/o internally
lanxe 2005-03-25
  • 打赏
  • 举报
回复
it just try to read data from SQL only, it does not write any data. why it need ASPNET or Network Service permission?
cansum396 2005-03-25
  • 打赏
  • 举报
回复
up
saucer 2005-03-25
  • 打赏
  • 举报
回复
try to give "ASPNET" account or "Network Service" (for windows 2003) account permissions to C:/WINNT/TEMP or C:/WINDOWS/TEMP
xiongchen 2005-03-25
  • 打赏
  • 举报
回复
UP

110,536

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧