You are here:   Articles
  |  Login

Programming Articles

Minimize
12

In migrating my website from Asp.Net 3.5 to 4, I got this error.

The type or namespace name 'Objects' does not exist in the namespace 'System.Data'

Objects did not resolve in this using statement.

using System.Data.Objects

My website uses Linq to Sql.

Had to add a reference in web.config to System.Data.Entity. Also added a reference to the System.Data.Linq.

<add assembly="System.Data.Linq, Version=4.0.0.0, ...
<add assembly="System.Data.Entity, Version=4.0.0.0, ...

Posted in: Asp.net

Post Rating

Comments

There are currently no comments, be the first to post one.

Post Comment

Only registered users may post comments.

Programmer Newsletter

Minimize

Subscribe to the Internet Handholding newsletter



Reccomend Programmer.bz

Minimize

Share/Bookmark Bookmark and Share