Application server for Forms based solution ( not Web Based ) .
-
I have an application written in C# , and I want the users to run it from the server ( windows 2003 ) without having that application installed on each and every machine using it , Just from the server . So the user has to log to the server only to be able to run it this application . is that possible , any Ideas how to do it ? Regards Dean
-
I have an application written in C# , and I want the users to run it from the server ( windows 2003 ) without having that application installed on each and every machine using it , Just from the server . So the user has to log to the server only to be able to run it this application . is that possible , any Ideas how to do it ? Regards Dean
A server will just do this, you can either run it on the server ( using remote desktop ), or have a shortcut to the exe on the server and run it locally.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
A server will just do this, you can either run it on the server ( using remote desktop ), or have a shortcut to the exe on the server and run it locally.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
Yes I know that you have to put it on the desktop as a shortcut from the server and run it locally on each user machine , but the application does not run that way , an exception is thrown , also the more users run the application at the same time the slower it gets . Oracle has a concept of "Application server " like a web server but used for forms based application .
-
Yes I know that you have to put it on the desktop as a shortcut from the server and run it locally on each user machine , but the application does not run that way , an exception is thrown , also the more users run the application at the same time the slower it gets . Oracle has a concept of "Application server " like a web server but used for forms based application .
I have created a similar application. I used the publish feature in VS2005 (not sure if exists in 2003) Look at the publish tab of the project properties. There should be a publish wizard that will allow you to publish the application directly to the server location. This helps get around a lot of the permission level problems. There is also an option to have a running application to check the server for updates. This can create problems if it is linked to your PC and not the server location. I disabled this for my application. This creates a deployment manifest method for launching an application. The end user just has to copy the shortcut created by the publish wizard to their desktop and it will launch a local version of the app from the server. Hope this helps.
-
I have created a similar application. I used the publish feature in VS2005 (not sure if exists in 2003) Look at the publish tab of the project properties. There should be a publish wizard that will allow you to publish the application directly to the server location. This helps get around a lot of the permission level problems. There is also an option to have a running application to check the server for updates. This can create problems if it is linked to your PC and not the server location. I disabled this for my application. This creates a deployment manifest method for launching an application. The end user just has to copy the shortcut created by the publish wizard to their desktop and it will launch a local version of the app from the server. Hope this helps.
MNFlyer wrote:
I used the publish feature in VS2005 (not sure if exists in 2003)
That's a different thing. The Publish feature creates a ClickOnce installer for your application. No matter whether you have an icon on your Start menu or not, the application is installed on the local machine, and everytime you run it (by going to the .application URL or clicking the icon) it checks for updates in the server. But the app is actually installed in the client PC. And no, it's a .NET 2.0 feature so it doesn't exist in VS.NET 2003.
Luis Alonso Ramos Intelectix Chihuahua, Mexico
-
I have an application written in C# , and I want the users to run it from the server ( windows 2003 ) without having that application installed on each and every machine using it , Just from the server . So the user has to log to the server only to be able to run it this application . is that possible , any Ideas how to do it ? Regards Dean
As Christian suggested, installing it on a server and using Remote Desktop to login and run it is an option. If you want more than two users, you'll need to set up Terminal Services on your server (and have some good hardware resources -- a lot of RAM). Running it of the network with a shortcut could also work, but usually it will run with limited security permissions (from the internet zone o intranet zone and not full trust). You're getting an exception because the app is trying to do something that is not allowed.
Luis Alonso Ramos Intelectix Chihuahua, Mexico
-
MNFlyer wrote:
I used the publish feature in VS2005 (not sure if exists in 2003)
That's a different thing. The Publish feature creates a ClickOnce installer for your application. No matter whether you have an icon on your Start menu or not, the application is installed on the local machine, and everytime you run it (by going to the .application URL or clicking the icon) it checks for updates in the server. But the app is actually installed in the client PC. And no, it's a .NET 2.0 feature so it doesn't exist in VS.NET 2003.
Luis Alonso Ramos Intelectix Chihuahua, Mexico
Thanks for the clarification on this Luis, For my deployment I selected "The application is available online only". The app does run on the local PC but doesn't get installed there. If you remove the app on the server then it will not run on the local PC.
-
MNFlyer wrote:
I used the publish feature in VS2005 (not sure if exists in 2003)
That's a different thing. The Publish feature creates a ClickOnce installer for your application. No matter whether you have an icon on your Start menu or not, the application is installed on the local machine, and everytime you run it (by going to the .application URL or clicking the icon) it checks for updates in the server. But the app is actually installed in the client PC. And no, it's a .NET 2.0 feature so it doesn't exist in VS.NET 2003.
Luis Alonso Ramos Intelectix Chihuahua, Mexico
Thanks for the clarification on this Luis, For my deployment I selected "The application is available online only". The app does run on the local PC but doesn't get installed there. If you remove the app on the server then it will not run on the local PC. If you make a change and re-publish then the remote users just close the app and re-open and it will launch the latest version.
-
Thanks for the clarification on this Luis, For my deployment I selected "The application is available online only". The app does run on the local PC but doesn't get installed there. If you remove the app on the server then it will not run on the local PC.
MNFlyer wrote:
For my deployment I selected "The application is available online only". The app does run on the local PC but doesn't get installed there.
Actually the app *is* installed on the local PC, but no icon is created on the start menu. It needs to be downloaded so it can be run. Check in C:\Documents and Settings\youruser\Local Settings\Application Data\Microsoft\Apps\2.0 (the path is something like that in XP -- I have Vista and I couldn't find the path here). I have not verified it, but I believe that if you can somehow get the .application file on your publish server, it will run your application even if you don't have a connection to the server. That's actually the shortcut gets in the Start menu when the app is installed for offline use: an .application file. But theory aside, I think that's a great solution for what you need, since I don't think users will go hunting for you app's EXE to run it. Regards,
Luis Alonso Ramos Intelectix Chihuahua, Mexico