Message in Danish (Dansk)

Siden har allerede attributten 'SqlDependency="CommandNotification"'angivet i OutputCache-direktivet. På en sådan side er det en fejl at oprette et SqlCacheDependency-objekt ved hjælp af et SqlCommand-objekt. Der er to måder at løse dette problem på: 1. Brug ikke attributten 'SqlDependency="CommandNotification"' i OutputCache-direktivet. 2. Angiv SqlCommand.NotificationAutoEnlist til false på SqlCommand-objektet. Sideeffekten er, at SqlCommand-objektet ikke vil påvirke sidens output cachelagring.

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) Chinese (Simplified) (中文(简体)) Arabic (العربية) Japanese (日本語) German (Deutsch) Czech (Čeština) Next (Message) Korean (한국어) Spanish (Español) Greek (Ελληνικά) Polish (Polski) Swedish (Svenska) Portuguese (Brazil) (Português (Brasil))