Unrecognized configuration section 'system.webServer' CKFinder - Setup Wizard for ASP
2013-03-10 10:42
721 查看
在配置ckfinder的时候遇到错误:
Microsoft .NET Framework Version:1.1;ASP.NET Version:1.1;web.config文件:
----------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<defaultDocument>
<files>
<remove value="iisstart.htm" />
</files>
</defaultDocument>
<enabled>true</enabled>
</system.webServer>
</configuration>
----------------------------------------------------------
调错过程:(wizard,并令CheckAuthentication=true进行测试).
删除.config的<system.webServer>..</system.webServer>.
Errors | Failed to validate the baseDir setting. Error creating a folder in 'D:\bx\upload\ckeditoruploads' You can resume the tests clicking here (remember that further tests might depend on the success of the previous ones) The security settings of the asp.net enviroment doesn't allow to access the temp folder. You must edit the web.config file found in the CKFinder folder and put a path in the <add key="CKFinderTempPath" value="" /> setting, that same path should be set in the CKFinderTempPath setting of config.asp. For example, you can set <add key="CKFinderTempPath" value="undefined" /> in web.config and CKFinderTempPath="undefined" in config.asp You can resume the tests clicking here (remember that further tests might depend on the success of the previous ones) |
---|
使用wizard调试的信息:
CKFinder - Setup Wizard for ASP
This page will try to find out any problem in order to properly run CKFinder for ASP.Status | Running test 19 of 45. |
---|---|
Information | Version of the IIS server: 'Microsoft-IIS/5.1' The server is using the Asp version: 5.7 Current session variables at the server: IsAuthorized: True -End of session variables dump- Currently selected image component: Auto.Component used by the scripts: Persits.Jpeg In order to improve performance you should change this line in the config.asp when everything else is OK: Images.Add "component", "Auto" to: Images.Add "component", "Persits.Jpeg" Version of the Persits.Jpeg component: 2.6.0.0 |
Errors | Failed to validate the baseDir setting. Error creating a folder in 'D:\bx\upload\ckeditoruploads' You can resume the tests clicking here (remember that further tests might depend on the success of the previous ones) The asp.net test file failed. Requested URL: assets/hello.aspx?nocache=Sun Mar 10 2013 10:40:16 GMT+0800 (中国标准时间) Returned status: 500 Returned text: <html> <head> <title>Configuration Error</title> <style> body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; } </style> </head> <body bgcolor="white"> <span><H1>Server Error in '/bx' Application.<hr width=100% size=1 color=silver></H1> <h2> <i>Configuration Error</i> </h2></span> <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "> <b> Description: </b>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. <br><br> <b> Parser Error Message: </b>Unrecognized configuration section 'system.webServer'<br><br> <b>Source Error:</b> <br><br> <table width=100% bgcolor="#ffffcc"> <tr> <td> <code><pre> Line 1: <?xml version="1.0" encoding="UTF-8"?> Line 2: <configuration> <font color=red>Line 3: <system.webServer> </font>Line 4: <defaultDocument> Line 5: <files></pre></code> </td> </tr> </table> <br> <b> Source File: </b> D:\bx\web.config<b> Line: </b> 3 <br><br> <hr width=100% size=1 color=silver> <b>Version Information:</b> Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 </font> </body> </html> <!-- [ConfigurationException]: Unrecognized configuration section 'system.webServer' (D:\bx\web.config line 3) at System.Web.Configuration.HttpConfigurationSystem.CacheLookup(String vpath) at System.Web.Configuration.HttpConfigurationSystem.ComposeConfig(String reqPath, IHttpMapPath configmap) at System.Web.HttpContext.GetAppConfig(String name) at System.Web.HttpContext.GetAppLKGConfig(String name) --> Returned xml: [object Document] Returned headers: Date: Sun, 10 Mar 2013 02:40:16 GMT X-Powered-By: ASP.NET Content-Length: 2756 Server: Microsoft-IIS/5.1 Content-Type: text/html; charset=utf-8 Cache-Control: private You can resume the tests clicking here (remember that further tests might depend on the success of the previous ones) The asp.net test file failed. Requested URL: assets/ckfinder.aspx?what=version&nocache=Sun Mar 10 2013 10:40:38 GMT+0800 (中国标准时间) Returned status: 500 Returned text: <html> <head> <title>Configuration Error</title> <style> body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; } </style> </head> <body bgcolor="white"> <span><H1>Server Error in '/bx' Application.<hr width=100% size=1 color=silver></H1> <h2> <i>Configuration Error</i> </h2></span> <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "> <b> Description: </b>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. <br><br> <b> Parser Error Message: </b>Unrecognized configuration section 'system.webServer'<br><br> <b>Source Error:</b> <br><br> <table width=100% bgcolor="#ffffcc"> <tr> <td> <code><pre> Line 1: <?xml version="1.0" encoding="UTF-8"?> Line 2: <configuration> <font color=red>Line 3: <system.webServer> </font>Line 4: <defaultDocument> Line 5: <files></pre></code> </td> </tr> </table> <br> <b> Source File: </b> D:\bx\web.config<b> Line: </b> 3 <br><br> <hr width=100% size=1 color=silver> <b>Version Information:</b> Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 </font> </body> </html> <!-- [ConfigurationException]: Unrecognized configuration section 'system.webServer' (D:\bx\web.config line 3) at System.Web.Configuration.HttpConfigurationSystem.CacheLookup(String vpath) at System.Web.Configuration.HttpConfigurationSystem.ComposeConfig(String reqPath, IHttpMapPath configmap) at System.Web.HttpContext.GetAppConfig(String name) at System.Web.HttpContext.GetAppLKGConfig(String name) --> Returned xml: [object Document] Returned headers: Date: Sun, 10 Mar 2013 02:40:38 GMT X-Powered-By: ASP.NET Content-Length: 2756 Server: Microsoft-IIS/5.1 Content-Type: text/html; charset=utf-8 Cache-Control: private You can resume the tests clicking here (remember that further tests might depend on the success of the previous ones) |
Notes:
It's very important that you delete this 'wizard' folder from your server when you have finished installing correctly CKFinder. The scripts that it contains aren't designedto be protected against an attacker, indeed, they might provide them some extra info that it isn't available in any other way
图片正文链接
相关文章推荐
- web.config报 "Unrecognized configuration section dataConfiguration"错
- 'Agent XPs' component is turned off as part of the security configuration for this server
- 发布网站时CS0030: Cannot convert type 'ASP.login_aspx' to 'System.Web.UI.WebControls.Login'
- Window Server 2003 IIS6.0 Configuration for asp.net web app
- Unrecognized configuration section system.web.extensions
- System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermi
- 无效的过程调用或参数: 'leftB' 与web.config 文件的 system.webServer/httpErrors 节中不允许绝对物理路径“C:/inetpub/custerr”。请改用相对路径解决办法
- 异常信息:Unrecognized configuration section 'connectionStrings'
- SQL Server Setup failed to obtain system account information for the ASPNET
- Custom control-- Error:System.Web.UI.UserControl' does not contain a definition for 'LoadCatalog ' a
- SQL Server Setup failed to obtain system account information for the ASPNET
- Cannot convert type 'ASP.login_aspx' to 'System.Web.UI.WebControls.Login'(无法将类型'ASP.login_aspx' 转换为'System.Web.UI.WebControls.Lo
- asp.net MVC错误:uses 'System.Web.WebPages, Version=2.0.0.0, ....which has a higher version...
- SharePoint 2016 的新特性概览(一)(What's New for IT Professionals in SharePoint Server 2016)
- web应用无法连接数据库 Access denied for user 'root'@'localhost' (using password: YES)
- VS2010不能正确加载 'VSTS for Database Professionals Sql Server Data-tier Application'
- Active Server Pages 错误 'ASP 0131' 不允许的父路径
- SVN 错误:Error validating server certificate for 'https://xxxxxxx':443... Mac os svn客户端证书验证缓存 解决
- 网站的ASP.NET 配置页面无法打开(ASP.NET Configuration)(找不到存储过程 'dbo.aspnet_CheckSchemaVersion')
- 警告: No configuration found for the specified action: '/myNameSpace/login.action' in namespace: ''. F