当我在IIS中托管应用程序时,为什么System.Service Process dll不起作用。 [英] Why System.Service Process dll is Not working when i host the Application in IIS.

查看:88
本文介绍了当我在IIS中托管应用程序时,为什么System.Service Process dll不起作用。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友们,



这里我面临System.Service流程的典型问题dll。在我的Web应用程序中我包含了这个Dll,而且应用程序工作正常本地环境。当我托管应用程序时,Dll不工作且出现错误。





< add assembly =System。 ServiceProcess,Version = 2.0.0.0,Culture = neutral,PublicKeyToken = B03F5F7F11D50A3A>



在WebConfig中,这是它创建的行。





问候,



AnilKumar.D

Dear Friends,

Here iam facing a Typical Problem of System.Service Process dll.In my Web Application i included this Dll and the Application is working fine in Local Environment.When i host the Application the Dll is Not Working and Error is Coming.


<add assembly="System.ServiceProcess, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A">

In WebConfig this is the line its Created.


Regards,

AnilKumar.D

推荐答案

检查 - 实施System.ServiceProcess [ ^ ]。



它可能帮助你。
Check - Implementing System.ServiceProcess[^].

It might help you.






请在bin f中检查已发布应用程序中的System.Service Process dll老。它可能在那里丢失。



当您在iis上托管您的应用程序时,您可以在

C:\下找到您发布的文件夹inetpub \ www.root \yourappname



希望有所帮助。
Hi,

Please check System.Service Process dll in your published application in bin folder. It may be missing there.

As you have host your app on iis, you can find your published folder under
C:\inetpub\wwwroot\yourappname

Hope it helps.


这篇关于当我在IIS中托管应用程序时,为什么System.Service Process dll不起作用。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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