G
Guest
Dear Al
I’d be grateful for any suggestions as to how I might solve some nasty problems I’m having with no-touch deployment (NTD) of WinForms applications.
The problems are on two more-or-less identical production Windows Server 2003 machines that have recently undergone lots of changes – mainly centred around the installation of Macromedia’s JRun 4 and ColdFusion MX products to support a third-party application my organisation has bought
The first problem is that following these changes, my WinForms apps that have previously worked fine using NTD now cause a File Download dialogue box to appear on the client PC rather than the application main form. To get the application to appear users have to pretend to save the EXE (by clicking on Save then clicking on Cancel when the Save As dialogue appears) after which calling the URL again results in the application main form being displayed - but only for that session. (On a test server that has not been subjected to all the changes the application behaves as expected with NTD.
The second problem is that I now want to deploy an application that uses a custom DLL. This application works fine on a test server, but when I move it to one of the production machines with an identical setup as far as the virtual directory is concerned the .NET Framework throws a System.IO.FileNotFoundException, saying that “File or assembly name MyCustomDLL, or one of its dependencies, was not found.â€
It would seem that the configuration changes to the production servers are the cause of the problems, but I'm at a loss as to how I might track down the specific change. I’ve tried uninstalling and reinstalling ASP.NET with aspnet_regiis but still no joy. My next thought was to uninstall and reinstall the .NET Framework, but of course it’s built-in to WS 2003 and the only way to repair seems to be an in-place upgrade which I don’t want to have to do on production servers. I’m pulling my hair out on this one so all suggestions as to what further investigations I might conduct gratefully received
Thanks very much - Graham
I’d be grateful for any suggestions as to how I might solve some nasty problems I’m having with no-touch deployment (NTD) of WinForms applications.
The problems are on two more-or-less identical production Windows Server 2003 machines that have recently undergone lots of changes – mainly centred around the installation of Macromedia’s JRun 4 and ColdFusion MX products to support a third-party application my organisation has bought
The first problem is that following these changes, my WinForms apps that have previously worked fine using NTD now cause a File Download dialogue box to appear on the client PC rather than the application main form. To get the application to appear users have to pretend to save the EXE (by clicking on Save then clicking on Cancel when the Save As dialogue appears) after which calling the URL again results in the application main form being displayed - but only for that session. (On a test server that has not been subjected to all the changes the application behaves as expected with NTD.
The second problem is that I now want to deploy an application that uses a custom DLL. This application works fine on a test server, but when I move it to one of the production machines with an identical setup as far as the virtual directory is concerned the .NET Framework throws a System.IO.FileNotFoundException, saying that “File or assembly name MyCustomDLL, or one of its dependencies, was not found.â€
It would seem that the configuration changes to the production servers are the cause of the problems, but I'm at a loss as to how I might track down the specific change. I’ve tried uninstalling and reinstalling ASP.NET with aspnet_regiis but still no joy. My next thought was to uninstall and reinstall the .NET Framework, but of course it’s built-in to WS 2003 and the only way to repair seems to be an in-place upgrade which I don’t want to have to do on production servers. I’m pulling my hair out on this one so all suggestions as to what further investigations I might conduct gratefully received
Thanks very much - Graham