• Brandie Tarvin (4/25/2014)


    Trying Cadavre's script I get the following error:

    A WebException has been caught.System.UriFormatException: Invalid URI: The URI scheme is not valid.

    at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)

    at ST_34df453e99e647559a2fcbd13a9d9831.vbproj.ScriptMain.Main()

    It could be what I'm reading into the variables, but the URL is valid and the authorization should be valid too.

    So I was reading the authorization values from the wrong instance (DOH!). Got past this error and ran into another one:

    A WebException has been caught.System.Net.ProtocolViolationException: Bytes to be written to the stream exceed the Content-Length bytes size specified.

    at System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)

    at System.NetConnectStream.Write(Byte[] buffer, Int32 offset, Int32 size)

    at

    ST_34df453e99e647559a2fcbd13a9d9831.vbproj.ScriptMain.SendFileInformation(Stream tempStream, StringBuilder DataString, String FilePathName)

    at ST_34df453e99e647559a2fcbd13a9d9831.vbproj.ScriptMain.Main()

    At which point I find a question over on stackoverflow which indicates that this might be auto-set by the program and trying to manually set it will cause problems. So I'm going to experiment with that option.

    If anyone has information to the contrary, though, could you please let me know?

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.