Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / September 2007

Tip: Looking for answers? Try searching our database.

System.Security.SecurityException

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RobGMiller - 06 Sep 2007 12:30 GMT
Building a windows exe application using VS2005 - VB.Net

Debug within the VS IDE works and the compiled exe works from the \bin\debug
folder but not from any other location on the same computer.

Apparently, the error is generated when the application tries to open a
file.  

From what I've read so far, an application assembly has to be given the
right to open files in differnet zones?

Unfortunately, the explanation on how to do this is very confusing because
is done differnetly for differnet types of applications.

Can someone claryfy, please.

Signature

RobGMiller

Nimesh - 09 Sep 2007 14:56 GMT
As long as you have the exe in a local folder (ie, not in a folder in a
mapped network drive) your program should not have any problem in running.

please check:
a) If your program is trying to open any file which is referenced relative
to bin\debug in the code.
b) you ave copied the exe.config file along with the exe (if it has one) to
the new folder where you are running it from.

hope this helps,

Cheers,
Nimesh

> Building a windows exe application using VS2005 - VB.Net
>
[quoted text clipped - 11 lines]
>
> Can someone claryfy, please.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.