The Kinetic Jump site navigation header requires JavaScript to be enabled and the latest version of the Macromedia Flash Player. If you are you using a browser with JavaScript disabled please enable it now. Otherwise, please update your version of the free Flash Player by downloading here.

Welcome Guest Search | Active Topics | Log In | Register

Assembly missing during custom action windows service update Options
jowen
#1 Posted : Friday, May 22, 2009 12:06:48 PM
Rank: Newbie
Groups: Member

Joined: 5/22/2009
Posts: 3

Hi Brian,

 

   I've run into a problem during execution of a custom action that relies on another assembly during update of a Windows Service.

 

   The custom action needs to consume a web service which is wrapped by another assembly that is already used by the Service.  However, I get the error noted below and the update fails.

 

11:41:33 AM applicationName:KeyItemPoll
11:41:33 AM applicationID:58976c5ac6604790a2d0e8bc6aa19e44
11:41:33 AM updateVersion:1.0.4.0
11:41:35 AM Update configuration file parsed.
11:41:35 AM Checking Prerequisites.
11:41:35 AM Starting update.
11:41:35 AM Preprocessing.
11:41:36 AM ERROR: Could not load file or assembly 'TechAcumen.Key.BusinessLayer, Version=1.0.116.2112, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
11:41:36 AM Starting rollback.
11:41:36 AM FAIL

 

I've tried including the assembly and its dependents noted above in the Package Update Directory as well as the application directory.  Neither action resolves the problem.

 

Any ideas of what I'm missing here?

 

Thanks,

 

Jim

 

brianh
#2 Posted : Saturday, May 23, 2009 7:28:49 AM
Rank: Administration
Groups: Member, Administration

Joined: 5/24/2007
Posts: 351
Location: Minnesota

Hello Jim,

 

Adding the necessary dependencies to the Update Package Directory with an Add & replace files action before your custom action executes should have solved the problem.

 

When you did that did you receive the same error?

Brian Haas
Kinetic Jump Software
jowen
#3 Posted : Saturday, May 23, 2009 9:26:48 AM
Rank: Newbie
Groups: Member

Joined: 5/22/2009
Posts: 3
Hi Brian,

Yes, I received the same error. I've gone through the project and can not find any further assemblies that are referenced, but I guess I've missed one or more somewhere.

Is there anyway to inspect the package update directory during installation to check which assemblies are there?

Is there any other aspect I might be missing?

- Jim


jowen
#4 Posted : Saturday, May 23, 2009 2:38:58 PM
Rank: Newbie
Groups: Member

Joined: 5/22/2009
Posts: 3

Hi Brian,

 

   I just realized something - I'm consuming a web service as a part of the custom action. That means that the configuration information for that web service needs to be found in the app.config file!

 

   What is the name of the executable that is running at the time the custom action is called?  I think I'd be able to include the service config info in that file and copy it to the Update Package Directory - It should then pick it up.

 

   What do you think?

 

   - Jim

 

 

brianh wrote:

Hello Jim,

 

Adding the necessary dependencies to the Update Package Directory with an Add & replace files action before your custom action executes should have solved the problem.

 

When you did that did you receive the same error?

Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.