473,734 Members | 2,211 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Running .NET from network...

GTi
Maybe is this a old and well known question, but can't my C# .NET
application run from a network share? Running it from a local disk is OK but
not from my F:\ disk (nettwork disk).

Nov 17 '05 #1
4 2540
This is due to security settings on the local machine. You can use CASPOL
to adjust this or use the .NET Framework Wizard for the appropriate
framework version in Control Panels/Administrative tools to adjust security
appropriately. Running from a network share would be in the 'Local
Intranet' zone.
Don't give full trust to anything you don't have to though.

Ron Allen
"GTi" <gt*@gti.com> wrote in message news:42******** @news.wineasy.s e...
Maybe is this a old and well known question, but can't my C# .NET
application run from a network share? Running it from a local disk is OK
but not from my F:\ disk (nettwork disk).

Nov 17 '05 #2
Hi,

Yes you are right :)
This is an old question, you could get several way to solve this from
google :
http://groups-beta.google.com/groups...dotnet.*&hl=en

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"GTi" <gt*@gti.com> wrote in message news:42******** @news.wineasy.s e...
Maybe is this a old and well known question, but can't my C# .NET
application run from a network share? Running it from a local disk is OK
but not from my F:\ disk (nettwork disk).

Nov 17 '05 #3
GTi
Ok then, that was my suspicion too...
But I don't want to run around to all possible computers and change the
security.
So I just create a little application (startup app.) in C/C++ that copies
the file
to local computer (programfiles\m yapp) and then start the application.
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.mach in AT dot.state.fl.us > skrev
i melding news:uA******** ******@TK2MSFTN GP15.phx.gbl...
Hi,

Yes you are right :)
This is an old question, you could get several way to solve this from
google :
http://groups-beta.google.com/groups...dotnet.*&hl=en

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"GTi" <gt*@gti.com> wrote in message news:42******** @news.wineasy.s e...
Maybe is this a old and well known question, but can't my C# .NET
application run from a network share? Running it from a local disk is OK
but not from my F:\ disk (nettwork disk).


Nov 17 '05 #4

"GTi" <bl****@blabla. com> wrote in message
news:ek******** ******@TK2MSFTN GP15.phx.gbl...
Ok then, that was my suspicion too...
But I don't want to run around to all possible computers and change the
security.
So I just create a little application (startup app.) in C/C++ that copies
the file
to local computer (programfiles\m yapp) and then start the application.


No need to run arround, run a single line .bat file from the share that uses
CASPOL to sets the security.

WIlly.
Nov 17 '05 #5

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

Similar topics

1
1966
by: John Finch | last post by:
We are running SQL 7 on a Windows NT Server. If you copy a 25Mb file from this machine to a W2K server, the file copy takes over 5 minutes on a 100Mpbs switched network. Copying the same file to another NT server takes only seconds, and copying the same file to the W2K server from the 2nd NT server, (which is not running SQL) takes only seconds also. Has anyone any ideas as to why file copying between this machine and a W2K one will...
1
1785
by: TomCullen | last post by:
I am trying to connect a new LBM Laptop to an SQL server on the network and I get "test connection failed because of an error in initializing provider, SQL server does not exist or access denied. The laptom has sql server running on it locally and I am trying to connect to an SQL server on the network. Thanks Tom
2
645
by: MF | last post by:
In visual basic 6 I can write an application and toss it up on a shared network drive for the company to access. Works like a champ. In .NET my C# application runs fine on anyones machine, but due to the integrated security model of .NET, bombs out with Security Exceptions when someone tries to run it off the network drive. Sure, I can go to the users PC, and via the control panel,
1
2072
by: Gacu | last post by:
Hi! Have you met any problems with running C# program from network mapped drive? Of course I have .net framework installed on both machines. When I copy program file to local disk it works fine, but from network drive it says: Unhandled exception :( Thanx
13
4590
by: David Lozzi | last post by:
Howdy My following script is not processing at all! <script runat="server"> Sub Page_Load(sender as Object, e as EventArgs) lblWelcome.text = "hello" End Sub </script>
3
1242
by: cj | last post by:
I have a program (soap client that also uses sql server stored procs) that I built and tested on my c: and it works great. It was decided it should be put on the network drive. I copied obj\release\*.* to a folder on the network and the program hung trying to connect with the soap server. I tested on my machine and it works. I copied the whole project directory to the network and intended to run it in debug mode from the network but...
4
4672
by: Jeremy S. | last post by:
We're in the process of writing a new Windows Forms app and the desktop support folks want for it to be run from a network share. I know it's possible (i.e., just have the framework on the clients and a desktop shortcut to the exe out on the network)... but is it really a good idea? What are some arguments for and against running a .NET Windows Forms client from a network share? Here is my initial list... I'd appreciate any additions,...
2
1980
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.
1
1740
by: utpal | last post by:
Hi, My CSharp program, when I run from the local drive it can create/modify registry. However running the program from a network drive, gives RegistryPremission error. I don't belive that just by running the program from a network drive, the program will try to access the registry of the network machine. Here is the code snippet: RegistryKey rk =...
2
1301
by: giddy | last post by:
hi, I've heard its possible!? Is it? : preventing an application from running over a network. Or it would even be great if i could know if someone from a networked computer tried to run my program!?? Thanks Gideon
0
8774
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9447
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...
0
9307
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9181
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
8186
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...
0
6031
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
4809
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3261
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.