문제

I'm trying to create a contract in sql for pushing messages out from sql onto nservicebus (msmq) queues although I'm getting the following error message when executing this code! any ideas why I get this? Thanks, james

CREATE CONTRACT [NServiceBusSendMessageContract] 
(
    [NServiceBusSendMessage] SENT BY ANY 
)

Msg 15151, Level 16, State 1, Line 1
Cannot find the message type 'NServiceBusSendMessage', because it does not exist or you do not have permission.
도움이 되었습니까?

해결책

Have you done this?

CREATE MESSAGE TYPE [NServiceBusSendMessage]
    VALIDATION = WELL_FORMED_XML
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top