EXECUTE permission to object ' sp_sdidebug ' (Database ' master ', owner ' dbo ') was rejected __ database

Source: Internet
Author: User

"Deny EXECUTE permission on object ' sp_sdidebug ' (Database ' master ', owner ' dbo ') when called in. net

The wrong solution.

This problem occurs when I start the project with the specified URL and then run the program after "Attach process". This problem is mainly caused by the debugging mechanism of the. net2005, when the program is started and the process is attached, he defaults to debugging SQL Server, which requires a patch to support it. So there is an error of "EXECUTE permission on object ' sp_sdidebug ' (Database ' master ', owner ' dbo ')." At this point we can handle the problem by changing its debug type and make debugging work.

In the Attach to Process dialog box, click the Select button after attaching to: To see that the default option is to "automatically determine the type of code to debug." When you are finished, select debug the following code and select only "managed". This will be done normally.

In addition, if the project is not able to start debugging, you can also specify in the project from a URL for debugging, after the start of the above method to attach the process to the debugger can also achieve the debugging of the project.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.