bonjour à tous,
dans ma page j'ai réalisé une transformation avec un xml et un xsl.Je
n'avait jamais eu de problème mais ce matin avec des nouveaux xsl j'ai
eu cette erreur :
Server Error in '/' Application.
--------------------------------------------------------------------------------
There is no Unicode byte order mark. Cannot switch to Unicode.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.Xml.XmlException: There is no Unicode byte order mark. Cannot switch to Unicode.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace
below.
Stack Trace:
[XmlException: There is no Unicode byte order mark. Cannot switch to Unicode.]
System.Xml.XmlTextReader.Throw(Exception e) +84
System.Xml.XmlTextReader.ThrowWithoutLineInfo(String res) +111
System.Xml.XmlTextReader.CheckEncoding(String newEncodingName) +3391203
System.Xml.XmlTextReader.ParseXmlDeclaration(Boolean isTextDecl) +1822
System.Xml.XmlTextReader.Read() +99
MS.Internal.Xml.Cache.XPathDocumentBuilder.Build(XmlReader reader, Boolean readAllSibs) +189
System.Xml.XPath.XPathDocument.Load(XmlReader reader, Boolean readAllSiblings) +106
System.Xml.XPath.XPathDocument..ctor(String uri, XmlSpace space, Boolean acceptChangesOnLoad) +157
System.Xml.XPath.XPathDocument..ctor(String uri) +9
System.Web.UI.WebControls.Xml.LoadXPathDocument() +305
System.Web.UI.WebControls.Xml.Render(HtmlTextWriter output) +26
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +23
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +139
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +24
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +91
System.Web.UI.Page.Render(HtmlTextWriter writer) +25
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +23
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +139
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +24
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+5916
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.40607.16; ASP.NET Version:2.0.40607.16
Je comprend rien!!!

j'ai beau cherché j'ai rien trouvé sur le net. Pitié help :)