Android
Active member
- Joined
- Mar 6, 2007
- Messages
- 35
- Programming Experience
- 1-3
I have written a program that uses sockets. It works fine when I run it on my own computer but when I try to use it on another computer an error shows that mentions SocketPermissions. I sent the project into college to try it here and it works fine here as well.
I looked up SocketPermissions and added a permission then called the Demand() function but this didn't work.
I'm at college at the minute so I don't have a screenshot of the error but the computer that it doesn't work on doesn't have Visual Studio installed, only the .Net framework.
Although my profile says .Net 2 I'm using VS 2003 for this project.
Another project that I am making in 2005 has a similar error when I use it at college, they don't have VS2005 but .Net 2 is installed. The error attached but it is about FileIOPermissions not SocketPermissions.
Can anyone help?
Thanks
I looked up SocketPermissions and added a permission then called the Demand() function but this didn't work.
I'm at college at the minute so I don't have a screenshot of the error but the computer that it doesn't work on doesn't have Visual Studio installed, only the .Net framework.
Although my profile says .Net 2 I'm using VS 2003 for this project.
Another project that I am making in 2005 has a similar error when I use it at college, they don't have VS2005 but .Net 2 is installed. The error attached but it is about FileIOPermissions not SocketPermissions.
Can anyone help?
Thanks
Attachments
Last edited: