在IIS防爆preSS问题托管WCF服务 [英] Problem hosting WCF service in IIS Express

查看:625
本文介绍了在IIS防爆preSS问题托管WCF服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正试图在IIS防爆preSS 7.5(1046年7月5日)举办一个WCF服务。 IIS防爆preSS正常启动,但是尝试连接到我们的.svc文件的时候,我们得到一个异常的消息无法加载DLLnativerd.dll:指定的模块找不到(从HRESULT异常。 :0x8007007E)

We are trying to host a WCF service in IIS Express 7.5 (7.5.1046). IIS Express starts correctly, but when trying to connect to our .svc file, we get an exception with the message "Unable to load DLL 'nativerd.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)".

我们已经搜查了该DLL,它是present在%WINDIR%\ SYSTEM32 \ INETSRV \ nativerd.dll。我们正在使用的applicationHost.config文件是基于IIS防爆preSS安装在user's目录中的模板。

We have searched for this dll and it is present at %WINDIR%\system32\inetsrv\nativerd.dll. The applicationHost.config file that we are using is based on the templates that IIS Express install in the user´s directory.

该系统的Windows 7操作系统,使用Visual Studio 2010 SP 1和IIS 7.5配置为运行WCF应用程序。

The system has Windows 7 as operating system, with Visual Studio 2010 SP 1 and IIS 7.5 configured to run WCF applications.

任何人都经历了同样的问题?也许IIS在IIS防爆preSS安装任何影响?

Anyone has experienced this same issue? Maybe IIS has any influence in IIS Express installation?

推荐答案

比较IIS防爆preSS和一个一人没有工作安装后,我们已经注意到了,问题是,在user's主目录有wasn't一个IISEx preSS \ config文件夹有一些配置文件。此文件夹只在谁安装了IIS防爆preSS用户的主目录中创建。刚刚复制的配置文件夹复制到其他用户的主目录下的我的文档\ IISEx preSS我们已经能够没有进一步的问题上运行的Web服务。

After comparing a working installation of IIS Express and the one that one was failing, we have noticed that the problem was that in the user´s home directory there wasn´t an "IISExpress\config" folder with some configuration files. This folder is created only in the home directory of the user who installed IIS Express. Just copying the "config" folder to the home directory of the other user in "My Documents\IISExpress" we have been able to run the web service without further problems.

希望这有助于其他谁可能会遇到同样的问题。

Hope this helps to other who could experience this same issue.

何塞·安东尼奥阿罗瓦

这篇关于在IIS防爆preSS问题托管WCF服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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