OWA Calendarview script error.

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: John Hope-Ross (anonymous_at_discussions.microsoft.com)
Date: 07/14/04


Date: Wed, 14 Jul 2004 12:47:27 -0700

I have done some Java debugging on the referenced
ctrl_calendarview.js and have gotten this far:

There is a system of Java functions that is responsible
for sending a request to the server for an XSL file and
parsing out the XML that it contains.
It seems that there is a problem with the parsing of the
XML returned by the xmlhttp.responseXML.xml object because
it is empty.

If you check the value of xmlhttp.responseText, it
contains the full contents of the request file.
This means that the request to the server succeeds, but
the xml parsing somehow fails.

I did some simple testing in VB to duplicate the condition:

Dim xmlhttp As New MSXML2.XMLHTTP30
xmlhttp.open "GET", "http://>/exchweb/6.5.7226
.0/controls/ctrl_calviewweekly.xsl", False

xmlhttp.send
MsgBox xmlhttp.responseText <=========== this returns
the contents of the file
MsgBox xmlhttp.statusText <============ This returns "OK"
MsgBox xmlhttp.responseXML.xml <========== This returns
nothing: ""

If you run the code below in VB, the XML returned in the
CurrNode.xml appears to be correct.

Dim xmlDoc As New MSXML2.DOMDocument30
Dim currNode As IXMLDOMNode
xmlDoc.async = False
xmlDoc.Load "
http://>/exchweb/6.5.7226.0/contr
ols/ctrl_calviewweekly.xsl"
If (xmlDoc.parseError.errorCode <> 0) Then
   Dim myErr
   Set myErr = xmlDoc.parseError
   MsgBox ("You have error " & myErr.reason)
Else
   Set currNode = xmlDoc.documentElement.childNodes.Item(0)
   MsgBox currNode.xml
End If

Not being a Java or XML expert, I cannot go any farther.
>-----Original Message-----
>I have an Exchange 2003 server with SP1 applied running
on
>Windows 2003 server.
>
>I am not sure that this worked right before I applied
SP1,
>but the problem happens on multiple PC's both from the
>Internet as well as inside the LAN.
>
>OWA works fine except for the calendar. When you click on
>the calendar folder, the date navigator shows "Updating
>View..." and you get the following script error:
>
>Line: 1003
>Char: 12
>Error: 'null' is not null or not an object
>Code: 0
><MyOWAURL>/Exchweb/6.5.7226.0/controls/ctrl_calendarview.h
t
>c
>
>It seems that the 6.5.7226.0 folder has files that are
>dated later than another folder that has the same
contents
>with the number 6.5.6994.0.
>
>If the problem is the newer version, what is the proper
>method to back-rev these file so that it works correctly,
>or do I have another problem?
>
>Thanks in advance for any help or insights you can give
me
>on this problem.
>
>John Hope-Ross
>.
>



Relevant Pages

  • How do I include Nulls in my xml
    ... I want to create a dataset, send it to a folder on the clients hard drive ... using XML through my VB.Net application. ... Dim daSection As New SqlClient.SqlDataAdapter ... ' Create an XmlTextWriter with the fileStream. ...
    (microsoft.public.dotnet.xml)
  • Re: application communication in xml without webservices?
    ... Java tools that work well with services designed to use cross-platform data ... elements that fall into the intersection of the .NET, Java and XML Schema ... >- webservices remove some of the complexity out of communicating ... >> that standardize how you'll use HTTP so that others who follow in your ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • RE: using myXslDoc.Transform
    ... and xml file ... Dim strXML As String = SqlHelper.ExecuteScalar(cn, ... ' get xsl file from database and load xsl file ...
    (microsoft.public.dotnet.xml)
  • RE: Nested objects?
    ... (because DataSets are automatically serialized to XML), within that DataSet, ... WebService from any other platform like Java, ... BTW, about your question (using ArrayLists), here you have an example. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • RE: ASP.Net app cannot read XML with Anonymous Authentication disabled
    ... ASP.Net app cannot read XML with Anonymous Authentication ... | Dim ProjReader As XmlReader = Nothing ... | Dim ProjURL As String = Session ... | 'Get XML Data for Projector and load in Projector Dropdown ...
    (microsoft.public.dotnet.framework.aspnet.security)