Search The ForumSearch   RegisterRegister  LoginLogin

General Issues

 AfterLogic Forum : General Issues
Subject Topic: Target of an invocation exception Post ReplyPost New Topic
Message << Prev Topic | Next Topic >>

Joined: 16 October 2006
Location: Italy
Online Status: Offline
Posts: 4
Posted: 17 November 2006 at 6:39am | IP Logged Quote milicevic


I had problem with deployment of application that might help someone to save some time.

Web application references separate project (subscriberComponent) that uses MailBee.NET.dll.

On local machine everything works normally, but when deployed on remote, hosted server I was getting:
"Exception has been thrown by the target of an invocation" error.

I followed your instructions on how to use component, also checked all path's in .csproj and seems OK.I Also copied MailBee.NET.dll all over folders on deployment site. Referenced MailBee from web project nothing did help until I accidentally copied MailBee.NET.dll file from subscriberComponent folder to bin folder on deployment site (overwriting existing MailBee.NET.dll file from another location).

Back to Top View milicevic's Profile Search for other posts by milicevic
AfterLogic Support
AfterLogic Support

Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 17 November 2006 at 7:46am | IP Logged Quote Andrew

Thank you for posting back. Looks like there was a conflict with different versions of MailBee.NET.dll.

Best regards,
Back to Top View Andrew's Profile Search for other posts by Andrew

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide