Link to home
Start Free TrialLog in
Avatar of Bharat Guru
Bharat Guru

asked on

Microsoft.SqlServer.Dts.Runtime.Application(); error

Windows application works fine on my machine but after deploying the windows application i'm getting error

System.NullReferenceException: Object reference not set to an instance of an object.

at below line
app = new Microsoft.SqlServer.Dts.Runtime.Application();
Avatar of plusone3055
plusone3055
Flag of United States of America image

Object reference not set to an instance of an object.

is a very general error as you know
my first guess is that you have your data-source still pointing to your local PC instead of SQL server. But i would add a Stacktrace to be sure.

have you don step into through the code on the other machine ?
ASKER CERTIFIED SOLUTION
Avatar of Bharat Guru
Bharat Guru

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bharat Guru
Bharat Guru

ASKER

Thanks