Solved

Deploying an application, running off the server

Posted on 2006-07-06
6
190 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 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

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 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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

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…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

803 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