Sebastian Leupold wrote
- do not touch web.config file manually, this will be handed by the DOtNetNuke installation wizard
- be sure to know, how you'd like to attach your database. if you created a blank database, use proper authentication (IntegratedSecurity means using "Network Service" windows account).
Hello Sebastian Leupold,
Thanks for your reply, but i had use the DNN5 "Auto" installation wizard,
the error message said: Could not connect to database specified in connectionString for SqlDataProvider..
I had created a blank database is called "dotnetnuke", and created the Network Service and dotnetnuke login ID, and startup the "db_owner"
but today restart DNN, to occurs:
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: 'dbo.vw_Portals'。
Source Error:
Line 127:
Line 128: ' all of the logic which was previously in Application_Start was moved to Init() in order to support IIS7 integrated pipeline mode ( which no longer provides access to HTTP context within Application_Start )
Line 129: Initialize.Init(app)
Line 130:
Line 131: 'run schedule if in Request mode
|
Source File: C:\Inetpub\DotNetNuke\App_Code\Global.asax.vb Line: 129
Stack Trace:
[SqlException (0x80131904): 無效的物件名稱 'dbo.vw_Portals'。]
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +1950890
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4846875
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2392
System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +33
System.Data.SqlClient.SqlDataReader.get_MetaData() +83
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) +954
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +162
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +141
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) +70
Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(SqlConnection connection, SqlTransaction transaction, CommandType commandType, String commandText, SqlParameter[] commandParameters, SqlConnectionOwnership connectionOwnership) +541
Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) +234
Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText) +48
Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) +279
DotNetNuke.Data.SqlDataProvider.GetPortals() +71
DotNetNuke.Entities.Portals.PortalController.GetPortals() +28
DotNetNuke.Common.Initialize.CacheMappedDirectory() +38
DotNetNuke.Common.Initialize.InitializeApp(HttpApplication app) +604
DotNetNuke.Common.Initialize.Init(HttpApplication app) +152
DotNetNuke.Common.Global.Global_BeginRequest(Object sender, EventArgs e) in C:\Inetpub\DotNetNuke\App_Code\Global.asax.vb:129
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
|
Server Error in '/' Application.
'dbo.vw_Portals'。