erro no script da loja

13/05/2008

0

Alguém poderia me ajudar com este erro, e como posso resolve-lo, a aplicação é a loja completa do fabio galante mans

Server Error in ´/Store´ Application.
--------------------------------------------------------------------------------

The ´dev_Products´ table in the database ´Store´ is not enabled for SQL cache notification.

Please make sure the table exists, and the table name used for cache dependency matches exactly the table name used in cache notification registration.

To enable a table for SQL cache notification, please use SqlCacheDependencyAdmin.EnableTableForNotifications method, or the command line tool aspnet_regsql. To use the tool, please run ´aspnet_regsql.exe -?´ for more information.

To get a list of enabled tables in the database, please use SqlCacheDependencyManager.GetTablesEnabledForNotifications method, or the command line tool aspnet_regsql.exe.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.Caching.TableNotEnabledForNotificationException: The ´dev_Products´ table in the database ´Store´ is not enabled for SQL cache notification.

Please make sure the table exists, and the table name used for cache dependency matches exactly the table name used in cache notification registration.

To enable a table for SQL cache notification, please use SqlCacheDependencyAdmin.EnableTableForNotifications method, or the command line tool aspnet_regsql. To use the tool, please run ´aspnet_regsql.exe -?´ for more information.

To get a list of enabled tables in the database, please use SqlCacheDependencyManager.GetTablesEnabledForNotifications method, or the command line tool aspnet_regsql.exe.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[TableNotEnabledForNotificationException: The ´dev_Products´ table in the database ´Store´ is not enabled for SQL cache notification.

Please make sure the table exists, and the table name used for cache dependency matches exactly the table name used in cache notification registration.

To enable a table for SQL cache notification, please use SqlCacheDependencyAdmin.EnableTableForNotifications method, or the command line tool aspnet_regsql. To use the tool, please run ´aspnet_regsql.exe -?´ for more information.

To get a list of enabled tables in the database, please use SqlCacheDependencyManager.GetTablesEnabledForNotifications method, or the command line tool aspnet_regsql.exe.]
System.Web.Caching.SqlCacheDependencyManager.EnsureTableIsRegisteredAndPolled(String database, String table) +1186
System.Web.Caching.SqlCacheDependency.GetDependKey(String database, String tableName) +48
System.Web.Caching.SqlCacheDependency..ctor(String databaseEntryName, String tableName) +38
System.Web.Caching.SqlCacheDependency.CreateSql7SqlCacheDependencyForOutputCache(String database, String table, String depString) +40
System.Web.Caching.SqlCacheDependency.CreateOutputCacheDependency(String depString) +424
System.Web.UI.SqlDataSourceCache.SaveDataToCacheInternal(String key, Object data, CacheDependency dependency) +59
System.Web.UI.WebControls.ObjectDataSource.SaveDataToCache(Int32 startRowIndex, Int32 maximumRows, Object data) +144
System.Web.UI.WebControls.ObjectDataSourceView.SaveDataAndRowCountToCache(DataSourceSelectArguments arguments, Object data) +62
System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +2654
System.Web.UI.WebControls.BaseDataList.GetData() +53
System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean useDataSource) +267
System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) +56
System.Web.UI.WebControls.BaseDataList.DataBind() +62
System.Web.UI.WebControls.BaseDataList.EnsureDataBound() +55
System.Web.UI.WebControls.BaseDataList.CreateChildControls() +62
System.Web.UI.Control.EnsureChildControls() +97
System.Web.UI.Control.PreRenderRecursiveInternal() +50
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5676




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433


Shmathz

Shmathz

Responder

Posts

27/05/2008

Burnbr

Bom dia,
nessa video aula ele cria cache no sql server,
pelo que vi vc nao criou
siga as aulas que vc conseguira.


Responder

Assista grátis a nossa aula inaugural

Assitir aula

Saiba por que programar é uma questão de
sobrevivência e como aprender sem riscos

Assistir agora

Utilizamos cookies para fornecer uma melhor experiência para nossos usuários, consulte nossa política de privacidade.

Aceitar