关于在IIS中托管后在asp.net中进行.net远程处理 [英] regarding .net remoting in asp.net after hosting in IIS

查看:124
本文介绍了关于在IIS中托管后在asp.net中进行.net远程处理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我创建了一个使用.net远程处理与服务器通信的应用程序.我正在尝试将我的客户端应用程序转换为asp.net,而服务器仍位于Windows上.当我通过调试器运行客户端和服务器时,它可以很好地通信,但是当我在IIS上托管客户端时,它给出了尝试以其访问权限禁止的方式访问套接字",我什至尝试了完全信任,但仍然获得了信任.同样的错误,我也禁用了防火墙和防病毒系统,请为此提供解决方案,谢谢.

Hi,

I have created an application that uses .net remoting to communicate to the server.i am trying to convert my client application on asp.net and server still on windows. when i run my client and server through debugger it communicates well, but when i host the client on IIS it gives "attempt was made to access a socket in a way forbidden by its access permissions " , i even tried full trust but still gets the same error also i have disable my firewall and antivirus system, please provide me solution for this , thanks in advance.

推荐答案

有一篇有关如何生成一个Microsoft的Microsoft文章.在模拟用户的上下文中运行的过程.它已发布在 http://support.microsoft.com/kb/889251/en-us [^ ]
There is a Microsoft article about how to spawn a process that runs under the context of the impersonated user. It has been published at http://support.microsoft.com/kb/889251/en-us[^]


上有一篇Microsoft文章,内容涉及如何生成在模拟用户的上下文中运行的进程.它已发布在 http://support.microsoft.com/kb/889251/en-us [^ ]

希望可以解决所报告的问题.
There is a Microsoft article about how to spawn a process that runs under the context of the impersonated user. It has been published at http://support.microsoft.com/kb/889251/en-us[^]

Hope, it resolves the reported issue.


这篇关于关于在IIS中托管后在asp.net中进行.net远程处理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆