473,785 Members | 2,607 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Deployment Issue

Ken
First time user of .NET. I've created a simple Email application. Created the Install project and made the setup files. I've tested on two computers and it works fine when I install to the local hard drive. Problem occurs when I install to a folder on another server or PC workstation (Win2000 servers; all PC's XP Pro). When I dbl-click the app locally it runs just fine. When I do the samething to a remote folder with the same files I get an Error: Application has generated an exception that could not be handled. Anyone... hints where do I go for more assistance
Nov 22 '05 #1
4 1822
Sounds like a permissions issue. You probably need to set your machine to
allow .net programs on remote servers to alter your file system.

"Ken" <kk***@ringlera ssociates.com> wrote in message
news:7F******** *************** ***********@mic rosoft.com...
First time user of .NET. I've created a simple Email application.

Created the Install project and made the setup files. I've tested on two
computers and it works fine when I install to the local hard drive. Problem
occurs when I install to a folder on another server or PC workstation
(Win2000 servers; all PC's XP Pro). When I dbl-click the app locally it
runs just fine. When I do the samething to a remote folder with the same
files I get an Error: Application has generated an exception that could not
be handled. Anyone... hints where do I go for more assistance
Nov 22 '05 #2
Sounds like a permissions issue. You probably need to set your machine to
allow .net programs on remote servers to alter your file system.

"Ken" <kk***@ringlera ssociates.com> wrote in message
news:7F******** *************** ***********@mic rosoft.com...
First time user of .NET. I've created a simple Email application.

Created the Install project and made the setup files. I've tested on two
computers and it works fine when I install to the local hard drive. Problem
occurs when I install to a folder on another server or PC workstation
(Win2000 servers; all PC's XP Pro). When I dbl-click the app locally it
runs just fine. When I do the samething to a remote folder with the same
files I get an Error: Application has generated an exception that could not
be handled. Anyone... hints where do I go for more assistance
Nov 22 '05 #3
Hi,

Thanks for your post. As I understand, the problem you are facing is that
your .NET application fails to run when you put the executable file on a
shared network folder, while it works properly on local folder. Please
correct me if there is any misunderstandin g. I agree with Marina that the
problem may be caused by the security policy affecting to the file share. I
suggest you to give the file share FullTrust permission as described in the
MSDN article below and check whether or the problem still exists.

http://msdn.microsoft.com/library/de...us/vsintro7/ht
ml/vxurfprojectfol dernotsecuredia logbox.asp

I look forward to your result.

Have a nice day! :-)

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 22 '05 #4
Hi,

Thanks for your post. As I understand, the problem you are facing is that
your .NET application fails to run when you put the executable file on a
shared network folder, while it works properly on local folder. Please
correct me if there is any misunderstandin g. I agree with Marina that the
problem may be caused by the security policy affecting to the file share. I
suggest you to give the file share FullTrust permission as described in the
MSDN article below and check whether or the problem still exists.

http://msdn.microsoft.com/library/de...us/vsintro7/ht
ml/vxurfprojectfol dernotsecuredia logbox.asp

I look forward to your result.

Have a nice day! :-)

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 22 '05 #5

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

Similar topics

5
4929
by: Arun Bhalla | last post by:
I'm working with VS.NET 2003 and .NET 1.1 (not SP1) on Windows XP SP1. My application is using the Windows Installer Bootstrap. (I may have also installed a module which detects requirements (.NET 1.1 -> MsiNetAssembly Support.) I have a few issues and questions regarding the MSI and its properties. * This may be my biggest annoyance at the moment. When the installer creates the target directory, it's setting them as read-only. When the...
1
1662
by: Sunny | last post by:
Hi I have a Database Application that i am trying to install on the Clients machine, the application uses three custom Ms access Databases. Those database i added in the correct folder in the SETUP Project of my application However, perhaps due to the size of the Databases (appx 500 mb), or some other reason when i try to build the SETUP project, it fails, right in the start giving an ERROR, not enough DISK SPACE to complete this operation. I...
1
2715
by: Steve | last post by:
I am having an issue deploying an ActiveX control. This is a .NET project in C#. The ActiveX control is written in VB6. I use the PDW (Package and Deployment Wizard) to create a .CAB for the control. The problem is that sometimes the ActiveX control installs successfully and sometimes it doesn't. We have various test machines running different operating systems. On one machine, running Windows 2000, SP4, the control installs...
2
4565
by: Mark | last post by:
Hi, I've been having problems with the validation controls not working on my deployment server. Initially it was a security issue with the anonymous account not having permissions to access /aspnet_client/system_web/1_1_4322/WebUIValidation.js but I think I've now fixed this. What is happening now is I'm not getting a security issue but the validation is not occuring, the page submits without validation. When
5
1275
by: DEWright_CA | last post by:
I have a app that I built for a client. I was able to deploy it to a test server without any real issue. I copied the bin folder to my server, copied over the aspx pages and made the virtual directory under IIS/5 executable. Everything worked great! Now I am trying to deploy the same app on a Windows 2003 server using the same methodology and I can't get it to function. I followed the same steps above and the basic pages load fine, but...
1
1514
by: Marty Cruise | last post by:
My application is run within an intranet environment and is installed on client machines. Each time the application is executed, it checks to see if a newer version is availble. If there is, it launches a new process and starts the installation while shutting down the original process. I'm running into some issues, however 1) A duplicate shortcut is being created on the desktop. That is, when the older version of the app is removed, its...
3
1380
by: Jeff G | last post by:
When I build the deployment project for an application everything works. However, the two files instmsia.exe and instmsiw.exe do not appear with the setup files. I may be installing this on machines that will require them. Can someone please let me know how to rectify this. thanks in advance.
1
2782
by: moondaddy | last post by:
I need to have multiple deployment profiles for a .net 2.0 winforms project. This is my requirement: 1) Re-use same project for multiple ClickOnce deployment profiles. 2) Each profile will have it's own custom deployment properties such as Publish Version Number, Start Menu and application Name in start menu. For example, in the past (before ClickOnce deployment) I had to build Setup.exe files and distribute them to various...
0
5205
by: blkwebman | last post by:
I'm trying to create a "standalone" install package (without any of the dialog boxes that a standard setup package would have). I think I understand how to do it in VB6 (using PDCmdLn.exe); I have already researched this subject in the MSDN for VB6. Here is the problem: I'm trying to execute a batch file containing this command and I'm running into a couple of errors. Here is the contents of the batch file: ...
6
4069
by: andrewbb | last post by:
I want to deploy a service with a windows app and the setup program must conform to the Vista certification requirements. Can that be done with the standard .net setup project? Assuming cost is an issue, what else is available?
0
9481
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
10341
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
10095
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
9954
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
6741
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
5513
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4054
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
3656
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2881
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.