2016-12-14 71 views
0

我試圖使用ASE添加一個login triggers,而在site之後,一切正常。但如下所述,我得到了一個ct_result()錯誤,我可以更改錯誤嗎?可以更改ct_results()消息嗎?

CT-LIBRARY error: 
ct_results(): network packet layer: internal net 
library error: Net-Library operation terminated due to 
disconnect 
When this happens, the ASE errorlog will contain a message like: 
EXECUTE permission denied on object my_proc, database my_db, owner dbo 

我想要的是將消息更改爲權限被拒絕,聯繫支持。我能做到這一點

回答

0

在你提供的鏈接,羅布Verschoor談到此錯誤消息。

1)你看到ASE日誌文件中的錯誤信息?

2)你有沒有授予權限MY_PROC存儲過程,如:?

grant execute on my_proc to <user/role> 
go 

例如:

grant execute on my_proc to public 
go 
+0

我有一個彈出的ase消息說我不能登錄電子,我想這個彈出消息有不同的名稱,在日誌文件中我得到錯誤說權限被拒絕,我想要顯示流行消息..你瞭解我嗎?如果不是會顯示你的一些截圖 – Moudiz

+0

我現在看到你想要實現的。我不知道如何修改CT錯誤消息,因爲CT-LIBRARY錯誤似乎是核心消息。 – Vince

+0

嗯,我可以發送一條流行消息嗎?發送特定消息 – Moudiz