473,799 Members | 2,772 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can't run my app from a network drive.

Problem:
I created a simple application and when I compile it and run it on my
local drive it runs just fine. But if I copy it to a network drive, and
I try to run it I get an error.Code 0xe0434f4d. Can anyone explain this?
Oh and if I publish it, and run the setup.exe it will work just fine
anywhere, it only happens when I try to run it alone @ a network drive
from my local computer.

Solution:

William Cruz

*** Sent via Developersdex http://www.developersdex.com ***
May 10 '07 #1
5 3484
William,

Running from a network drive needs extra security settings,

Cor

"William Cruz" <wc*****@msn.co mschreef in bericht
news:uU******** *****@TK2MSFTNG P04.phx.gbl...
Problem:
I created a simple application and when I compile it and run it on my
local drive it runs just fine. But if I copy it to a network drive, and
I try to run it I get an error.Code 0xe0434f4d. Can anyone explain this?
Oh and if I publish it, and run the setup.exe it will work just fine
anywhere, it only happens when I try to run it alone @ a network drive
from my local computer.

Solution:

William Cruz

*** Sent via Developersdex http://www.developersdex.com ***

May 10 '07 #2
Hi

How can I do that?
I have that situation too... I must run my app from a network drive, so
other machines in the company can run it.
Thanks
"Cor Ligthert [MVP]" <no************ @planet.nlescre veu na mensagem
news:OA******** *****@TK2MSFTNG P02.phx.gbl...
William,

Running from a network drive needs extra security settings,

Cor

"William Cruz" <wc*****@msn.co mschreef in bericht
news:uU******** *****@TK2MSFTNG P04.phx.gbl...
>Problem:
I created a simple application and when I compile it and run it on my
local drive it runs just fine. But if I copy it to a network drive, and
I try to run it I get an error.Code 0xe0434f4d. Can anyone explain this?
Oh and if I publish it, and run the setup.exe it will work just fine
anywhere, it only happens when I try to run it alone @ a network drive
from my local computer.

Solution:

William Cruz

*** Sent via Developersdex http://www.developersdex.com ***


Jul 18 '07 #3
Use mscorcfg.msc tool to configure applications

You have to do that on each machine.

"Anderson" <bl*@bla.comwro te in message
news:e4******** *****@TK2MSFTNG P02.phx.gbl...
Hi

How can I do that?
I have that situation too... I must run my app from a network drive, so
other machines in the company can run it.
Thanks
"Cor Ligthert [MVP]" <no************ @planet.nlescre veu na mensagem
news:OA******** *****@TK2MSFTNG P02.phx.gbl...
>William,

Running from a network drive needs extra security settings,

Cor

"William Cruz" <wc*****@msn.co mschreef in bericht
news:uU******* ******@TK2MSFTN GP04.phx.gbl...
>>Problem:
I created a simple application and when I compile it and run it on my
local drive it runs just fine. But if I copy it to a network drive, and
I try to run it I get an error.Code 0xe0434f4d. Can anyone explain this?
Oh and if I publish it, and run the setup.exe it will work just fine
anywhere, it only happens when I try to run it alone @ a network drive
from my local computer.

Solution:

William Cruz

*** Sent via Developersdex http://www.developersdex.com ***



Jul 18 '07 #4
Probably for you easier would be to use caspol.exe tool - see msdn help for
description how you can add code to specific code group.
"AlexS" <sa***********@ SPAMrogers.comP LEASEwrote in message
news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
Use mscorcfg.msc tool to configure applications

You have to do that on each machine.

"Anderson" <bl*@bla.comwro te in message
news:e4******** *****@TK2MSFTNG P02.phx.gbl...
>Hi

How can I do that?
I have that situation too... I must run my app from a network drive,
so other machines in the company can run it.
Thanks
"Cor Ligthert [MVP]" <no************ @planet.nlescre veu na mensagem
news:OA******* ******@TK2MSFTN GP02.phx.gbl...
>>William,

Running from a network drive needs extra security settings,

Cor

"William Cruz" <wc*****@msn.co mschreef in bericht
news:uU****** *******@TK2MSFT NGP04.phx.gbl.. .
Problem:
I created a simple application and when I compile it and run it on my
local drive it runs just fine. But if I copy it to a network drive, and
I try to run it I get an error.Code 0xe0434f4d. Can anyone explain
this?
Oh and if I publish it, and run the setup.exe it will work just fine
anywhere, it only happens when I try to run it alone @ a network drive
from my local computer.

Solution:

William Cruz

*** Sent via Developersdex http://www.developersdex.com ***




Jul 18 '07 #5
On Jul 18, 9:16 am, "Anderson" <b...@bla.comwr ote:
Hi

How can I do that?
I have that situation too... I must run my app from a network drive, so
other machines in the company can run it.

Thanks

"Cor Ligthert [MVP]" <notmyfirstn... @planet.nlescre veu na mensagemnews:OA *************@T K2MSFTNGP02.phx .gbl...
William,
Running from a network drive needs extra security settings,
Cor
"William Cruz" <wcru...@msn.co mschreef in bericht
news:uU******** *****@TK2MSFTNG P04.phx.gbl...
Problem:
I created a simple application and when I compile it and run it on my
local drive it runs just fine. But if I copy it to a network drive, and
I try to run it I get an error.Code 0xe0434f4d. Can anyone explain this?
Oh and if I publish it, and run the setup.exe it will work just fine
anywhere, it only happens when I try to run it alone @ a network drive
from my local computer.
Solution:
William Cruz
*** Sent via Developersdexht tp://www.developersd ex.com***

http://groups.google.com/group/micro...b0707902db8246

Though I highly recommend you publish a click-once launcher to the
network which will install your application and any other requirements
(like the framework or Sql Server Express). ClickOnce also makes it
much easier to do updates than XCopy deployement (imo).

Thanks,

Seth Rowe

Jul 19 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3657
by: Robert Tarantino | last post by:
Hello, I am trying to find a way to create a scheduled task or service that will copy my local profile folders under "Documents and settings" to a network drive. This would allow me to restore my settings if my profile became tampered with or corrupt. Is there any sample code available out there? -Robert
6
9744
by: moonriver | last post by:
I write a program accessing files in network drive o:. It is doable as a standalone application. However, if it is running under windows service, the following exception will appear: 13/07/2004 10:24:48 AM run() error: System.IO.IOException: The specified network password is not correct. at System.IO.__Error.WinIOError(Int32 errorCode, String str) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare...
2
3234
by: Jim Richards | last post by:
I have been told by a local PC club technician that 98SE cannot read NTFS drives in a network. Is this true? TIA, Jim.
5
3662
by: Mike McIntyre [MVP] | last post by:
I am working on an issue where and ASP.NET web application on one computer (A) needs to access files on a network mapped drive (B). This application uses as DSN on (A) that maps a proprietory ODBC driver to data on a (B). The DSN directory path points to mapped network drive mounted on (A). When the ASP.NET application reaches the point where the ODBC drive is called to fill a DataSet it throws the following exeption:
14
2327
by: frostalicious | last post by:
Used VB.NET (on my client PC) to convert VB6 executable to .NET executable. Placed the .exe file on a network drive on my server. From client, ran .NET Wizards "Trust an Assembly" to make the .exe (on the network drive, on the server) "Full Trust." From the client, double-click on the ..exe (on the network drive, on the server) and it runs fine. So far, so good, but... On the server, where I've installed not VB.NET but .NET
2
4751
by: createdbyx | last post by:
I am trying to make a file sync utillity to sync files between my laptop and my desktop pc. On my desktop machine (xp pro sp2) I have shared my "Visual Studio Projects" folder using windows simple file sharing. And have specified the "Allow network users to change my files." option as well. Then on my laptop (xp home sp2) I have mapped a network drive using windows explorer. So on my laptop I have a Y: drive that points to the "Visual...
2
1985
by: Mike | last post by:
Can a vb program running as a serice not use network paths to do file/io? I can't seem to get my program to work with network paths and files. When I use local disk it works fine. When I run it as a none service program it works fine. I'm assuming that vb programs running as a service do not support network paths. Is that true? Thanks in advance.
3
2699
by: Barry Flynn | last post by:
Hi I am working with a VB 2005 program which has been converted from VB6. It writes data out to a flat file, with code like the following line WriteLine(riFileNo, "Hist", lsAssetID, lsRecordType, lsXNbr, lsFiscYr, "Beg", CStr(H.BegBalAccDepn), CStr(H.BegBalCost), CStr(H.BegBalCostReval), CStr(H.BegBalDepCost), CStr(H.BegBalDepnReval)) The program is running from within a Virtual PC
2
3533
by: =?Utf-8?B?SGF6ZWxyYWg=?= | last post by:
I posted this question on a different website but I didn't get a response that worked. If I run this code from my computers hard drive, C:\, it detects the networked mapped drive, J:\, just fine: Private Function FolderExists() As Boolean Return My.Computer.FileSystem.DirectoryExists("J:\Template_Alpha\") End Function ' Outputs: True
0
9689
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
10495
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
10248
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
10032
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
6811
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5469
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...
0
5597
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2942
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.