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
Spike_66Asked:
Who is Participating?
 
Ivo StoykovConnect With a Mentor Commented:
perhaps. principle is one service - one port
0
 
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
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.