Server Error in ‘/’ Application.
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:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[FormatException: Input string was not in a correct format.]
System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +9594411
System.Number.ParseDecimal(String value, NumberStyles options, NumberFormatInfo numfmt) +146
_D

在Windows Server 2008 R2系统上进行IIS部署时遇到错误:'Server Error in '/' Application.',具体表现为Input string was not in a correct format的FormatException。异常堆栈涉及System.Number.StringToNumber方法,可能是由于数据解析问题导致。错误出现在_Default.DianNengHao方法中,进一步处理时调用了NengHaoBianLi方法。该问题在Win7系统下部署未出现,寻求解决方案。
最低0.47元/天 解锁文章

被折叠的 条评论
为什么被折叠?



