[Pkg-mono-devel] System.Text.DecoderFallBackException error on my app in apache server with mono

juan sanchez juansr21 at hotmail.com
Mon Nov 14 15:34:01 UTC 2011


Hello,
I´m a new mono user and i have an app in vstudio.net 2008 running perfect in apache2 in my laptop with debian 5.0 with mono installed.
The problem i have is when i try to run this app in a server of my company with debian 5.0 installed with apache and mono installed and configured.
 
The references for libraries (System.Web.Extensions.dll, etc) are in a /bin folder into the app and ajax, mysql libraries are added into the gac with "gacutil -i mysql.data.dll", etc.
 
The error showed is the following:
Exception of type 'System.Text.DecoderFallbackException' was thrown.
Description: HTTP 500. Error processing request.
Stack Trace:



System.Text.DecoderFallbackException: Exception of type 'System.Text.DecoderFallbackException' was thrown.
  at System.Text.DecoderExceptionFallbackBuffer.Fallback (System.Byte[] bytesUnknown, Int32 index) [0x00000] 
  at System.Text.UTF8Encoding.Fallback (System.Object provider, System.Text.DecoderFallbackBuffer& buffer, System.Byte[]& bufferArg, System.Byte* bytes, Int64 byteIndex, UInt32 size, System.Char* chars, System.Int32& charIndex) [0x00000] 
  at System.Text.UTF8Encoding.InternalGetChars (System.Byte* bytes, Int32 byteCount, System.Char* chars, Int32 charCount, System.UInt32& leftOverBits, System.UInt32& leftOverCount, System.Object provider, System.Text.DecoderFallbackBuffer& fallbackBuffer, System.Byte[]& bufferArg, Boolean flush) [0x00000] 
  at System.Text.UTF8Encoding.InternalGetChars (System.Byte[] bytes, Int32 byteIndex, Int32 byteCount, System.Char[] chars, Int32 charIndex, System.UInt32& leftOverBits, System.UInt32& leftOverCount, System.Object provider, System.Text.DecoderFallbackBuffer& fallbackBuffer, System.Byte[]& bufferArg, Boolean flush) [0x00000] 
  at System.Text.UTF8Encoding+UTF8Decoder.GetChars (System.Byte[] bytes, Int32 byteIndex, Int32 byteCount, System.Char[] chars, Int32 charIndex) [0x00000] 
  at System.Xml.NonBlockingStreamReader.ReadBuffer () [0x00000] 
  at System.Xml.NonBlockingStreamReader.Read (System.Char[] dest_buffer, Int32 index, Int32 count) [0x00000] 
  at Mono.Xml2.XmlTextReader.ReadTextReader (Int32 remained) [0x00000] 
  at Mono.Xml2.XmlTextReader.PeekChar () [0x00000] 
  at Mono.Xml2.XmlTextReader.ReadChar () [0x00000] 
  at Mono.Xml2.XmlTextReader.ExpectAfterWhitespace (Char c) [0x00000] 
  at Mono.Xml2.XmlTextReader.ReadEndTag () [0x00000] 
  at Mono.Xml2.XmlTextReader.ReadContent () [0x00000] 
  at Mono.Xml2.XmlTextReader.Read () [0x00000] 
  at System.Xml.XmlTextReader.Read () [0x00000] 
  at System.Xml.XmlReader.Skip () [0x00000] 
  at System.Xml.XmlTextReader.Skip () [0x00000] 
  at System.Configuration.SectionGroupInfo.ReadConfig (System.Configuration.Configuration cfg, System.String streamName, System.Xml.XmlTextReader reader) [0x00000] 
  at System.Configuration.Configuration.ReadConfigFile (System.Xml.XmlTextReader reader, System.String fileName) [0x00000] 
  at System.Configuration.Configuration.Load () [0x00000] 
  at System.Configuration.Configuration.Init (IConfigSystem system, System.String configPath, System.Configuration.Configuration parent) [0x00000] 
  at System.Configuration.Configuration..ctor (System.Configuration.InternalConfigurationSystem system, System.String locationSubPath) [0x00000] 
  at System.Configuration.Configuration..ctor (System.Configuration.InternalConfigurationSystem system, System.String locationSubPath) [0x00000] 
  at System.Configuration.InternalConfigurationFactory.Create (System.Type typeConfigHost, System.Object[] hostInitConfigurationParams) [0x00000] 
  at System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration (System.String path, System.String site, System.String locationSubPath, System.String server, System.String userName, System.String password) [0x00000] 



Version information: Mono Version: 2.0.50727.42; ASP.NET Version: 2.0.50727.42
 
If a run a simple index.aspx page in the server it runs correctly, but when I try to run the app always shows the error showed before.
 
I need help urgently.
 
Lot of thanks,

Joni
 
 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-mono-devel/attachments/20111114/d34e5207/attachment.html>


More information about the Pkg-mono-devel mailing list