chas805
asked on
Deploying an application, running off the server
Experts
I have encountered a problem when deploying a vs 2005 application onto users machines. I would like to install the app to a server and then have users using a shortcut to this to run the application. Now if I copy the code to the server the application runs fine from the server. However if i then run the application from a shortcut from another machine to the exe on the server the users machine throws up an exception, and does not allow to run.
I have installed the net framework on the machine, and set intranet trusted rights to full. If i then copy all the code over to the users machine and run direct from the users machine it runs fine. So why can I not run off a shortcut.
Prob missing something simple. Any ideas appreciated.
Regards
Chas
I have encountered a problem when deploying a vs 2005 application onto users machines. I would like to install the app to a server and then have users using a shortcut to this to run the application. Now if I copy the code to the server the application runs fine from the server. However if i then run the application from a shortcut from another machine to the exe on the server the users machine throws up an exception, and does not allow to run.
I have installed the net framework on the machine, and set intranet trusted rights to full. If i then copy all the code over to the users machine and run direct from the users machine it runs fine. So why can I not run off a shortcut.
Prob missing something simple. Any ideas appreciated.
Regards
Chas
What exception is it throwing ?
Just guessing. Did you run regasm against each component ?
you have to adjust security on each PC. See https://www.experts-exchange.com/questions/21687469/Simpe-VB-2005-Application-deployed-to-file-Server.html
ASKER
Thanks for your replies guys.
emoreau I went into the dot net 2.0 configuration wizard and added the exe on the server as a trusted application, then ran the app from the client and worked fine. What I wish to do is automate this process, if we roll this software out to new users we do not wish users to have to into the wizard and carry out this task. Is there anyway to automate this task into the installtion package?
Regards
Chas
emoreau I went into the dot net 2.0 configuration wizard and added the exe on the server as a trusted application, then ran the app from the client and worked fine. What I wish to do is automate this process, if we roll this software out to new users we do not wish users to have to into the wizard and carry out this task. Is there anyway to automate this task into the installtion package?
Regards
Chas
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Cheers all
Thanks emoreau I will have a look into this avenue.
Regards
Chas
Thanks emoreau I will have a look into this avenue.
Regards
Chas