I have DLL in GAC and it has been added in Web service. This web service being referrenced and its routine are called from custom control. I want to debug this DLL library through Web service. Unfortunately I cannot seperate library and add its reference
in project and debug it. Please help to know how would I debug code of DLL in GAC through Web Service.
Thanks for replying but I already tried it. I put the breakpoint prior to Service call and debugged on service call but no luck. Something is missing and not getting what is that exactly.
I unchecked Enable Just my Code but even after that it was not allowing me to debug and when did further verification, I found the Web Service URL which was getting used in code was pointing to remote location and not to local web service. This remote location
where service is deployed, I do not have administrative rights. Hence it was not allowing me to debug. When I set URL to local web service, it worked as expected and I was able to debug my code snippet in GAC Dlll referred in Asmx.
avachatv
Member
51 Points
27 Posts
How to Debug GAC DLL referred in Web Service(ASMX)
Dec 17, 2012 08:41 PM|LINK
Hi,
I have DLL in GAC and it has been added in Web service. This web service being referrenced and its routine are called from custom control. I want to debug this DLL library through Web service. Unfortunately I cannot seperate library and add its reference in project and debug it. Please help to know how would I debug code of DLL in GAC through Web Service.
Thanks in advance!!
ferrymeidian...
Member
500 Points
126 Posts
Re: How to Debug GAC DLL referred in Web Service(ASMX)
Dec 17, 2012 10:40 PM|LINK
You can use Attach to Process debugging.
http://jaliyaudagedara.blogspot.com/2011/03/visual-studio-debugging-attach-to.html
Regards,
Ferry Meidianto
www.meidianto.com
avachatv
Member
51 Points
27 Posts
Re: How to Debug GAC DLL referred in Web Service(ASMX)
Dec 18, 2012 02:19 PM|LINK
Thanks for replying but I already tried it. I put the breakpoint prior to Service call and debugged on service call but no luck. Something is missing and not getting what is that exactly.
Haixia Xie -...
Contributor
3031 Points
296 Posts
Microsoft
Re: How to Debug GAC DLL referred in Web Service(ASMX)
Dec 19, 2012 05:12 AM|LINK
Hi,
Please take a post here and check if it can help you.
http://www.elumenotion.com/Blog/Lists/Posts/Post.aspx?ID=23
Best Regards.
Feedback to us
Develop and promote your apps in Windows Store
avachatv
Member
51 Points
27 Posts
Re: How to Debug GAC DLL referred in Web Service(ASMX)
Dec 19, 2012 06:43 PM|LINK
Hi Haixia,
I unchecked Enable Just my Code but even after that it was not allowing me to debug and when did further verification, I found the Web Service URL which was getting used in code was pointing to remote location and not to local web service. This remote location where service is deployed, I do not have administrative rights. Hence it was not allowing me to debug. When I set URL to local web service, it worked as expected and I was able to debug my code snippet in GAC Dlll referred in Asmx.
Thank you for your reply.