一个关于Server Error in '/' Application.问题

来源:百度知道 编辑:UC知道 时间:2024/05/13 00:28:10
我在安装discuz nt时出现的错误:

Input string was not in a correct format.
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.FormatException: Input string was not in a correct format.

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"/>

"FormatException: Input string was not in a correct format."
字符串格式错误

检查该页面(forumindex.aspx)的如下方法:
Discuz.Forum.UserGroups.GetUserGroupList() +4400
Discuz.Forum.UserGroups.GetUserGroupInfo(Int32 groupid) +58
Discuz.Forum.PageBase..ctor() +3092
Discuz.Web.forumindex..ctor() +55
ASP.aspx_1_forumindex_aspx..ctor() +10