Parser Error Message: The 'mode' attribute is case sensitive and must be one of the following values: On, Off, RemoteOnly.Source Error: Line 3: <globalization requestEncoding="gb2312" responseEncoding="gb2312" /> Line 4: <compilation defaultLanguage="c#" debug="true" /> Line 5: <customErrors mode="off"/> Line 6: </system.web> Line 7: <appSettings>看看上面的错误,off是错的,而Off就正确了!
就把文件考过去就想用呀?
web.config文件中的错误很多是看不到的莫名其妙。
远程端有没有framework
楼上楼上的兄弟,off的格式肯定是正确的,这你不用怀疑
Line 4: <compilation defaultLanguage="c#" debug="true" />
Line 5: <customErrors mode="off"/>
Line 6: </system.web>
Line 7: <appSettings>看看上面的错误,off是错的,而Off就正确了!
再说了,customErrors mode属性是用来调试程序错误用的,我的程序在本地调试通过了呀.