Survey Software by Prezza Technologies - survey software, web surveys, online surveys, online survey, customer feedback forms, survey hosting
Next Steps
Pricing FREE 30 Day Trial
Pricing Features & Pricing
Screenshots Screenshots
Demos
Live Chat Live Chat
Contact Us Contact Us
Request Call Request a Call

Support right


Home / Support / Knowledgebase / Constructor not called in .NET Mobilink ...

Constructor not called in iAnywhere Mobilink .NET synchronization scripts

Article ID: 1056 Posted Date: 9/28/2006 1:42:50 PM
Products: Other Updated Date: 9/28/2006 1:42:50 PM

When creating a .NET based synchronization script, the connection context is passed in via your class's constructor. Sometimes you may notice that your constructor is not called, and your reference to the connection context is null.

Survey Software -- Ultimate Survey Enterprise .NET for web surveys, feedback forms, online data collectionProblem: When running a Mobilink synchronization script that calls a .NET class you have written to perform the synchronization logic, you may notice that the constructor of your class is never called, causing any references you may have to the Mobilink DBConnectionContext object to be null.

Solution: This situation occurs when your application is using a separate copy of the Moblink script assembly from the Mobilink exe. To resolve this issue, ensure that the Copy Local property is set to false in the properties of your reference to the iAnywhere.Mobilink.Script assembly. You may need to manually delete the local copy of iAnywhere.Mobilink.Script.dll from the bin directory of your assembly.