|
|
 |
| Microsoft .NET Application Crashes Over Network |
 |
|
Have you just created this really neat Microsoft .NET application created in VB.NET or C# and now you just deployed it to a customer. They install it over the network and all of a sudden, whammo it crashes for no apparent reason? It crashes when you run it over the network using a network share or even a drive mapping and gives you no hint on why.
However, when you run the application locally or on a computer or the one that you developed it on, it works fine.
Granted, you may have something programmed incorrectly like a path to a database or something.
But before pulling your hair out trying to figure out what you did wrong in the programming one thing you may want to check first is the security policy of the .NET framework.
Without the correct permissions, .NET applications may give you a very hard time when running over the network.
|
|
Here is how to check it:
1. Go to "Start" -> "Settings" -> "Control Panel" -> "Administrative Tools"
2. Next Double-Click on ".NET Framework Wizard x.x" where x is the version #
2. A screen like the following will display. From here you want to click on "Adjust .NET Security"
3. A wizard screen will display asking you if you would like to make a change to the computer or user.
From here, you select "Make changes to this computer." and click "Next".
This will bring you to the following screen:
4. From here, you want to click on "Local Intranet" and then move that bar all the way up to "Full Trust".
You can also click on "My Computer" and move the bar all the way up to "Full Trust" as well.
To finialize these changes, click "Next" and then "Finish"!
5. Make sure you change this security setting on the server and all workstations that you plan on using the application.
Now try running your application over the network and see if you still get a strange error.
If you still get this error, you may need to repeat step 3 this time clicking on: "Make changes for the current user only."
Hopefully this fixed the problem!
This type of problem can be found on Windows XP, Windows Vista, Windows 7 or Windows 2003, Windows 2008 Server (32 or 64 bit versions).
|
| |
|
|
| |
| Enter Feedback/Comment for this Article |
|
Home / Website Map /
Bookmark Page
/ Privacy Policy
Article Copyright © 2010 ATK Solutions, Inc. All Rights Reserved
|