|
|
|
Joined: 2/12/2006
Posts: 2
|
|
|
Windows Server Enterprise 2003 with SP1, ASP.NET 2.0, SQL Server 2005, IIS 6.0
1. I created SQL 2005 databases (not SQL Express) with proper uid and pwd in web.config.
2. I created virtual directory pointing at unzipped install folder with all permissions possible
3. Browse to http://localhost/DNN3. Install completed successfully.
4. Login as host, go to Module Definitions, at bottom of the page, I see this error message:
Unhandled error loading module. DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to ContentPane ---> System.InvalidOperationException: The stored procedure 'dbo.GetModuleByDefinition' doesn't exist. at System.Data.SqlClient.SqlCommand.DeriveParameters() at System.Data.SqlClient.SqlCommandBuilder.DeriveParameters(SqlCommand command) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.DiscoverSpParameterSet(SqlConnection connection, String spName, Boolean includeReturnValueParameter, Object[] parameterValues) at
I tried version 3.2.2 and 4.0.2, the same error message showed up.
I check both of my databases, there are stored procedures called:
GetModuleDefinition, GetModuleDefinitionByName, GetModuleDefinitions
But NO GetModuleByDefinition exists.
What's wrong?
|
|
|
|
| |
|
|
Joined: 3/3/2006
Posts: 4
|
|
|
I get the same error. Yesterday i installed 4.0.2 on my Windows 2003 box, like you did, except i use SQL server 2000. Could it have something to do with the database collation? The collation on my DotNetNuke database is SQL_Latin1_General_CP1_CI_AS.
I get missing stored procedure errors here as well:
Host - Host settings (GetModuleByDefinition missing)
Host - Vendors (GetVendors missing)
Host - languages (GetModuleByDefinition missing)
Host - skins (GetModuleByDefinition missing)
Admin - Site settings (GetModuleByDefinition missing)
Admin - Vendors (GetVendors missing)
Admin - languages (GetModuleByDefinition missing)
Admin - skins (GetModuleByDefinition missing)
All of the common task links gives a GetModuleByDefinition missing error.
Under Admin - log viewer i get another error:
Error: Log Viewer is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Cannot resolve collation conflict for equal to operation. ---> System.Data.SqlClient.SqlException: Cannot resolve collation conflict for equal to operation. 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(TdsParserStateObject stateObj) 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 DotNetNuke.Services.Log.EventLog.DBLoggingProvider.Data.SqlDataProvider.GetLog(Int32 PageSize, Int32 PageIndex) at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.GetLog(Int32 PageSize, Int32 PageIndex, Int32& TotalRecords) at DotNetNuke.Services.Log.EventLog.LogController.GetLog(Int32 PageSize, Int32 PageIndex, Int32& TotalRecords) at DotNetNuke.Modules.Admin.Log.LogViewer.BindData() at DotNetNuke.Modules.Admin.Log.LogViewer.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
|
|
|
|
| |
|
|
|
Joined: 2/8/2006
Posts: 3
|
|
|
Unfortunatly, I get the same error.
The first problem was the install itself. After reading a hint in this forum, I changed the Case-Sensitive database (default on this SQL Server 2005 is "Latin1_General_CS_AS") into an Case-InSensitive one ("SQL_Latin1_General_CP1_CI_AS"). After this change the install run successful for both Versions 3.2.2 and 4.0.2.
But now, I have the same problem as you described: 'dbo.dnn322_GetModuleByDefinition' for the 3.2.2 installation and 'dbo.dnn402_GetModuleByDefinition' for the 4.0.2 installation. (I definied the "objectQualifier" in the web.config, but they run in 2 separated databases). This happens when I am trying to insert a module into a page.
Then I tried to view the log, but instead of the log this errormessage appears:
Error: Log Viewer is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Ein Sortierungskonflikt zwischen "Latin1_General_CS_AS" und "SQL_Latin1_General_CP1_CI_AS" im equal to-Vorgang kann nicht aufgelöst werden. ---> System.Data.SqlClient.SqlException: Ein Sortierungskonflikt zwischen "Latin1_General_CS_AS" und "SQL_Latin1_General_CP1_CI_AS" im equal to-Vorgang kann nicht aufgelöst werden. at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) 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 DotNetNuke.Services.Log.EventLog.DBLoggingProvider.Data.SqlDataProvider.GetLog(Int32 PageSize, Int32 PageIndex) at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.GetLog(Int32 PageSize, Int32 PageIndex, Int32& TotalRecords) at DotNetNuke.Services.Log.EventLog.LogController.GetLog(Int32 PageSize, Int32 PageIndex, Int32& TotalRecords) at DotNetNuke.Modules.Admin.Log.LogViewer.BindData() at DotNetNuke.Modules.Admin.Log.LogViewer.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Aha ... something is still not working well here! But ... how to solve this?
The Websites run on a Windows 2003 Server with IIS 6 and SP1 & SQL Server 2005.
Does anybody have some suggestions ... without reinstalling the whole SQL-Server-2005?
TIA!
Mark
|
|
|
|
| |
|
|
Joined: 4/29/2006
Posts: 17
|
|
|
Hi, I get the same error: Error: Host Settings is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException:
The stored procedure 'dbo.GetModuleByDefinition' doesn't exist. --->
System.InvalidOperationException: The stored procedure
'dbo.GetModuleByDefinition' doesn't exist. at
System.Data.SqlClient.SqlCommand.DeriveParameters() at
System.Data.SqlClient.SqlCommandBuilder.DeriveParameters(SqlCommand
command) at
Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.DiscoverSpParameterSet(SqlConnection
connection, String spName, Boolean includeReturnValueParameter,
Object[] parameterValues) at
Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSetInternal(SqlConnection
connection, String spName, Boolean includeReturnValueParameter) at
Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String
connectionString, String spName, Boolean includeReturnValueParameter)
at
Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String
connectionString, String spName) at
Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String
connectionString, String spName, Object[] parameterValues) at
DotNetNuke.Data.SqlDataProvider.GetModuleByDefinition(Int32 PortalId,
String FriendlyName) at
DotNetNuke.Entities.Modules.ModuleController.GetModuleByDefinition(Int32
PortalId, String FriendlyName) at
DotNetNuke.Modules.Admin.Host.HostSettingsModule.BindData() at
DotNetNuke.Modules.Admin.Host.HostSettingsModule.Page_Load(Object
sender, EventArgs e) --- End of inner exception stack trace ---
This error occours at nearly everywhere in the host account... I'm using Windows Server 2003 and SQL Server 2005... My collation is SQL_Latin1_General_CP1_CI_AS. The Procedure GetModuleByDefinition doesn't exist in the DB.
But there where no errors during the installation (which i ran very often...)
What can I do?
|
|
|
|
| |
|
|
Joined: 5/17/2006
Posts: 1
|
|
|
I had this same problem after a fresh install of 4.0.2. While trying to locate the installation file that contains the SQL script for creating the procedure I came across a file named DotNetNuke.Schema.txt in \Providers\DataProviders\SqlDataProvider. This file contained information on stored procedures that could not be created during the install process. In all cases, the procedures could not be created due to typos in the SQL script. This file contained both the error descriptions and the SQL script for each of the procedures that could not be created. I fixed the errors and ran the scripts for each procedure in Query Analyzer and now everything appears to be working fine. There are a number of other files in this directory that appear to contain additional installation errors related to database objects.
|
|
|
|
| |