The Access development group here at this company has exported its reports in xml format from Access 2003. I have no influence on how they have created them. I received the following files
xm
xs
xsl
asp or html (my option
Using a simple ASP.NET form with only a System.Web.UI.W ebControls.Xml on it, I receive an error (below) that the scripting language 'vbscript' is not supported. The xslt file has in it vbscript scripting to generally calculate cerain amounts in the report. I have not been able to find any help info on working around this. Running the supplied asp or html file the report is displayed however that means a web page outside of my C# .NET code. Can anyone help me on this
*************** *************
The scripting language 'vbscript' is not supported.
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.Xsl. XsltException: The scripting language 'vbscript' is not supported
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:
[XsltException: The scripting language 'vbscript' is not supported.
System.Xml.Xsl. ContainerAction .AddScript(Comp iler compiler) +29
System.Xml.Xsl. ContainerAction .CompileTopLeve lElements(Compi ler compiler) +85
System.Xml.Xsl. ContainerAction .CompileDocumen t(Compiler compiler, Boolean inInclude) +17
System.Xml.Xsl. RootAction.Comp ile(Compiler compiler) +
System.Xml.Xsl. Compiler.Create RootAction() +12
System.Xml.Xsl. Compiler.Compil e(NavigatorInpu t input, XmlResolver xmlResolver, Evidence evidence) +20
[XsltCompileExce ption: file:///c:/inetpub/wwwroot/DEDWebACA/DEDxml/rptRecentActivi ty.xsl(157,3)
System.Xml.Xsl. Compiler.Compil e(NavigatorInpu t input, XmlResolver xmlResolver, Evidence evidence) +29
System.Xml.Xsl. XslTransform.Co mpile(XPathNavi gator stylesheet, XmlResolver resolver, Evidence evidence) +21
System.Xml.Xsl. XslTransform.Lo ad(String url, XmlResolver resolver) +19
System.Xml.Xsl. XslTransform.Lo ad(String url) +2
System.Web.UI.W ebControls.Xml. LoadTransformFr omSource() +22
System.Web.UI.W ebControls.Xml. Render(HtmlText Writer output) +2
System.Web.UI.C ontrol.RenderCo ntrol(HtmlTextW riter writer) +24
System.Web.UI.C ontrol.RenderCh ildren(HtmlText Writer writer) +7
System.Web.UI.H tmlControls.Htm lForm.RenderChi ldren(HtmlTextW riter writer) +4
System.Web.UI.H tmlControls.Htm lForm.Render(Ht mlTextWriter output) +26
System.Web.UI.C ontrol.RenderCo ntrol(HtmlTextW riter writer) +24
System.Web.UI.C ontrol.RenderCh ildren(HtmlText Writer writer) +7
System.Web.UI.C ontrol.Render(H tmlTextWriter writer) +
System.Web.UI.C ontrol.RenderCo ntrol(HtmlTextW riter writer) +24
System.Web.UI.P age.ProcessRequ estMain() +192
-------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.432 2.573; ASP.NET Version:1.1.432 2.573