Solved

Deploying an application, running off the server

Posted on 2006-07-06
6
184 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

863 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

18 Experts available now in Live!

Get 1:1 Help Now