rufus Posted July 31, 2003 Posted July 31, 2003 I created a simple windows application and try to run the it and it says the following error at the IntialiazeComponect() in the WindowsRegionCode. An unhandled exception of type 'System.Security.SecurityException' occurred in windowsapplication1.exe Additional information: Request failed. can any help me. Quote Rufus
Leaders dynamic_sysop Posted July 31, 2003 Leaders Posted July 31, 2003 IntialiazeComponect() is that a typo? ^^^ or does it actually say this : IntialiazeComponent() '/// char next to last was a c but should be an n. Quote
Administrators PlausiblyDamp Posted July 31, 2003 Administrators Posted July 31, 2003 Are you running the application locally or from a network? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
rufus Posted July 31, 2003 Author Posted July 31, 2003 The error is in the public sub New() InitializeComponent() Iam running the appilcaion on network.Our university has a shared network for the all the students. but the it was working fine before. Today its giving the problem. Quote Rufus
Administrators PlausiblyDamp Posted July 31, 2003 Administrators Posted July 31, 2003 .Net has restrictive permissions for non-local applications - that is probably causing the problem. You will need to look at the "microsoft .Net Framework configuration" tool (Start->Programs->administrative tools) and set the server to be part of the trusted zone. Or run the application locally. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
hcorrea Posted August 1, 2003 Posted August 1, 2003 As PlausiblyDamp mentioned, the problem is most likely due to .NET's security policies. Take a look at the following article to see some of the things that you might need to configure as far as the security policies: http://www.code-magazine.com/article.aspx?quickid=0307061&page=4 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.