Application Fail

  • Thread starter Thread starter Mario Reiley
  • Start date Start date
M

Mario Reiley

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
 
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
 
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 said:
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



--
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]
 
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
 
In a VB.NET Project after creating Windows Form
when i put any control on the Form and running the Application
it Dispalying an Error message "Overflow Underflow " and aplication
is switching into break/debug mode.
 
Back
Top