WinFrm程序发布到自己本地站点上时候 在发布哪里设置发布位置为http://localhost/GangMingClient/  就可以发布成功同样将系统发布到服务器上 位置设置为  http://192.168.0.190:8083/   结果就发布失败  
提示错误为 出现以下错误: 无法创建网站“http://192.168.0.190:8083/”。 Web 服务器上似乎未安装 FrontPage 服务器扩展。服务器上是IIS6.0  我自己本地是IIS5.1  请问怎么设置或修改才能成功发布到服务器上  

解决方案 »

  1.   

    不知道你说的是不是winform嵌入web
    如果是的话,我做过一些相关的case:Hi aciuffre
     
    I am not very clear about the facing needs. If you need to develop a winform application on your page, please check the following link:
     
    Hosting .NET Windows Forms Controls in IE
    http://www.15seconds.com/issue/030610.htm
     
    Including a winforms user control in an asp.net web page 
    http://codebetter.com/blogs/peter.van.ooijen/archive/2007/06/18/including-a-winforms-user-control-in-an-asp-net-web-page.aspx
     
    Hosting a Windows Control in a Web Form 
    http://aspnet.4guysfromrolla.com/articles/052604-1.aspx
     
    http://forums.asp.net/t/1309245.aspx
     
    And you can also try to use Silverlight to build your Rich Internet Application.
     
    Thanks.=============================================Hosting .NET Windows Forms Controls in IE
    http://www.15seconds.com/issue/030610.htm
     
    Including a winforms user control in an asp.net web page 
    http://codebetter.com/blogs/peter.van.ooijen/archive/2007/06/18/including-a-winforms-user-control-in-an-asp-net-web-page.aspx
     
    Simple way to expose a .NET WinForm control as an ActiveX control in any HTML page
    http://www.codeproject.com/KB/miscctrl/htmlwincontrol.aspx
    ===============================================
    At last, we need grant the permission to the application, you can use following code to do that, or use Microsoft .NET Framework Configuration Tool.
     
    C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\caspol.exe -quiet -machine -addgroup All_Code -url http://localhost/* FullTrust -name "GroupName"
    ( replace the localhost to your web server address)
    ==============================================
    还有刚做的一个关于配置的:Hello plshn99
     
    Based on my experience, the reason is Internet Explorer 8.0 has higher security level.
     
    Just as NC01 said, we cannot config the security setting from code, so we need to do the configuration on the client machine.
     
    Please try the following steps:
     
      Add your site to Trusted Site list of Internet Explorer:
     
    1.         Click “Internet Options” in “Tools” menu of IE.
    2.         Choose the “Security” tab, and select the “Trusted Site” option.
    3.         Click the “Sites” button in the right, then add your site to the list.
     
      Granting “FullTrust” to the assembly via the .NET Framework Configuration Tool
     
    1.         Run the Microsoft .NET Framework Wizards in the Control Panel.
    2.         Choose the “Adjust .NET Security” option, and click “Next”.
    3.         Select the “Trusted Sites” and drag the slider bellow to “Full Trust”.
     
    For more information about CLR determines security policy with Internet Explorer, I suggest you check the following KB:
     
    How Internet Explorer determines permissions for .NET Framework assemblies
    http://support.microsoft.com/default.aspx?scid=kb;en-us;311301&FR=1
     
    Hope the information helps.
     
    Thanks.希望能够帮上忙
      

  2.   

    应该是web 程序吧 已经提示你了石FrontPage扩展没有安装,你把这个组件安装上就可以了!
      

  3.   

    ClickOnce发布:
    http://www.cnblogs.com/cuishao1985/archive/2008/11/29/1343914.html
      

  4.   

    http://www.cnblogs.com/cuishao1985/archive/2008/11/29/1343914.html