Exeption on "membership"

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
10/4/2009 3:53:27 AM
Gravatar
Total Posts 3

Exeption on "membership"

I got this error, when ever I try to get the membership on "users", "registration" and so on...

It works on my development system: MS Vista Ultimat, VS 2008, MS SQL 2005

I'll download the source, maybe I can find out what happens but I hope somebody knows a better way...   Laughing

CU Walter

Serverfehler in der Anwendung /WebPortal. -------------------------------------------------------------------------------- Ungültiges Zeichen in der angegebenen Codierung. Zeile 134, Position 41. Beschreibung: Unbehandelte Ausnahme beim Ausführen der aktuellen Webanforderung. Überprüfen Sie die Stapelüberwachung, um weitere Informationen über diesen Fehler anzuzeigen und festzustellen, wo der Fehler im Code verursacht wurde. Ausnahmedetails: System.Xml.XmlException: Ungültiges Zeichen in der angegebenen Codierung. Zeile 134, Position 41. Quellfehler: Beim Ausführen der aktuellen Webanforderung wurde einen unbehandelte Ausnahme generiert. Informationen über den Ursprung und die Position der Ausnahme können mit der Ausnahmestapelüberwachung angezeigt werden. Stapelüberwachung: [XmlException: Ungültiges Zeichen in der angegebenen Codierung. Zeile 134, Position 41.] System.Xml.XmlTextReaderImpl.Throw(Exception e) +76 System.Xml.XmlTextReaderImpl.Throw(String res, String arg) +126 System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res) +35 System.Xml.XmlTextReaderImpl.InvalidCharRecovery(Int32& bytesCount, Int32& charsCount) +186 System.Xml.XmlTextReaderImpl.GetChars(Int32 maxCharsCount) +128 System.Xml.XmlTextReaderImpl.ReadData() +368 System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr) +374 System.Xml.XmlTextReaderImpl.ParseAttributes() +903 System.Xml.XmlTextReaderImpl.ParseElement() +343 System.Xml.XmlTextReaderImpl.ParseElementContent() +121 System.Xml.XmlTextReaderImpl.Read() +45 System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) +58 System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) +20 System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +129 System.Xml.XmlDocument.Load(XmlReader reader) +108 System.Xml.XmlDocument.Load(String filename) +87 mojoPortal.Web.Configuration.mojoProfileConfiguration.GetConfig() +258 mojoPortal.Web.UI.Pages.Register.PopulateRequiredProfileControls() +49 mojoPortal.Web.UI.Pages.Register.Page_Load(Object sender, EventArgs e) +149 System.Web.UI.Control.OnLoad(EventArgs e) +99 mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e) +12 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627 -------------------------------------------------------------------------------- Versionsinformationen: Microsoft .NET Framework-Version:2.0.50727.4016; ASP.NET-Version:2.0.50727.4016

10/4/2009 6:14:17 AM
Gravatar
Total Posts 18439

Re: Exeption on "membership"

Hi,

This looks like an xml file got corrupted somehow and is no longer valid xml. Unless you have customized it to use a different file, then the file in question is mojoProfile.config in the root folder of the web. I would upload that file again and/or inspect it with a text editor on the server.

Sometimes I have seen issues where xml files get corrupted during ftp upload. I use FileZilla for ftp and it seems to work well.

Hope it helps,

Joe

10/4/2009 11:23:08 AM
Gravatar
Total Posts 3

Re: Exeption on "membership"

Yes, Joe, thank you! It was a problem in the regex.

But without the source and a debugger you can't find out it.

Have a nice day! And thank you again!

Walter

You must sign in to post in the forums. This thread is closed to new posts.