Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Deploying an application, running off the server

Posted on 2006-07-06
6
Medium Priority
?
212 Views
Last Modified: 2010-04-23
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
0
Comment
Question by:chas805
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 17050088
What exception is it throwing ?
0
 
LVL 8

Expert Comment

by:plq
ID: 17050296
Just guessing. Did you run regasm against each component ?
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 17050350
you have to adjust security on each PC. See http://www.experts-exchange.com/Programming/Q_21687469.html
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:chas805
ID: 17051284
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
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 2000 total points
ID: 17051500
I know there are ways to automate this process but I am not to familiar with them. Some of the ways include (I don't have much more details):

1. Use CasPol.EXe (but users need to have admin permission on their PC). This can be put in a batch file.

2. Use the configuration to generate a MSI package (there is an option to that).

3. Ask your sysadmin to modify GPO (group policy ...)

... and there are probably other ways.
0
 

Author Comment

by:chas805
ID: 17051547
Cheers all

Thanks emoreau I will have a look into this avenue.

Regards

Chas
0

Featured Post

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question