This is the first program I've developed for this network. Net framework is installed on all of users computers. Here is the first and biggest problem; after much headache I finally got the error to display for why no database connectivity was being done yet the rest of the program worked just fine: the error is:
Request for the permission of type System.Security.Permissions.ReflectionPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a... failed.
Okay, that's above my head. This is the big problem because I need this information to go to the database, if it doesn't, then the program is pointless. I get this error even on every computer except the computer I developed the program on, using the same or differant domain account (which by the way is Domain Admin). I really need help on this one.
Second big problem. I use the API IsNetworkAlive function to determine whether this program should even run based upon whether they are a dial in client or a network client. If I leave this line in and run the program locally on the computer I get an access violation error (bunch of assembly code) and the program crashes, if I run the program as part of a logon batch file it executes and I get the error mentioned above. This isn't as much of a problem because I can leave this functionality out but rather not, the first problem is the one that's going to kill me though!
Thanks in advance,
Brian
Request for the permission of type System.Security.Permissions.ReflectionPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a... failed.
Okay, that's above my head. This is the big problem because I need this information to go to the database, if it doesn't, then the program is pointless. I get this error even on every computer except the computer I developed the program on, using the same or differant domain account (which by the way is Domain Admin). I really need help on this one.
Second big problem. I use the API IsNetworkAlive function to determine whether this program should even run based upon whether they are a dial in client or a network client. If I leave this line in and run the program locally on the computer I get an access violation error (bunch of assembly code) and the program crashes, if I run the program as part of a logon batch file it executes and I get the error mentioned above. This isn't as much of a problem because I can leave this functionality out but rather not, the first problem is the one that's going to kill me though!
Thanks in advance,
Brian