1- i will improve my question for u because i coudn't write comment the server has problem.....
i have WCF service in my desktop computer running windows xp and vista and i have the mobile applictaion project called "Client"... when i genrated the proxy i made this step in commond prompt during the service running :
NetCFSvcUtil http:
and this genrated 2 files Greeting_Service.cs and CFClientBase.cs
and i puted both in Client;
and this is my code in Client :
System.ServiceModel.Channels.Binding binding = GreetingServiceClient.CreateDefaultBinding();
string address = GreetingServiceClient.EndpointAddress.Uri.ToString();
GreetingServiceClient m_proxy = new GreetingServiceClient(binding, new EndpointAddress(address));
string result = m_proxy.Greet(textBox1.Text).ToString();
textBox2.Text = result;
when i try to run the service and the client the error above is appear in CFClientBase.cs at this part
return requestChannel.Request(msg);
and i tried to run the "Client" from this Client\Client\bin\Debug\Client.exe and it run fine
..............
when i try ur solution and change my command for genrate proxy to ...
NetCFSvcUtil http:
it is the same error.
and thx for ur replay mr fredik.