Quantcast
Channel: NBStore Discussions Rss Feed
Viewing all articles
Browse latest Browse all 4081

New Post: SQL Error in user-defined function NEvoWeb_NB_Store_FGetProductBasePrice

$
0
0
I just upgraded to Version 2.3.8 Rel 3. On a page where I have a specific category of items display I now get an error that 'Cannot find the user-defined function or Aggregate "dbo.NEvoWeb_NB_Store_FGetProductBasePrice"'. I quickly checked my database and found that when my admin had set up my DNN system they defined a prefix "test_" for all tables and functions. Using DNN 06.02.06 (10).

I recreated the function without the prefix and the pages works again. I do not know if this is something that needs to be corrected in a future release but now I have a function that will not be updated with the next release.

Adding the full SQL error below.

Error: NB_Store_ProductList is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Cannot find either column "dbo" or the user-defined function or aggregate "dbo.NEvoWeb_NB_Store_FGetProductBasePrice", or the name is ambiguous. ---> System.Data.SqlClient.SqlException: Cannot find either column "dbo" or the user-defined function or aggregate "dbo.NEvoWeb_NB_Store_FGetProductBasePrice", or the name is ambiguous. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(SqlConnection connection, SqlTransaction transaction, CommandType commandType, String commandText, SqlParameter[] commandParameters, SqlConnectionOwnership connectionOwnership) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at NEvoWeb.Modules.NB_Store.SqlDataProvider.GetNB_Store_Productss(Int32 PortalID, Int32 CategoryID, String Lang, String SearchText, Boolean GetArchived, Boolean FeaturedOnly, String OrderBY, Boolean OrderDESC, Int32 ReturnLimit, Int32 PageIndex, Int32 Pagesize, Boolean SearchDescription, Boolean isDealer, String CategoryList, Boolean ExcludeFeatured) at NEvoWeb.Modules.NB_Store.ProductController.GetProductList(Int32 PortalID, Int32 CategoryID, String Lang, String SearchText, Boolean GetArchived, Boolean FeaturedOnly, String OrderBY, Boolean OrderDESC, Int32 ReturnLimit, Int32 PageIndex, Int32 Pagesize, Boolean SearchDescription, Boolean isDealer, String CategoryList, Boolean ExcludeFeatured) at NEvoWeb.Modules.NB_Store.ProductList.populateList(Int32 CatID) at NEvoWeb.Modules.NB_Store.ProductList.Page_Init(Object sender, EventArgs e) --- End of inner exception stack trace ---

Viewing all articles
Browse latest Browse all 4081

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>