Noah Blumenthal's Blog

May 8, 2009

SqlCE Unable to load DLL “sqlceme35.dll” exception on Vista x64

Filed under: Uncategorized — noahblu @ 4:24 pm

I ran into a wall today when I tried testing my NHibernate repositories against a SQLCE Database.

After:
1) Referencing System.Data.SqlCE and
2) Setting Copy Local on that DLL to True (this is required for NHibernate because it expects the DLL in the local directory)

I still was getting an excpetion:

Unable to load DLL “sqlceme35.dll

I found this post about it:

http://pietschsoft.com/post/2009/01/SQL-Compact-And-The-Unable-to-load-DLL-sqlceme35dll-Runtime-Exception.aspx

And realized it must be my 64-bid Vista. I downloaded the SP1 from here:

http://www.microsoft.com/downloads/details.aspx?FamilyId=DC614AEE-7E1C-4881-9C32-3A6CE53384D9&displaylang=en#filelist

And everything worked fine.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: