• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 361
  • Last Modified:

Access Permissions reading Sockets from a C# application

I've written a threaded GPRS receiver in C# (at the moment as a Windows Forms application, for debugging purposes).

When I run it on the server (Windows Vista), through either VS or just running the .exe, I get the error:

"An attempt was made to access a socket in a way forbidden by its access permissions".

The application is residing in C:\Program files\GPRSReceiver\
I've tried right clicking and tried "Running as Administrator"

Any ideas what else do I need to do?

Cheers
0
Spike_66
Asked:
Spike_66
  • 3
  • 2
1 Solution
 
Ivo StoykovCommented:
move it to your profile or another disk. C: has lots of restrictions

HTH

Ivo Stoykov
0
 
Spike_66Author Commented:
Thanks for that- but moving it to suggested locations hasn't helped.

0
 
Spike_66Author Commented:
I've just found out that there is a web site running on the server.
The server is accessed via IP addrress rather than Domain name.

I'm assuming that there is going to be a conflict between the web site and thie GPRS monitor both listening on port 80. Am I right?

Cheers
0
 
Ivo StoykovCommented:
perhaps. principle is one service - one port
0
 
Spike_66Author Commented:
I have tested with other ports on this server, and although they aren't receiving anything, there wasn't any permissions error.

Thanks anyway.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now