I am a newbie in EF, I download a completed version of the above sample
here from Scott's blog, but when I run it, it always throw this exception like the title. Please help me!
I suspect whether your version is overdue or not, and with the new coming of EF4.1CTP (Now even 5CYP, but I use 4.1 for eg). There's a new dll called "EntityFramework.dll" you should refer into your proj after you install the EF41CTP.exe and fetch the dll
from your "binary" folder.
And change a liitle of your codes:
public partial class Products : System.Web.UI.Page
{
void Page_Load()
{
Northwind northwind = new Northwind();
var products = from p in northwind.Products.ToList()
where p.Discontinued == false
select p;
And if your SQL isn't type of Express, please change in web.config.
That's all! I'd like to send you a copy of package codes, please send to me at
maledong@qq.com for your own codes, and include the link of the post in the body of your letter
I am too newbie to EF 4.1. I have created some simple application which uses EF 4.1 to created DB from my domain class. I have not given any connection string. I let default convention, which is to look in the local SQL Server Express instance (localhost\SQLEXPRESS)
to take care of db connection. But, i cannot log into sqlexpress server. So, i am getting below error.
The provider did not return a ProviderManifestToken string.
plxssy
0 Points
1 Post
"The provider did not return a ProviderManifestToken string."
Mar 22, 2011 08:06 AM|LINK
Dear all:
I am a newbie in EF, I download a completed version of the above sample here from Scott's blog, but when I run it, it always throw this exception like the title. Please help me!
Any help will be appreciated!!
Thanks very much!
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: "The provider did not return a ProviderManifestToken string."
Mar 25, 2011 02:17 AM|LINK
I suspect whether your version is overdue or not, and with the new coming of EF4.1CTP (Now even 5CYP, but I use 4.1 for eg). There's a new dll called "EntityFramework.dll" you should refer into your proj after you install the EF41CTP.exe and fetch the dll from your "binary" folder.
And change a liitle of your codes:
public partial class Products : System.Web.UI.Page
{
void Page_Load()
{
Northwind northwind = new Northwind();
var products = from p in northwind.Products.ToList()
where p.Discontinued == false
select p;
GridView1.DataSource = products;
GridView1.DataBind();
}
}
And if your SQL isn't type of Express, please change in web.config.
That's all! I'd like to send you a copy of package codes, please send to me at maledong@qq.com for your own codes, and include the link of the post in the body of your letter
Thx:)
mani2009it
Member
207 Points
82 Posts
Re: "The provider did not return a ProviderManifestToken string."
Mar 01, 2012 08:24 PM|LINK
Hi everyone,
I am too newbie to EF 4.1. I have created some simple application which uses EF 4.1 to created DB from my domain class. I have not given any connection string. I let default convention, which is to look in the local SQL Server Express instance (localhost\SQLEXPRESS) to take care of db connection. But, i cannot log into sqlexpress server. So, i am getting below error.
The provider did not return a ProviderManifestToken string.
Please help. How to resolve it.