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 / .NET SDK / December 2004

Tip: Looking for answers? Try searching our database.

Application Fail

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mario Reiley - 27 Dec 2004 21:24 GMT
If I put my .exe file on my Local Network (in a Folder of course) and try to
run from my Pc which would be the causes ? such application don't Run.

I make the Wrap a COM component for Export data to MS-Excel:

Interop.Excel.dll
Interop.VBIDE.dll

Note: Only Run in my local PC

Best Regard
Mario
Chris, Master of All Things Insignificant - 27 Dec 2004 21:52 GMT
What error are you getting?

Check the sercurity settings.  If you use the default settings for the .Net
framework you will not be able to run an exe from a local Network drive.
You will have give the app permissions in the Microsoft .NET Framework 1.1
Wizards/Conifgurations.

Chris

> If I put my .exe file on my Local Network (in a Folder of course) and try
> to
[quoted text clipped - 9 lines]
> Best Regard
> Mario
Richard Blewett [DevelopMentor] - 28 Dec 2004 00:11 GMT
Hmmm, this is slightly misleading - you won't be able to run an application that *does certain things* like interop. You can run an app - even from teh Internet - see

http://www.sellsbrothers.com/wahoo/wahoo.exe

as an example.

To run code from the intranet as you atre trying to do you will have to grant the code permissions to execute unmanaged code. Assuming you do a bunch of other things too you may find it easiest to grant fulltruct to that component or site. You can do this via the tool i the previous post by creating a new code group under Local Intranet that has a membership condition that identifies the assembly in question (URL, Site or Strong Name) would work fine and grants the FullTrust Permission Set as a result

Regards

Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk

  What error are you getting?

Check the sercurity settings. If you use the default settings for the .Net
framework you will not be able to run an exe from a local Network drive.
You will have give the app permissions in the Microsoft .NET Framework 1.1
Wizards/Conifgurations.

Chris


"Mario Reiley" <mreiley@cantv.net> wrote in message
news:usD$3pF7EHA.1408@TK2MSFTNGP10.phx.gbl...
> If I put my .exe file on my Local Network (in a Folder of course) and try
> to
[quoted text clipped - 9 lines]
> Best Regard
> Mario




--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.5 - Release Date: 26/12/2004


[microsoft.public.dotnet.languages.csharp]
Cor Ligthert - 28 Dec 2004 09:48 GMT
Mario,

In addition to Chriss, the first thing that is important, is that you need
forever the right framework on the processing computer to run a dotNet
windows program (not a webform)..

I hope this helps?

Cor

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.