473,624 Members | 2,269 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Running Dotnet Win App From a Mapped Drive

Hello,

I have recently developed a windows application using VS.Net 2005 &
Devexpress Commponents.

When I try to run application on the client using a mapped drive on my SBS
Server 2003, app is not working, if I run it locally, it runs normal.

It s related to some permission issues I think,

What should I check for this problem ?

Another question is, Which one is better, to install my application on a
mapped drive, or to install it all the clients.. ?

Thanks.
Sep 30 '07 #1
1 1338
It s related to some permission issues I think,
>
What should I check for this problem ?
"caspol" will allow you to assign trust to the share [but see later];
alternatively, MMC has a snap-in [which sometimes works ;-p]
Another question is, Which one is better, to install my application on a
mapped drive, or to install it all the clients.. ?
If you are using 2.0 or later, then perhaps the best option is "click
once"; this allows you to use a code-signing certificate to
authenticate the code (thus getting past the security step), and
offers simple but powerful deployment options; you can host the app on
a range of sources (http, unc, ftp, etc), and when each client first
accesses the app it downloads it to a special store on the local
machine (after seeking the user's permission, hence "click once").
After this, you can configure it to automatically download updates
when you re-deploy to the server. Even better; because it doesn't do
anything to the overall machine state (i.e. no registry, COM or GAC)
even non-admins on locked-down machines can install (if that is still
a valid term) the app. Very easy to do in VS2005 via the Publish tab
(project properties).

Marc

Sep 30 '07 #2

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

Similar topics

1
2133
by: MC | last post by:
Hi all, I've read the various posts concerning file access on mapped drives--I think problem is different: The problem: Open a VB Winforms project from a mapped drive and all files open fine except form files. Their code opens fine but trying to open them in the form designer I get (for instance) "The item 'MainForm.vb' does not exist in the project directory. It
2
5790
by: giloosh99 | last post by:
Hello, Im grabbing tables via VB code using visual foxpro ODBC drives. The tables directory is in a mapped network drive. The code works fine and does the job, however if the computer is idle for a while the network drive apears to have a red X on the icon and the drive becomes disconnected. this seems to effect the VB code from grabbing the tables. I get an error saying the specific table cannot be found. If i manually open the mapped...
1
2064
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
0
910
by: Jeff B. Jr | last post by:
Hi, I have created a service that is used to run scheduled events. In oreder to do this, it needs to be able to access mapped drives. When it completes, it sends out an e-mail with the success status. I've encountered problems with mapped drives on both XP and Win2k machines, when the user is not logged on. Even though the service logs in with administrative rights, it doesn't see the mapped drives of the user. The solution I came up...
2
1978
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.
5
1570
by: Marc | last post by:
I am trying to run a web service that has pre-compiled dll's that reference dll's that are on a mapped drive. The web service can not load because it does not see that mapped drive and returns an error of "Can not file specified module". Mapped drive is added to path. Thanks, Marc
6
2118
by: Mat N | last post by:
Hello access friends, (Originally posted on access.formsprogramming which I think was the wrong place) I'm precalculating a bunch of data for my clients as per a profile I have for each of them. Each data set that I generate, I put into an separate Access file which I eventually move to a server location that the particular client and I share access to.
0
1255
by: Manu | last post by:
Hi, To enumerate the Mapped drive in Windows 2000 box, I am using the "Win32_NetworkConnection". I can see the instance of the Mapped drive in local system, when I try to do the same with remote box its not showing any instance of Mapped drive, even though the remote box having the Mapped drive, I am using WMI CIM studio for checking this. Can any one help me out why remotely it is not showing the instances of ...
2
3519
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
8170
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
8675
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
8474
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
7158
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
6108
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
5561
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
4078
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
4173
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1482
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.