473,320 Members | 1,746 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,320 software developers and data experts.

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 2524
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.se...
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.se...
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\myapp) and then start the application.
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> skrev
i melding news:uA**************@TK2MSFTNGP15.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.se...
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**************@TK2MSFTNGP15.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\myapp) 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
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...
1
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...
2
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...
1
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...
13
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
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...
4
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...
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...
1
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...
2
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...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.