公布的网站,查询功能,带某一个字段的时候报错

发布的网站,查询功能,带某一个字段的时候报错,
网站里面的报表,按条件查询 但是有的可以查询 有的直接报500错误,
服务器的事件日志如下
3005 
   发生了未经处理的异常。 
   2014/7/29 17:36:32 
   2014/7/29 9:36:32 
   8133b56f74b54f468801d631f6cb4075 
   318 
   10 
   0 
   /LM/W3SVC/2/ROOT-2-130510990537616705 
   Full 
   / 
   C:\Users\DELL1\Desktop\websystem\ 
   WINDOWS-E5AS8DO 
    
   6496 
   w3wp.exe 
   IIS APPPOOL\MKHouTai 
   ArgumentOutOfRangeException 
 在多字节的目标代码页中,没有此 Unicode 字符可以映射到的字符。 (异常来自 HRESULT:0x80070459) 在 System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) 在 System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode) 在 System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.GetBasicServerVariables() 在 System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.ReadRequestBasics() 在 System.Web.Hosting.ISAPIWorkerRequest.Initialize() 在 System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  
    
    
    
    
   False 
    
   IIS APPPOOL\MKHouTai 
   42 
   IIS APPPOOL\MKHouTai 
   False 
   在 System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) 在 System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode) 在 System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.GetBasicServerVariables() 在 System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.ReadRequestBasics() 在 System.Web.Hosting.ISAPIWorkerRequest.Initialize() 在 System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  

------解决方案--------------------
检查NET 全球化设置,有些数据是否编码如HttpUtility.UrlEncode
------解决方案--------------------
引用:
检查NET 全球化设置,有些数据是否编码如HttpUtility.UrlEncode


+1