Service Broker FAQ

Source: Internet
Author: User

Question 1:

Service Broker FAQ

The activated procedure [dbo] that is running in the queue test.dbo.IncomingQueue. [Readincomingmessageproc]
The following information is output: ' Access to the ' remote server is denied because the ' current security context is not trusted. '
The request to access the remote server was denied because the current security context is not trusted.

Solve:
Modify the trust status of the running Service Broker database to be trusted, note that it must not be a trusted state of the remote target database
For example:
ALTER DATABASE [Guoqiang] SET trustworthy on
Go


Http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=668169&SiteID=1


Question 2:

Event Type: Information
Event Source: MSSQLServer
Event Type: (2)
Event id:9724
Date: 2008-4-16
Event: 10:26:19
Users: N/A
Computer: Qiangguo
Describe:
The activated procedure [dbo] that is running in the queue brokertest.dbo.IncomingQueue. [Readincomingmessageproc_good] Outputs the following information: ' The conversation endpoint is isn't in a valid state for SEND. The current endpoint ' DI '. '

Solve:
? DI was disconnected from the inbound. The remote side of the session has issued an end conversation. The session remains this state until the end conversation is issued on the local side of the session. The application can still receive session messages. The application cannot send messages through this session because the remote end of the session has closed the session. When the application issues end conversation, the session becomes CD state.

? DI, or disconnected_inbound This means the opposite end of the conversation has called end conversation but this ENDP oint hasn ' t. If you are many conversations in this state, the code handling this endpoint isn't calling end conversation when it Shoul D.

In writing the program is, define conversation_handle variables to avoid duplication. Otherwise, the problem may occur.

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.