By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,649 Members | 1,808 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,649 IT Pros & Developers. It's quick & easy.

Application Fail

P: n/a
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


Jul 21 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
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" <mr*****@cantv.net> wrote in message
news:us**************@TK2MSFTNGP10.phx.gbl...
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

Jul 21 '05 #2

P: n/a
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" <mr*****@cantv.net> wrote in message
news:us**************@TK2MSFTNGP10.phx.gbl...
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]
Jul 21 '05 #3

P: n/a
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
Jul 21 '05 #4

P: n/a
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.
Jul 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.