【发布时间】:2013-02-28 23:07:59
【问题描述】:
我正在尝试安装 DotNetNuke 4.09.03(我有使用这个版本)。有一些问题。我对这个环境完全不熟悉和缺乏经验(我是一名 php 开发人员),所以我在正确设置东西时遇到了一些问题。
我的站点根目录中有一个名为 DotNetNuke 的文件夹,所有 DNN 安装文件都位于该文件夹中。当我导航到 mywebsite.com/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 87: <system.web>
Line 88: <!-- Ensure validationkey is not set to AutoGenerate,IsolateApps so it correctly supports webfarms -->
Line 89: <machineKey
Line 90: validationKey="AutoGenerate,IsolateApps"
Line 91: decryptionKey="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902F8D923AC"
我看到它说错误是由于文件夹未设置为应用程序而引起的。使用我正在使用的主机 enom,我导航到 DotNetNuke 文件夹并点击应用程序部分下的“创建”,但没有任何反应。没有消息什么的。我不知道该怎么办。
此外,当尝试添加数据库以供 DNN 安装使用时,我收到此错误:
.Net SqlClient Data Provider
CREATE DATABASE permission denied in database 'master'.
USE [master]
GO
CREATE DATABASE [dnn]
GO
EXEC [dnn].[dbo].[sp_fulltext_database] @action = 'disable'
GO
如果这些问题很愚蠢,我深表歉意。我不熟悉 IIS 环境,但我的任务是在其中建立一个网站。谢谢大家的时间。任何指导将不胜感激。
【问题讨论】:
-
确保对文件夹设置适当的权限。您需要应用程序池的用户有权访问,并且可能需要 IUSR 或 IIS_IUSRS
-
已编辑标签:删除 asp-classic,替换为 asp.net
标签: asp.net sql-server iis dotnetnuke