开发者

When the schemas of database changed,how to use SqlWorkflowPersistenceService in WF?

开发者 https://www.devze.com 2023-01-16 23:27 出处:网络
For some reasons,the schemas of database is not dbo. When using SqlWorkflowPersistenceService in WF,there would be an error found \"cannnot find Stored procedure \'RetrieveNonblockingInstanceStateIds\

For some reasons,the schemas of database is not dbo. When using SqlWorkflowPersistenceService in WF,there would be an error found "cannnot find Stored procedure 'RetrieveNonblockingInstanceStateIds'".But if I update the procedure from "XXX.RetrieveNonblockingInstanceStateIds" to "dbo.RetrieveNonblockingInstanceStateIds" there would be ok.How to fix it? Or how to define the default schema开发者_JAVA百科s in WF? I have set schemas XXX as the default schemas in current use login by asp.net in SQL 2005


I have solved it.
I create a user without sa permissions in SQL
The stored procedure can be found
It seems that if your accout contains sa, your default schemas cannot be personal even if you have set it.

0

精彩评论

暂无评论...
验证码 换一张
取 消