I am getting the error below when I try to bring up the web application thru Visual Studio 2005 in debug mode. I have referenced the Inputmask control via \bin and place the license file in the \bin as well as the root folder. I have also tried to set the licenseXML property on the control to match the content of the license file. Please help. Thanks
Data at the root level is invalid. Line 1, position 1.
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: Data at the root level is invalid. Line 1, position 1.
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: Data at the root level is invalid. Line 1, position 1.]
System.Xml.XmlTextReaderImpl.Throw(Exception e) +87
System.Xml.XmlTextReaderImpl.Throw(String res, String arg) +127
System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace() +1903550
System.Xml.XmlTextReaderImpl.ParseDocumentContent() +503
System.Xml.XmlTextReaderImpl.Read() +38
System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +145
System.Xml.XmlDocument.Load(XmlReader reader) +96
System.Xml.XmlDocument.Load(Stream inStream) +178
Drg.Licensing.DrgLicenseProvider.LoadLicenseFromStream(Stream s) +53
Drg.Licensing.DrgLicenseProvider.LoadLicenseFromFile(String fileName) +89
Drg.Licensing.DrgLicenseProvider.LoadLicenseFromFile(Type t) +282
Drg.Licensing.DrgLicenseProvider.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions) +586
System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey) +259
System.ComponentModel.LicenseManager.ValidateInternal(Type type, Object instance, Boolean allowExceptions, License& license) +41
System.ComponentModel.LicenseManager.Validate(Type type, Object instance) +29
Drg.WebControls.InputMask.x9b3cc68e63b0fa10() +69
Drg.WebControls.InputMask.OnPreRender(EventArgs e) +44
System.Web.UI.Control.PreRenderRecursiveInternal() +77
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360
|