Invalid object name 'View_custom_ModuleAjouterType_Joined'.

Erreur du serveur dans l'application '/'.

Invalid object name 'View_custom_ModuleAjouterType_Joined'.

Description : Une exception non gérée s'est produite au moment de l'exécution de la requête Web actuelle. Contrôlez la trace de la pile pour plus d'informations sur l'erreur et son origine dans le code.

Détails de l'exception: System.Data.SqlClient.SqlException: Invalid object name 'View_custom_ModuleAjouterType_Joined'.

Erreur source:


Ligne 38 :         string culture2 = CMSContext.CurrentDocumentCulture.CultureCode;
Ligne 39 :         var query = "SELECT Count(*) as nbCateg FROM [View_custom_ModuleAjouterType_Joined] WHERE " + cat + " = 1 AND [DocumentCulture] = '" +culture2+ "'";
Ligne 40 :         DataSet dsCat = CMS.SettingsProvider.SqlHelperClass.ExecuteQuery(query, null, QueryTypeEnum.SQLQuery);
Ligne 41 :         if (!DataHelper.DataSourceIsEmpty(dsCat))
Ligne 42 :         {

Fichier source : c:\HostingSpaces\skilltico\www.skilltico.com\wwwroot\App_Code\Provider\SkillticoInfoProvider.cs    Ligne : 40

Trace de la pile:


[SqlException (0x80131904): Invalid object name 'View_custom_ModuleAjouterType_Joined'.]
   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +2582782
   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +6033430
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +297
   System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +4291
   System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() +59
   System.Data.SqlClient.SqlDataReader.get_MetaData() +91
   System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) +446
   System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) +2698
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) +1611
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +65
   System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +251
   System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +43
   System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +12
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +140
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +138
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +89
   CMS.DataProviderSQL.DataConnection.ExecuteQuery(String queryText, QueryDataParameters queryParams, QueryTypeEnum queryType, Boolean requiresTransaction) +162

[Exception: [DataConnection.HandleError]: Query: SELECT Count(*) as nbCateg FROM [View_custom_ModuleAjouterType_Joined] WHERE IsComminuty = 1 AND [DocumentCulture] = 'en-US': caused exception: Invalid object name 'View_custom_ModuleAjouterType_Joined'.]
   CMS.DataEngine.AbstractDataConnection.HandleError(String queryText, SqlException ex) +144
   CMS.DataProviderSQL.DataConnection.ExecuteQuery(String queryText, QueryDataParameters queryParams, QueryTypeEnum queryType, Boolean requiresTransaction) +201
   CMS.DataEngine.AbstractDataConnection.CMS.SettingsProvider.IDataConnection.ExecuteQuery(String queryText, QueryDataParameters queryParams, QueryTypeEnum queryType, Boolean requiresTransaction) +18
   CMS.SettingsProvider.SqlHelperClass.ExecuteQuery(QueryParameters query) +109
   CMS.SettingsProvider.SqlHelperClass.ExecuteQuery(String queryText, QueryDataParameters queryParams, QueryTypeEnum queryType) +57
   SkillticoInfoProvider.SelectNbCategories(String cat) in c:\HostingSpaces\skilltico\www.skilltico.com\wwwroot\App_Code\Provider\SkillticoInfoProvider.cs:40
   SkillticoInfoProvider.SelectNbCategories() in c:\HostingSpaces\skilltico\www.skilltico.com\wwwroot\App_Code\Provider\SkillticoInfoProvider.cs:17
   Skilltico_Controls_MarketplaceModuleHome.Page_Load(Object sender, EventArgs e) in c:\HostingSpaces\skilltico\www.skilltico.com\wwwroot\Skilltico\Controls\MarketplaceModuleHome.ascx.cs:108
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


Informations sur la version : Version Microsoft .NET Framework :4.0.30319; Version ASP.NET :4.8.4330.0