xmlModule not working

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.
11/26/2012 5:03:47 PM
Gravatar
Total Posts 5

xmlModule not working

Hello,

I'm having trouble getting the xmlModule to work. Here is the environment:

  1. Windows Server 2008 with IIS 7.5 running in full trust
  2. SQL Server 2008
  3. Mojoportal 2.3.9.4

Steps to get the error:

  1. Add the xmlModule to a blank page.
  2. Use the sample "sales.xml" and "sales.xsl" to test it.
  3. Get an error like below:

2012-11-26 14:50:00,140 INFO 76.79.154.146 - en-US - /xmltest.aspx - mojoPortal.Web.XmlUI.XmlModule - swallowed excpetion to keep from breaking the page
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 76.79.209.212:80
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
at System.Xml.Xsl.Xslt.XsltLoader.CreateReader(Uri uri, XmlResolver xmlResolver)
at System.Xml.Xsl.Xslt.XsltLoader.Load(Compiler compiler, Object stylesheet, XmlResolver xmlResolver)
at System.Xml.Xsl.Xslt.Compiler.Compile(Object stylesheet, XmlResolver xmlResolver, QilExpression& qil)
at System.Xml.Xsl.XslCompiledTransform.LoadInternal(Object stylesheet, XsltSettings settings, XmlResolver stylesheetResolver)
at mojoPortal.Web.Framework.XmlHelper.TransformXML(String xmlUrl, String xslUrl)
at mojoPortal.Web.XmlUI.XmlModule.PopulateControls()

Please advise....

11/28/2012 10:34:19 AM
Gravatar
Total Posts 18439

Re: xmlModule not working

I'm not able to reproduce this problem. I just tried it on the demo site selecting sales.xml and sales.xsl from the dropdown list and it worked fine. Make sure you are not entering something in the Url textboxes if you use the dropdown. Make sure the files exist on disk and have correct file permissions. Though the error looks more like a networking error. Make sure the server can resolve the host name of the site correctly either via its DNS servers or via the hosts file. Make sure xml and xsl mime types are defined on the server.

Best,

Joe

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