Message in Chinese (Simplified) (中文(简体))

该页已在 OutputCache 指令中指定了“SqlDependency="CommandNotification"”特性。在这样的页中,使用 SqlCommand 对象创建 SqlCacheDependency 对象是错误的。 有两种方法可解决此问题: 1.在 OutputCache 指令中不使用“SqlDependency="CommandNotification"”特性。 2.在 SqlCommand 对象上,将 SqlCommand.NotificationAutoEnlist 设置为 false。这样做的副作用是 SqlCommand 对象将不影响页的输出缓存。

Unlocalized message

The page already has the 'SqlDependency="CommandNotification"' attribute specified in the OutputCache directive. On such a page, it is an error to create a SqlCacheDependency object using a SqlCommand object. There are two ways to solve this problem: 1.Do not use the 'SqlDependency="CommandNotification"' attribute in the OutputCache directive. 2.On the SqlCommand object set SqlCommand.NotificationAutoEnlist to false. The side effect is that that SqlCommand object will not affect the output caching of the page.

Search by Google
Available localized messages
Hebrew (עברית) Dutch (Nederlands) Chinese (Traditional) (中文(繁體)) Norwegian (Bokmal) (Norsk (Bokmål)) Hungarian (magyar) Finnish (suomi) Turkish (Türkçe) Russian (Русский) Prior (Message) Italian (Italiano) French (Français) Arabic (العربية) Japanese (日本語) German (Deutsch) Czech (Čeština) Korean (한국어) Next (Message) Spanish (Español) Greek (Ελληνικά) Danish (Dansk) Polish (Polski) Swedish (Svenska) Portuguese (Brazil) (Português (Brasil))