#194 Fwsync does not deal with redirects

FlexWiki
open
Craig Andera
5
2014-08-20
2006-09-08
Craig Andera
No

A 302 will choke fwsync. Some installations report that
against build 1703 of flexwiki, the error looks like
this [1], which appears to include a redirect to
wikiedit.aspx.

[1]

fwsync /url http://wiki /defcred init c:\foowiki

fwsync 1.0.1831.5643 Copyright (c) 2004 Craig Andera
candera@wangdera.com

An unhandled exception was thrown.

System.Net.WebException: The request failed with the
error message:

--

<html><head><title>Object moved</title></head><body>

<h2>Object moved to <a
href='/wikiedit.aspx?topic=Microsoft.Projects.Netmon.EditService'>here</a>.</h2>

</body></html>

--.

at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
message, WebResponse response,

Stream responseStream, Boolean asyncCall)

at
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)

at
FlexWiki.FwSync.EditServiceProxy.GetAllNamespaces() in
c:\data\Projects\fwcontrib\fwsync\release\EditServiceProxy.

cs:line 57

at
FlexWiki.FwSync.FwEditServiceProxy.FlexWiki.FwSync.IEditServiceProxy.GetAllNamespaces()
in c:\data\Projects\fwcont

rib\fwsync\release\FwEditServiceProxy.cs:line 32

at FlexWiki.FwSync.Synchronizer.SyncToRemote() in
c:\data\Projects\fwcontrib\fwsync\release\Synchronizer.cs:line
61

at FlexWiki.FwSync.Synchronizer.Initialize(Boolean
localOnly) in
c:\data\Projects\fwcontrib\fwsync\release\Synchroniz

er.cs:line 55

at FlexWiki.FwSync.App.Main(String[] args) in
c:\data\Projects\fwcontrib\fwsync\release\App.cs:line 69

Discussion