473,387 Members | 3,787 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.

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 3468
William,

Running from a network drive needs extra security settings,

Cor

"William Cruz" <wc*****@msn.comschreef in bericht
news:uU*************@TK2MSFTNGP04.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.nlescreveu na mensagem
news:OA*************@TK2MSFTNGP02.phx.gbl...
William,

Running from a network drive needs extra security settings,

Cor

"William Cruz" <wc*****@msn.comschreef in bericht
news:uU*************@TK2MSFTNGP04.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.comwrote in message
news:e4*************@TK2MSFTNGP02.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.nlescreveu na mensagem
news:OA*************@TK2MSFTNGP02.phx.gbl...
>William,

Running from a network drive needs extra security settings,

Cor

"William Cruz" <wc*****@msn.comschreef in bericht
news:uU*************@TK2MSFTNGP04.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.comPLEASEwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Use mscorcfg.msc tool to configure applications

You have to do that on each machine.

"Anderson" <bl*@bla.comwrote in message
news:e4*************@TK2MSFTNGP02.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.nlescreveu na mensagem
news:OA*************@TK2MSFTNGP02.phx.gbl...
>>William,

Running from a network drive needs extra security settings,

Cor

"William Cruz" <wc*****@msn.comschreef in bericht
news:uU*************@TK2MSFTNGP04.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.comwrote:
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.nlescreveu na mensagemnews:OA*************@TK2MSFTNGP02.phx.gbl. ..
William,
Running from a network drive needs extra security settings,
Cor
"William Cruz" <wcru...@msn.comschreef in bericht
news:uU*************@TK2MSFTNGP04.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 Developersdexhttp://www.developersdex.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
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...
6
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...
2
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
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...
14
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...
2
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...
2
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...
3
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,...
2
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...
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: 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...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.