OWA Calendarview script error.
From: John Hope-Ross (anonymous_at_discussions.microsoft.com)
Date: 07/14/04
- Next message: John Hope-Ross: "OWA Calendarview Script Error"
- Previous message: NTborg: "RPC over HTTP"
- Messages sorted by: [ date ] [ thread ]
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.send
If you run the code below in VB, the XML returned in the
Dim xmlDoc As New MSXML2.DOMDocument30
Not being a Java or XML expert, I cannot go any farther.
xmlhttp.open "GET", "http://
.0/controls/ctrl_calviewweekly.xsl", False
MsgBox xmlhttp.responseText <=========== this returns
the contents of the file
MsgBox xmlhttp.statusText <============ This returns "OK"
MsgBox xmlhttp.responseXML.xml <========== This returns
nothing: ""
CurrNode.xml appears to be correct.
Dim currNode As IXMLDOMNode
xmlDoc.async = False
xmlDoc.Load "http://
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
>-----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
... 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)
... 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)
... and xml file ... Dim strXML As String = SqlHelper.ExecuteScalar(cn, ... ' get xsl file from database and load xsl file ...
(microsoft.public.dotnet.xml)
... (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)
... 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)