在C#中调试服务时访问被拒绝 [英] Access Denied When Debugging Service in C#

查看:85
本文介绍了在C#中调试服务时访问被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
我已经在C#2005中开发了Windows应用程序.它运行正常,我想逐步调试此服务,但是问题是当我选择附加到调试过程中时会显示错误消息.错误是:
拒绝访问.

请帮助. XP和服务中的OS部署在同一台计算机上,代码也部署在同一台计算机上.



="hr class =" sig> Hasan

Hello,
   I have developed windows application in C# 2005.  it is working fine and i want to debug this service step by step but the problem is error message is displayed when i select attach to process for debugging. The error is :
        Access Denied.

Please help. The OS in XP and service is deployed on same machine as well as code is on same machine as well.

   


Hasan

推荐答案

你好,哈桑,

请告诉我们您要调试哪种服务?是Windows服务吗?网络服务?或Windows Communication Foundation(WCF)服务?

如果它是Windows Service,请查看以下文章:调试WCF服务
此外,请参考
Hello Hasan,

Could you please tell us what kind of service do you want to debug? is it Windows Service? Web Service? or Windows Communication Foundation (WCF) Service?

If it is a Windows Service, please take a look at this article: How to Debug Windows Service Applications.
If it is a WCF Service, please refer to a link below: Debugging WCF Service
Also, please refer to this article for detailed steps on Debugging an XML Web service.

If you have any question, please do not hesitate and tell us.
Best regards,


这篇关于在C#中调试服务时访问被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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