CopyTimer XML files don't open properly

May 23, 2008 at 4:54 PM
I'm getting an XML error of some sort when trying to open up my CopyTimer output files to see the results of my tests.

The error in IE is as follows:

<>The XML page cannot be displayed

Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.

 

 

</>

 

<>The following tags were not closed: Results. Error processing resource 'file:///C:/copytimer/ST-DEMO 230508 095754 - baseli...

 

 

 

</>



I checked the file and the 'Results' tag does seem to be closed...but perhaps I'm missing something. Below is a cut/paste of my XML...

<?xml version="1.0" encoding="utf-8" ?>

<configuration>

<configSections>

<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >

<section name="CopyTimer.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />

</sectionGroup>

</configSections>

<applicationSettings>

<CopyTimer.Properties.Settings>

<!--Doc Lib Url should be a path to a SharePoint doc lib with the files File1-File3 located in the library-->

<setting name="DocLibUrl" serializeAs="String">

<value>http://web-demo/Docs/Documents/</value>

</setting>

<!--File1-File3 are file names which are located in the Doc Lib Url-->

<setting name="File1" serializeAs="String">

<value>10MB-DOC.doc</value>

</setting>

<setting name="File2" serializeAs="String">

<value>10MB-PPT.ppt</value>

</setting>

<setting name="File3" serializeAs="String">

<value>10MB-XLS.xls</value>

</setting>

<!-- The following Web Service paths should be updated to point to the site where results are stored-->

<!-- This can be the same or different from the site being used for tests-->

<setting name="CopyTimer_ResultsList_Lists" serializeAs="String">

<value>http://web-demo/Docs/Documents/CopyTimer_Results/</value>

</setting>

<setting name="CopyTimer_ResultsView_Views" serializeAs="String">

<value>http://web-demo/Docs/Documents/CopyTimer_Results/</value>

</setting>

<!-- The name of the List which will hold CopyTimer's results from clients. -->

<!-- It will be created if it doesn't exist, in the location used for the above Web Services-->

<setting name="ResultListName" serializeAs="String">

<value>Copytimer Results List</value>

</setting>

</CopyTimer.Properties.Settings>

</applicationSettings>

</configuration>




Interestingly as well, although I'm trying to use 3 different files (different from the default) - the copytimer program seems to be locked in to using file1.doc, file2.doc and file3.doc

Do I have something misconfigured in the file which is preventing my custom files from being used?

Also - the XML output isn't updating to the SharePoint site. At my dos prompt I'm getting the following error:

System.Net.WebException: The request failed with the error message:
--
<head><title>Document Moved</title></head>
<body><h1>Object Moved</h1>This document may be found <a HREF="http://web-demo/Docs/Documents/Forms/
AllItems.aspx?RootFolder=http%3a%2f%2fweb%2ddemo%2fDocs%2fDocuments%2fCopyTimer%5fResults&FolderCTID
=0x012000F2D2A3F554463744992EEB261595FAEB">here</a></body>
--.
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, W
ebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parame
ters)
   at CopyTimer.ResultsList.Lists.UpdateListItems(String listName, XmlNode updates)
   at CopyTimer.Program.SaveResults(String ResultsListName)