By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,784 Members | 3,582 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,784 IT Pros & Developers. It's quick & easy.

Help with error: "Invalid URI: The format of the URI could not be determined."

P: n/a
I'm trying to access a password protected web service. My code is as

Dim BS7666 As New bs7666.BS7666 'New instance of my web service
Dim CredCache As CredentialCache = New CredentialCache
Dim WebSvcURL As System.Uri = New System.Uri(BS7666.Url)
CredCache.Add(WebSvcURL, "Basic", New NetworkCredential("USERNAME",
"PASSWORD", "DOMAIN")) 'This is the line it fails on
BS7666.Credentials = CredCache
Dim DataSet_bs7666 As New DataSet
DataSet_bs7666 = BS7666.GetAddresses(CStr(0), "", strPostCode.ToLower,
BuildingNoOrName.ToLower, "", strStreet.ToLower, 0, 0)

Invalid URI: The format of the URI could not be determined.
Any help will be much appreciated - I've been struggling with this all
I am using the free version of SPAMfighter for private users.
It has removed 2200 spam emails to date.
Paying users do not have this message in their emails.
Try for free now!
Nov 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.