thanx for u r answer i have tried the dotnet framework 2.0 but still giving same exception unable to load sqlceme30.dll i have given references of sqlserverce.dll m help me out.