|
-
Jul 17th, 2011, 07:09 AM
#1
Thread Starter
Fanatic Member
WCF: Access rights to namespace
Hello Guys,
I have made an application in vb.net which uses WCF to communicate with another program. The thing is when I try to create a wcf host server and run it then I get the following message (in OS Windows Vista/7).
"HTTP could not register URL http://+:6700/. Your process does not have access rights to this namespace."
When the program is run with administrator rights it works. The thing here is most of my users have admin accounts but they do not run the exe with admin rights (when we right click on a program and select option Run as administrator).
What can I do to solve this ? Either a user runs my program with admin rights all the time or something I can do through code so that the server is registered automatically. Plus can I detect if the program has been started with admin rights or not thru code. I mean I dont want each user to manually do something (e.g. register namespace) in order to solve this.
Will be glad if anyone can help me.
Thanks,
Cheers,
GR
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|