In Focus
Delhi Chapter Hands On June 22: Limited Seats Register Now
Kolkata Chapter Developer Day: May 25
C# Corner Delhi Chapter Meet, May-18, 2013 Official Recap
Istanbul Chapter May 2013 2nd Seminar Announced : Learn WinJS, Windows Store, MVC
Email :
Password :
Remember me?
Forgot password
Technologies
Monthly Leaders
ASK A QUESTION
C# Programming
Multi-threading
Microsoft Surface
Community Services
Java
.NET General
Office Interoperability
ReFS
Current Affairs
JQuery
Active Directory
Printing
Silverlight 5
Fun and Jokes
JSP
ADO.NET & Database
Project Management
WCF
Job Opportunities
Multimedia, Graphics, Flash
AJAX & Atlas
Remoting
Windows 8
Leadership
PHP
Algorithms & AI
Reporting
Windows Azure
Mac for Windows
Social Networking
Arrays & Collections
Robotics and Hardware
Windows Store Apps
Microsoft Feedback
TypeScript
ASP.NET & Web Development
Security & Cryptography
Workflow Foundation
Open Source Projects
Web Hosting
C# Language
Setup & Deployment
WPF
Operating Systems
Website Management
C# References
Sharepoint
XAML Language
Paid Projects
Windows Azure
CLR & .NET Internals
Speech & Voice Recognition
Site and Forums Feedback
Prizes, Awards, MVP
Windows Phone 7
COM Interoperability
Tablet PC
Announcements
Students & Beginner Projects
Database
Custom Controls
Testing and QA
Author Guidelines
Test Category
Database General
Design and Architecture
Visual Basic .NET
Bugs and Problems
Training & Certification
Oracle
Embedded Development
Visual C++
Forums Feedback
Web Development
SQL
Enterprise Development
Visual Studio 11
Site Feedback & Suggestions
Advertising, Marketing, SEO
SQL Server
Games, DirectX, and XNA
Visual Studio 2010
Site Spams
Android
Products
GDI+ and DirectX
Web Services
Miscellaneous
Cloud Computing
Office 2013
General
Windows Forms
.NET Books
Expression Tools
Products
LINQ
Windows Services
Ask the Author
HTML 5
SharePoint 2013
Migrating to .NET
Cutting-Edge
Career Advice
HTML, JavaScript, CSS
Windows 8
Mobile Development
.NET 5.0
Coffee, Chai Lounge
iPhone, iPad
Forum guidelines
Home
»
WCF
»
Issue regarding running WCF server and client
Author
Question
tri_inn
Issue regarding running WCF server and client
Posted on: 14 Dec 2012
i am very new in WCF and still learning the sugar of WCF. i never develop any WCF apps for production environment. for a long time i was searching a good article with source code for Screen sharing apps and at last i found it with sample code.
Mr bob cravens develop a small application for screen sharing between two pc which is fully WCF saved apps. i go through their code and understand few things and still few things i mean few flow is not clear to me. i need to run this apps at my end just to clear the whole thing like how server & client communicate and send screen shot in each other.
when i tried to run this wcf server from the sample code then i found it is running but the problem lies at wcf client end. when i try to run wcf client end then i am getting error.
the error is : - HTTP could not register URL [http://mypcip:myport/Rlc/Viewer/][1]. Your process does not have access rights to this namespace (see).
this error occur when this line execute at wcf client side and lines are
Uri baseAddress = new Uri("http://mypcip:myport/Rlc/Viewer");
_viewerService = new ServiceHost(typeof(ViewerService), baseAddress);
_viewerService.Open();
when service host try to open and this line execute then error occur.
_viewerService.Open();
i try to change the port also from 1003 to 8080 but got same error. i post the problem in that site from where i got this code but got no answer and also found lot other people also post the same kind of problem and got no answer.
so here is the source code link bobcravens.com/files/RemoteDesktop.zip
from where any one can download the source code and try to run this apps at their end and can tell me what is wrong in this code which causes error when i try to run this sample code wcf client in my pc. i tried lot to understand why client is giving error but could not understand.
so it my request that please anyone download the source code and just run the server first and then run the client editing ip address in code and definitely encounter error. tell me what i need to change in this code as a result i can run this apps perfectly in my pc. to go through the source code with debug mode is very important job for me but i am not being able to run this apps at all. so please help me becoz i am in problem. thanks
Reply
Quick Reply
Report a Spam
Our Recommended Solutions
Chat Server with Client Implemented with C#
Interoperability between WCF and Oracle Application Server
MSMQ in WCF (Two Way Communication Between Client And Server): Part II
Linking the Issues in JIRA Tool in Testing
Issue While Returning DataTable Through WCF Service
Installation of XAMPP Server to run PHP program
Silverlight Interaction with php in VB.NET
WCF and SilverLight With Cross Domain Isssue
File Uplalod From Silver Light Application to Server Location Using WCF
Adding and Removing a Label in an Issue in JIRA Tool in Testing
[ + ]
Quick Reply:
SEARCH ANSWERS
All
C# Programming
Cutting-Edge
Site and Forums Feedback
Miscellaneous
Web Development
Database
Products
Any Word
Exact Word
Our recommended forum posts
Connecting Visual Studio 2010 with Sql server 2012
how to connect to sql server express in windows phone
post on facebook using asp.net c#
create a excel worksheet in asp.net
Sql server-2008
PL/SQL numeric or value error in C#
how to avoid transaction deadlock occur due to stored proc.?
Problem in Time comparison
Field names and values not matching please help
Problem conection to server .mdb database in windows service
HOT QUESTIONS
Import/Export Generic List Objects
javascript for submit form without using submit button
Create List accessible for other classes
Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)
Extracting Data from a listbox in Another Application
mathematical euation
code is not working
how can i locate a webbrowser control
Congratulation Vinod Kumar
If company is giving wrong feedback about Emp then what should we have to do ?
SPONSORED BY
DynamicPDF ReportWriter Suite
PDF reports have never been easier to create. With our included WYSIWYG Designer, you can layout your reports, set up your data source and let DynamicPDF ReportWriter do the rest.