简体   繁体   English

无法从C:\\ Windows \\ System32 \\ inetsrv \\ hwebcore.dll引用hwebcore.dll到visualstudio2013

[英]Can't able to refer the hwebcore.dll from C:\Windows\System32\inetsrv\hwebcore.dll to visualstudio2013

I am trying to host MVC web application without IIS in windows8. 我正在尝试在Windows8中托管没有IIS的MVC Web应用程序。 So i referred this link Host MVC web app without IIS 因此,我提到了此链接, 而没有IIS的Host MVC Web应用程序

But i can able to add hwebcore.dll file into visual studio it show error like: 但是我可以将hwebcore.dll文件添加到visual studio中,它显示如下错误:

ERROR: 错误:

please make sure that the file is accessible and that it is a valid assembly or com component

i referred the below link but nothing worked for me. 我引用了以下链接,但对我没有任何帮助。

I want a solution for this : Please make sure that the file is accessible and that it is a valid assembly or COM component 我想要一个解决方案:请确保该文件可访问并且是有效的程序集或COM组件

.dll file not accessible .dll文件无法访问

This dll is not a .NET assembly, that's why you can't add a reference to it. 该dll不是.NET程序集,这就是为什么您无法添加对它的引用。 What you can do is invoke its exported functions, like WebCoreActivate and WebCoreShutdown. 您可以执行的是调用其导出的功能,例如WebCoreActivate和WebCoreShutdown。 See the example here: http://blogs.msdn.com/b/carlosag/archive/2008/04/14/hostyourownwebserverusingiis7.aspx 请参阅此处的示例: http : //blogs.msdn.com/b/carlosag/archive/2008/04/14/hostyourownwebserverusingiis7.aspx

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 .Net MVC 4 项目失败并显示事件日志错误“模块 DLL C:\\WINDOWS\\system32\\inetsrv\\aspnetcore.dll 无法加载。 数据就是错误。” - .Net MVC 4 Project fails with Event Log Error “The Module DLL C:\WINDOWS\system32\inetsrv\aspnetcore.dll failed to load. The data is the error.” 访问路径 'c:\windows\system32\inetsrv\config\' 被拒绝 - Access to the path 'c:\windows\system32\inetsrv\config\' is denied 收到 DirectoryNotFoundException: c:\\windows\\system32\\inetsrv\\Static_Files 当应用程序移动到实时服务器时 - Received a DirectoryNotFoundException: c:\windows\system32\inetsrv\Static_Files When application was moved to a live server 找不到文件 'c:\\windows\\system32\\inetsrv\\xxx.xlsx' - Could not find file 'c:\windows\system32\inetsrv\xxx.xlsx' WebClient下载-“拒绝访问路径'c:\\\\ windows \\\\ system32 \\\\ inetsrv \\\\ MyPrintManager.exe'” - WebClient Download - “Access to the path 'c:\\windows\\system32\\inetsrv\\MyPrintManager.exe' is denied” 如何通过C#语言删除Windows 7 dll文件(在System32文件夹中) - How Delete A Windows 7 dll File (In System32 Folder) By C# Language File.Move错误-System.IO.FileNotFoundException:找不到文件'c:\\ windows \\ system32 \\ inetsrv - File.Move Error - System.IO.FileNotFoundException: Could not find file 'c:\windows\system32\inetsrv 无法将“C:\Windows\System32\shdocvw.dll”添加到我的项目中 - Cannot add “C:\Windows\System32\shdocvw.dll” to my project ASP零:System.IO.FileNotFoundException:找不到文件'c:\\ windows \\ system32 \\ inetsrv \\ log4net.config' - ASP Zero :System.IO.FileNotFoundException: Could not find file 'c:\windows\system32\inetsrv\log4net.config' 如何使用c#asp.net获取C:\\ Windows \\ System32 \\ inetsrv \\ config文件夹的访问控制 - How to get access control of C:\Windows\System32\inetsrv\config folder using c# asp.net
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM