Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics 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 June 30th, 2005, 09:20 AM
Authorized User
 
Join Date: Jan 2005
Location: , , .
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default Security exception

I am running a VB.NET executatble on a pc that does not have VB.NET install on it. I am able to open the executable. However, when I try to run the application. I am getting an error "The operation required the SecurityException."

Can anyone help me with problem? Thanks so much.

 
Old June 30th, 2005, 11:14 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default

When you say that it doesn't have VB.Net installed, do you mean that it doesn't have the .Net framework installed? You have to install this in order to run .Net applications.

If you have it installed, are you by chance running this from a network drive? If that is the case, you will have to set the security policy to allow this.

J
 
Old June 30th, 2005, 11:42 AM
Authorized User
 
Join Date: Jan 2005
Location: , , .
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks. How do I set the security policy so that I can run this from a network?

 
Old June 30th, 2005, 01:29 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default

This should help you out:

http://blogs.msdn.com/shawnfa/archiv.../20/57023.aspx

J




Similar Threads
Thread Thread Starter Forum Replies Last Post
Security Exception.Help needed sithender SharePoint Development 0 July 30th, 2008 10:37 AM
Security Exception aliusmankhan ASP.NET 2.0 Professional 6 July 21st, 2008 11:21 AM
Security Exception Rubie .NET Framework 1.x 0 April 18th, 2006 01:34 PM
Security Exception skyler ASP.NET 1.0 and 1.1 Professional 0 June 24th, 2005 12:47 AM
Security Exception shahchi1 BOOK: ASP.NET Website Programming Problem-Design-Solution 1 April 24th, 2005 07:08 PM





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