Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
| Search | Today's Posts | Mark Forums Read
Pro VB.NET 2002/2003 For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 14th, 2005, 04:20 PM
Registered User
 
Join Date: Dec 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default System.Security.SecurityException: Security error

My students get a System.Security.SecurityException: Security error when they run their VB.NET applications. How do I fix this?


J
 
Old December 15th, 2005, 09:55 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Where are they running them from? Is there more detail to the error you can share?

This error can occur if you try to run a .NET application from a network location.

-Peter
 
Old March 1st, 2006, 06:25 PM
Registered User
 
Join Date: Mar 2006
Location: Orlando, FL, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am having the same problem with a Windows application when attempting to run the program from a server. From what I have found in my searches it states to make changes in the Sub Main using console commands, but I have my application starting directly from a splash screen and I am not useing any console commands.

Anyone have any pointers on how to correct this problem.

 
Old March 2nd, 2006, 03:19 AM
Friend of Wrox
 
Join Date: May 2003
Location: Delhi, Delhi, India.
Posts: 229
Thanks: 0
Thanked 0 Times in 0 Posts
Default

security error because domain is not placed under its own application pool on the IIS
Lack of trust level in the machine.config file on the server.


Charul Shukla
 
Old March 2nd, 2006, 06:00 PM
Registered User
 
Join Date: Mar 2006
Location: Orlando, FL, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Is there something in the installation project I need to add that will cure this, or do I have to do something different in the program.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting System.Security.SecurityException Sunnys ASP.NET 2.0 Professional 0 March 14th, 2007 04:13 AM
System.Security.SecurityException pastoda BOOK: Professional C#, 2nd and 3rd Editions 7 July 31st, 2005 08:49 AM
System.Security.SecurityException davepruce ADO.NET 1 May 10th, 2005 11:20 AM
'System.Security.SecurityException' Jesus VB.NET 2002/2003 Basics 0 November 4th, 2004 02:20 AM
'System.Security.SecurityException' mrinal ADO.NET 3 August 11th, 2004 07:16 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.