.net – 无法在Windows Server 2008 R2上的IIS7.5中运行net.pipe
我正在尝试在两个进程之间(在同一个盒子上)配置服务器上的net.pipe绑定.我在
Windows 7中本地工作,但在生产服务器(Windows Server 2008 R2)上,它无法正常工作.
我可以证实我有: >添加了一个net.pipe绑定到IIS“网站”(添加*作为信息). 这就是我的开发机器所需的全部内容.还有什么我需要做的吗? 我得到的错误来自一个简单的控制台应用程序测试客户端:
这里有一些配置: 客户: <system.serviceModel> <bindings> <netNamedPipeBinding> <binding name="NetNamedPipeBinding_IWebAppNotifyService"> <security mode="None" /> </binding> </netNamedPipeBinding> </bindings> <client> <endpoint address="net.pipe://nameOfService.svc" binding="netNamedPipeBinding" bindingConfiguration="NetNamedPipeBinding_IWebAppNotifyService" contract="ServiceReference2.IWebAppNotifyService" name="NetNamedPipeBinding_IWebAppNotifyService" /> </client> </system.serviceModel> 服务器: <bindings> <netNamedPipeBinding> <binding name="WebAppNotifyServiceBinding" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" transactionFlow="false" transactionProtocol="OleTransactions" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxBufferSize="65536" maxConnections="10" maxReceivedMessageSize="65536"> <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> <security mode="None"> </security> </binding> <binding name="ScannerManagerCommandBinding"> <security mode="None" /> </binding> </netNamedPipeBinding> </bindings> <behaviors> <serviceBehaviors> <behavior name="WebAppNotifyServiceBehavior"> <serviceMetadata httpGetEnabled="true" /> <serviceDebug includeExceptionDetailInFaults="True" /> </behavior> </serviceBehaviors> </behaviors> <services> <service name="MonitoringApp.Notifier.WebAppNotifyService" behaviorConfiguration="WebAppNotifyServiceBehavior"> <host> <baseAddresses> <add baseAddress="net.pipe://nameOfService.svc" /> <add baseAddress="http://nameOfService" /> </baseAddresses> </host> <endpoint address="" binding="netNamedPipeBinding" bindingConfiguration="WebAppNotifyServiceBinding" contract="X.Y.IWebAppNotifyService" /> <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /> </service> </services> 更新: 与承载net.pipe绑定的网站关联的应用程序池在“NetworkService”用户下运行,如果这有所不同. 我在Windows 3.5.1的Windows功能下启用了非HTTP激活,尽管它在.NET 4下运行. 解决方法
>您是否启用了Windows服务Net.Pipe侦听器适配器和Windows进程激活服务? >您是否在网站级别启用了net.pipe绑定? >您是否在vdir级别添加了net.pipeprotocol?
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- Windows 7 – Cygwin SSH的目录权限(Windows 7)
- Windows下安装及使用NVM
- windows-server-2008-r2 – 对Server 2008 R2 Enterprise上
- Windows – IIS 7.5上的符号链接缓存问题
- winapi – 如何检测应用程序所需的DLL?
- 在Windows窗体或WPF应用程序中使用“Wingdings”字体是否合
- Windows – 如何使输出显示在Visual Studio 2005的错误列表
- win10实现虚拟盘挂载到某个目录下面
- 适用于Windows的Cisco VPN客户端
- windows-server-2008 – 为什么Windows 2008在断电后重新同
- .net – 在Windows应用程序中保存用户凭据
- 在Windows上的Ruby中杀死进程和子进程
- windows-server-2012 – 在Windows Server 2012上
- Windows开发人员切换到Linux的资源
- 如何在Windows上的R 3.0.1中安装doRedis软件包版
- Qt可用于开发Windows IoT核心应用程序吗?
- 适用于Windows 7的免费C/C++ IDE,适用于GCC
- windows-server-2008 – 使用Hyper-V的合成驱动程
- powershell – 如何更改我键入的字符串值的颜色?
- MvvmCross:ShowViewModel是否总是构造新实例?