问题描述
ServerErrorin'/'Application.RuntimeErrorDescription:Anapplicationerroroccurredontheserver.Thecurrentcustomerrorsettingsforthisapplicationpreventthedetailsoftheapplicationerrorfrombeingviewedremotely(forsecurityreasons).Itcould,however,beviewedbybrowsersrunningonthelocalservermachine.Details:Toenablethedetailsofthisspecificerrormessagetobeviewableonremotemachines,pleasecreatea<customErrors>tagwithina"web.config"configurationfilelocatedintherootdirectoryofthecurrentwebapplication.This<customErrors>tagshouldthenhaveits"mode"attributesetto"Off".<!--Web.ConfigConfigurationFile--><configuration><system.web><customErrorsmode="Off"/></system.web></configuration>Notes:Thecurrenterrorpageyouareseeingcanbereplacedbyacustomerrorpagebymodifyingthe"defaultRedirect"attributeoftheapplication's<customErrors>configurationtagtopointtoacustomerrorpageURL.<!--Web.ConfigConfigurationFile--><configuration><system.web><customErrorsmode="RemoteOnly"defaultRedirect="mycustompage.htm"/></system.web></configuration>网站出现如上错误,请教高人如何解决.
解决方案
解决方案二:
你的web.config文件是怎样的啊