473,804 Members | 3,548 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.d ll
Interop.VBIDE.d ll

Note: Only Run in my local PC

Best Regard
Mario


Jul 21 '05 #1
4 1522
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******** ******@TK2MSFTN GP10.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.d ll
Interop.VBIDE.d ll

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******** ******@TK2MSFTN GP10.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.d ll
Interop.VBIDE.d ll

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.publi c.dotnet.langua ges.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
6370
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 it is. I'm writing an application with a Tkinter GUI (Python 2.4, Tcl/Tk 8.4.) and I want to put a custom icon on the main window. I've followed (so far as I understand it) the recipe in the eff-bot's splendid Introduction to Tkinter - see:...
4
2230
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 server must support the following: - 600+ users using various ASP.Net based applications, only 2 currently but growing over time as old legacy apps are converted; - Some applications are mission critical, others not so much; - DB back-end is a...
3
11818
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 having installed MS .NET Framework 2.0 Beta 2 on it, from http://www.microsoft.com/downloads/details.aspx?FamilyId=7ABD8C8F-287E-4C7E-9A4A-A4ECFF40FC8E&displaylang=en), but got the following message:
9
2456
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 at http://www.lamartin.com/dotnet/sessiontestset.aspx, were I set Session, Application and Cache variables on the first page and then on the second page view them as the second page is refreshed every five seconds. Before 10 refreshes, the...
3
1195
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. This results in users not being able to log in (they receive invalid user/password messages generated by the application). Additionally, because the application validates user entries against the SQL Server database, each transaction a user...
4
4739
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 ? Thanks
5
2025
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 into his workstation', so, the querry or searching can be performed in local pc, If the user want to update the account record, It will connect the sql server (located in data centre) and update the data. Does anyone got some idea on it ??...
4
2177
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 the application to recover without intervention if the problem is a database server is temporarily offline or other external source of data being loaded in the Application_Start event having a problem. I usually set up a SQL Dependency in the...
6
1578
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 suddenly it is indicating failure. I look in the output directory and all the files seem to be there. When I use aspnet_compiler or simply compile the project in VS2005 there are no errors. What is happening? How can I find out what is causing...
1
1499
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 executable's behavior is sporadic, and it will disappear. I think the app is calling a DLL that exists in the current directory, but since the flash drive is gone, it can't find it. so, i wanted to know if i could load the executable with all of...
0
9706
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10571
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10317
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10075
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9143
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7615
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5520
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3815
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2990
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.