Solved

Deploying an application, running off the server

Posted on 2006-07-06
6
180 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
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 69

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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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 69

Accepted Solution

by:
Éric Moreau earned 500 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
This video discusses moving either the default database or any database to a new volume.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now