Hi.
I have been trying to search for any help with this so apologies if such threads already exist and I missed it.
Currently running DotNetNuke Version: 04.08.03 on Win2003 server with a desginated server running SQL2000 on a W2k server.
I have just setup a new Win2003 server running SQL2005 which will be my new SQL server so I can take down my SQL2k server and redo it as a development setup.
For moving DBs around I thought the best process would be to detach my SQL2k DNN DB and then reattach it on my SQL2005 srv.
This worked fine (in terms of detaching/attaching). I then recreated the user login on the SQL2005 DNN DB and edited the web.config file in my DNN install to reflect the new server setup.
I, however, get an error on going to my DNN site now. See below:
#############################
Server Error in '/' Application.
The stored procedure 'dbo.GetPortalAliasByPortalID' doesn't exist.
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.InvalidOperationException: The stored procedure 'dnn.GetPortalAliasByPortalID' doesn't exist.
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:
[InvalidOperationException: The stored procedure 'dnn.GetPortalAliasByPortalID' doesn't exist.]
System.Data.SqlClient.SqlCommand.DeriveParameters() +947206
System.Data.SqlClient.SqlCommandBuilder.DeriveParameters(SqlCommand command) +88
Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.DiscoverSpParameterSet(SqlConnection connection, String spName, Boolean includeReturnValueParameter, Object[] parameterValues) +212
Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSetInternal(SqlConnection connection, String spName, Boolean includeReturnValueParameter) +303
Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName, Boolean includeReturnValueParameter) +154
Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName) +36
Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) +200
DotNetNuke.Data.SqlDataProvider.GetPortalAliasByPortalID(Int32 PortalID) +87
DotNetNuke.Entities.Portals.PortalAliasController.GetPortalAliasByPortalID(Int32 PortalID) +35
DotNetNuke.Entities.Portals.PortalSettings.GetPortalAliasLookup() +74
DotNetNuke.Entities.Portals.PortalSettings.GetPortalAliasInfo(String PortalAlias) +14
DotNetNuke.HttpModules.UrlRewriteModule.RewriteUrl(HttpApplication app) +3342
DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +1180
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
#############################
I am not totally sure what to do as the SP does exist.
Am I missing something? I know I am running an out-of-date version of DNN and if that is the reason then I will look to upgrade but surely that wouldn't be the sole cause of this?
Any help would be appreciated.
Thanks :D
Kind regards,
Liam