Message in French (Français)

La page dispose déjà de l'attribut 'SqlDependency="CommandNotification"' spécifié dans la directive OutputCache. Sur une page de ce type, l'utilisation d'un objet SqlCommand pour créer un objet SqlCacheDependency est une erreur. Il existe deux solutions à ce problème : 1. Ne pas utiliser l'attribut 'SqlDependency="CommandNotification"' dans la directive OutputCache. 2. Dans l'objet SqlCommand, définir SqlCommand.NotificationAutoEnlist à false. L'effet secondaire est que l'objet SqlCommand n'affectera pas la mise en cache de sortie de la page.

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) 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))