Ok just a recap, I am moving a site that apparently uses the same DB for the parent and child portals and am having extreme amounts of troubles with it. I have posted the error I get below. I have looked into every DB that has to do with DNN and there is no dbo.GetPortals and it is very frustrating since my boss is leaning on me now. I am running out that learning curve time. I am looking under the DB in SQL Express management studio and the tables item. When I try to see whats in each table I just get the properties menu. HELP PLEASE!!!
Here is the error i get:
Server Error in '/hypercube' Application. --------------------------------------------------------------------------------
Could not find stored procedure 'dbo.GetPortals'. 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.Data.SqlClient.SqlException: Could not find stored procedure 'dbo.GetPortals'.
Source Error:
Line 154: Dim objFolderController As New Services.FileSystem.FolderController Line 155: Dim objPortalController As New PortalController Line 156: Dim arrPortals As ArrayList = objPortalController.GetPortals() Line 157: Dim i As Integer Line 158: For i = 0 To arrPortals.Count - 1
Source File: C:\Hyper.com\App_Code\Global.asax.vb Line: 156
Stack Trace:
[SqlException (0x80131904): Could not find stored procedure 'dbo.GetPortals'.] System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +857354 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +734966 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +188 System.Data.SqlClient.TdsParser.Run(RunBehavior
runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream,
BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
+1838 System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +31 System.Data.SqlClient.SqlDataReader.get_MetaData() +62 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +297 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +886 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +132 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +122 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) +62 Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(SqlConnection
connection, SqlTransaction transaction, CommandType commandType, String
commandText, SqlParameter[] commandParameters, SqlConnectionOwnership
connectionOwnership) +499 Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) +201 Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText) +40 Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) +262 DotNetNuke.Data.SqlDataProvider.GetPortals() +47 DotNetNuke.Entities.Portals.PortalController.GetPortals() +16 DotNetNuke.Common.Global.CacheMappedDirectory() in C:\Hyper.com\App_Code\Global.asax.vb:156 DotNetNuke.Common.Global.Application_Start(Object Sender, EventArgs E) in C:\Hyper.com\App_Code\Global.asax.vb:266
|