OK....
I started with the following problem.....
My Setup
OS Windows Server 2003 Standard Edition
IIS 6.0
SQL Server 2005 Express Edition
Visual web developer installed. (but not used for installing DNN)
I now get the following error when trying to install the application by browsing to:
http://localhost/DotNetNuke
Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Source Error:
Line 56: </system.codedom>
Line 57: <system.web>
Line 58: <machineKey
|
Then I went to IIS manager right clicked the virtual folder (DotNetNuke) selected properties and then selected Create in apllication setting under the virtual directory tab.
this has caused the following error to now be displayed when browsing to
http://localhost/DotNetNuke
Server Error in '/DotNetNuke' Application.
Could not find file 'C:\DotNetNuke\Providers\DataProviders\SqlDataProvider\DotNetNuke_template.mdf'.
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.IO.FileNotFoundException: Could not find file 'C:\DotNetNuke\Providers\DataProviders\SqlDataProvider\DotNetNuke_template.mdf'.
Source Error:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
<configuration> <system.web> <compilation debug="true"/> </system.web> </configuration>
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario. |
Stack Trace:
[FileNotFoundException: Could not find file 'C:\DotNetNuke\Providers\DataProviders\SqlDataProvider\DotNetNuke_template.mdf'.]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +2014477
System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite) +488
DotNetNuke.Data.SqlDataProvider.GetProviderPath() +220
DotNetNuke.Common.Globals.GetUpgradeStatus() +335
DotNetNuke.Common.Global.CheckVersion() +187
DotNetNuke.Common.Global.Application_Start(Object Sender, EventArgs E) +316
|
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
Any advice?