Message in Czech (Čeština)

Stránka již obsahuje atribut SqlDependency="CommandNotification" určený v direktivě OutputCache. Na takové stránce je vytvoření třídy SqlCacheDependency pomocí objektu SqlCommand chybné. Tento problém lze vyřešit dvěma způsoby: 1. V direktivě OutputCache nepoužívejte atribut SqlDependency="CommandNotification". 2. V objektu SqlCommand nastavte vlastnost SqlCommand.NotificationAutoEnlist na hodnotu False. V případě tohoto řešení nemá objekt SqlCommand na stránce vliv na ukládání výstupu do mezipaměti.

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) Korean (한국어) Next (Message) Spanish (Español) Greek (Ελληνικά) Danish (Dansk) Polish (Polski) Swedish (Svenska) Portuguese (Brazil) (Português (Brasil))