"This property is not implemented by this class"

Nov 30, 2010 at 4:23 PM

I am using SharpVectors inside of another solution. This solution uses WebRequest calls to retrieve data from web services. These calls work without issue until after the first time that SharpVector is invoked.

I am using a FileSvgReader to read an SVG file into an Image.

The error is coming when calling set_timeout on my web service. Here is the stack:

   at System.Net.WebRequest.set_Timeout(Int32 value)
   at System.Web.Services.Protocols.WebClientProtocol.GetWebRequest(Uri uri)
   at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebRequest(Uri uri)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.GetWebRequest(Uri uri)
   at MyClass.GetWebRequest(Uri uri) in C:\**********\MyClass.cs:line 67



 

Again, my existing code works fine until I call convert.Read(filename). I have updated the project to use .NET 4.0 (since Timeout did not exist until then for System.Net.WebRequest)) but that still hasn't made a difference. Any suggestions would be appreciated.

Nov 30, 2010 at 4:55 PM
Edited Nov 30, 2010 at 5:24 PM

I found an issue between the .NET version of my web service and the .NET version in my project. That resolved the issue.