473,387 Members | 1,863 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Application Fail

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
4 1487
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Tim Jarman | last post by:
Apologies in advance for the long post - I wanted to be sure I included all the relevant details. The answer is probably very, very simple. I am doing something stupid here, but I don't know what...
4
by: Chris Gatto | last post by:
Hello, My organization is currently considering the purchase of a new intranet application server and we are looking for opinions from those who have been down this road before. In brief the...
3
by: Gustavo L. Fabro | last post by:
Greetings! I'm testing VS 2005 Beta 2, and I've compiled a program that runs just fine on my computer (where VS is installed). I've tried to run this same program on another computer (after...
9
by: William LaMartin | last post by:
I have a problem, mentioned here before, of Session and Application variables disappearing at one site but not at others or on my development computer. The problem is illustrated by an example...
3
by: POL8985 | last post by:
The application is built using ASP.Net in VS.Net 2003 and uses a SQL server database. About three times a day, the ASP.Net application fail to see the database, yet it will throw no errors. ...
4
by: Agnes | last post by:
My colleague can declare the Excel.application, (he added Excel11.0 library into reference) and I am fail, to declare it, I found that when I add the reference Do I need to upgrade my office ?...
5
by: Agnes | last post by:
My client got branch in some small city, their network connection is not stable. He suggest us to change the application" each time user login the system, it will automically d/l the master file...
4
by: =?Utf-8?B?bWFzbWl0aA==?= | last post by:
Can you restart an ASP.NET application in the Application_Start event when an error occurs so the next request for the application will fire the Application_Start event again? This would allow...
6
by: =?Utf-8?B?RWFnbGVSZWRASGlnaEZseWluZ0JpcmRzLmNvbQ== | last post by:
I have an ASP.NET application that I have been deploying by using the publish option on the project which compiles the project into a directory on my machine. It has been working fine and then...
1
by: davidmurray1 | last post by:
I have a C++ app on my flash drive that i am running, but often times, i must take the flash drive out of the computer and use it elsewhere while the executable continues to run. however, the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.