Problem with the example included with source code

Jan 4, 2011 at 5:07 PM
Edited Jan 4, 2011 at 5:09 PM

The test app included with the source code is not working.

An exception happens here in Reference.cs

 private class FileAccessServiceClientChannel : ChannelBase<TestClient.Web.FileAccessService>, TestClient.Web.FileAccessService
{
    public FileAccessServiceClientChannel(System.ServiceModel.ClientBase<TestClient.Web.FileAccessService> client) : base (client) {

    }
...
}

 

The message is:

"ArgumentException was unhandled by user code  - the provided URI scheme 'file' is invalid; 'http'.  Parameter name: via"

Any help?

Jan 4, 2011 at 5:11 PM
You made need to update the service reference. Please validate the client and web config match the web site settings.

Sent from my Windows Phone

From: rdamske
Sent: Tuesday, January 04, 2011 10:07 AM
To: Glen Banta
Subject: Problem with the example included with source code [interlink:240444]

From: rdamske

The test app included with the source code is not working.

An exception happens here in Reference.cs

private class FileAccessServiceClientChannel : ChannelBase<TestClient.Web.FileAccessService>, TestClient.Web.FileAccessService

{

public FileAccessServiceClientChannel(System.ServiceModel.ClientBase<TestClient.Web.FileAccessService> client) : base

(client) {

}

}



ArgumentException was unhandled by user code - the provided URI scheme 'file' is invalid; 'http'. Parameter name: via

Any help?

Jan 4, 2011 at 8:04 PM

I did this as you suggesteed, but no change in the outcome.

Jan 5, 2011 at 4:43 AM

I need more info... this seems like a WCF problem.

Jan 5, 2011 at 1:43 PM

I would be glad to show you the problem via Live Meeting if you like.

From: hyspdrt [email removed]
Sent: Tuesday, January 04, 2011 10:44 PM
To: russ@damske.com
Subject: Re: Problem with the example included with source code [interlink:240444]

From: hyspdrt

I need more info... this seems like a WCF problem.

Jan 5, 2011 at 2:31 PM
Not sure what time zone you are in but I could be available later tonight.

Sent from my Windows Phone

From: rdamske
Sent: Wednesday, January 05, 2011 6:43 AM
To: Glen Banta
Subject: Re: Problem with the example included with source code [interlink:240444]

From: rdamske

I would be glad to show you the problem via Live Meeting if you like.

From: hyspdrt [email removed]
Sent: Tuesday, January 04, 2011 10:44 PM
To: russ@damske.com
Subject: Re: Problem with the example included with source code [interlink:240444]

From: hyspdrt

I need more info... this seems like a WCF problem.

Jan 5, 2011 at 2:37 PM
Edited Jan 5, 2011 at 2:39 PM


That would be fine

Jan 6, 2011 at 5:54 PM
Edited Jan 6, 2011 at 5:54 PM

Thanks for the help!  The Issue has been solved by making sure that the application was configured correctly.