0

I'm guessing Visual Studio is bugging out on me. I changed the stored procedure the a TableAdapter query uses and now the users keep getting the following error.

Procedure or function 'usp_GetEventNotificationSubscribers' expects parameter '@FacilityCode', which was not supplied.

Nowhere in the application is 'usp_GetEventNotificationSubscribers' written.

I can't reproduce the error on my local machine. When I run it locally or step through it in debug mode everything works fine. It even works for me in production. But I keep getting them auto-emailed to me whenever it happens, which is about 3 a day.

4

3 回答 3

0

少数用户仍在使用该站点的测试版本。我拒绝访问测试虚拟目录中的每个人,并且错误停止了。

谢谢诺尔

于 2009-05-12T14:08:55.017 回答
0

proc 是否被数据库中的另一个 proc 引用?如果是这样,您将无法在应用程序源代码中找到该字符串。

尝试这个:

SELECT * FROM SYS.Comments WHERE text LIKE '%GetEventNotificationSubscribers%'

于 2009-05-08T19:44:50.557 回答
0

生产现场的存储过程是否不同(例如使用不同的参数)?可能是在您正在使用不同过程的开发环境中本地更新/更改了 proc。此错误似乎表明生产站点的 sqlserver db 中的 proc 参数比开发数据库中的参数多。

于 2009-05-09T08:27:10.193 回答