WinForm用户控件未从一台计算机加载到网页上,但在另一台计算机上运行正常 [英] WinForm User Control not getting loaded on web page from one machine, but is working fine from other machine

查看:91
本文介绍了WinForm用户控件未从一台计算机加载到网页上,但在另一台计算机上运行正常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在开发点网1.1,并尝试将Win窗体用户控件嵌入到Web应用程序页面中(使用Internet Explorer).我们有一个html文件,其中提供了< object>标签.

如果我部署示例代码并在代码组中提供条目,则我们在一台机器上有2台开发机器,它运行良好并加载了控件.但是,如果我在第二台开发机上部署并运行相同的代码,并在代码组中提供条目,则它将无法正常工作.

由于两台机器都在网络上,因此我们尝试从第一台机器访问第二台开发机器的应用程序,它运行良好.然后我们尝试从第二台开发机器访问第一台机器的应用程序,但该应用程序再次无法加载.

We are working on dot net 1.1 and trying to embed Win form user control on web application page (Using internet explorer). We have a html file in which we have provided the <object> tag. 

 We have 2 development machines here on one machine if i deploy the sample code and provide entry in code group, it runs fine and loads the control. But if i deploy and run the same code on 2nd development machine and provide entry in code group then it does not work.

As both the machines are on network we tryied to access application of second devlopment machine from the first machine, it worked fine. then we tried to access application of first machine from the second develpment machine it again failed to load.

我们已竭尽所能解决该问题,例如将该站点设置为浏览器上的受信任站点,检查浏览器,服务,文件夹上的权限.两台计算机上的所有内容似乎几乎都相同(两台计算机上的虚拟目录均选择了ASP.net 1.1,两台计算机均具有XP Professional).唯一可见的区别是,第一台计算机使用Microsoft .NET Framework 2.0配置,第二台计算机仅使用Microsoft .NET Framework 1.1配置.

在我看来,我无法解决一些与Acces权利相关的问题.

We have done almost every thing we could to resolve the issue like making the site a trusted site on browser, checked prmissions on browser, services, folder. every thing seems to be almost same on both the machines (virtual directory on both machines has ASP.net 1.1 selected, and both machines has XP professional ). Only visible difference is that  first machine is using Microsoft .NET Framework 2.0 Configuration and second machine has only Microsoft .NET Framework 1.1 Configuration.

To me it seems some Acces right related issue which i cant loacte.

推荐答案

感谢您的发帖!我建议在一个MS论坛中发布您的问题,

首页ASP.NET论坛»常规ASP.NET » Web表单

位于此处:http://forums.asp.net/18.aspx


这篇关于WinForm用户控件未从一台计算机加载到网页上,但在另一台计算机上运行正常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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