Message in Chinese (Traditional) (中文(繁體))

頁面已經在 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) Norwegian (Bokmal) (Norsk (Bokmål)) Hungarian (magyar) Finnish (suomi) Turkish (Türkçe) Russian (Русский) Italian (Italiano) Prior (Message) French (Français) Chinese (Simplified) (中文(简体)) 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))