D
David Thielen
Hi;
In my AddIn I call the following code where the filename is the file I
am editing and it is a Microsoft Live file
filename="http://adamm515.workspace.office.live.com/90359bb4-dede-494c-b024-57dc8611d0f5/Docs/Windward
Trucking Template 2.docx"
Also weird that the file will not come up if pasted in a browser. But
it is the filename returned by Word to my AddIn.
WebRequest req = WebRequest.Create(filename);
WebResponse resp = req.GetResponse();
And on GetResponse() I get the exception:
System.Net.WebException occurred
Message="The remote server returned an error: (501) Not
Implemented."
Source="System"
StackTrace:
at System.Net.HttpWebRequest.GetResponse()
at net.windward.utils.FileUtils.GetStream(String filename) in
C:\src\holomua\Kailua\net\windward\utils\FileUtils.cs:line 113
InnerException:
Any idea why?
thanks - dave
david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com
Cubicle Wars - http://www.windwardreports.com/film.htm
In my AddIn I call the following code where the filename is the file I
am editing and it is a Microsoft Live file
filename="http://adamm515.workspace.office.live.com/90359bb4-dede-494c-b024-57dc8611d0f5/Docs/Windward
Trucking Template 2.docx"
Also weird that the file will not come up if pasted in a browser. But
it is the filename returned by Word to my AddIn.
WebRequest req = WebRequest.Create(filename);
WebResponse resp = req.GetResponse();
And on GetResponse() I get the exception:
System.Net.WebException occurred
Message="The remote server returned an error: (501) Not
Implemented."
Source="System"
StackTrace:
at System.Net.HttpWebRequest.GetResponse()
at net.windward.utils.FileUtils.GetStream(String filename) in
C:\src\holomua\Kailua\net\windward\utils\FileUtils.cs:line 113
InnerException:
Any idea why?
thanks - dave
david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com
Cubicle Wars - http://www.windwardreports.com/film.htm