Reputation: 15817
I am seeing the following error in LINQPad (typeloadexception in first screenshot):
Here are the connection properties:
The 'Test' button works as expected i.e. it prompts: "Successful". What is the problem? Here is the web.config in the app:
<add name="AdventureWorks2012Entities" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string="data source=mypc;initial catalog=AdventureWorks2012;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient" />
I have read a few answers on here, which suggest setting the assembly to 32 bit etc.
Upvotes: 1
Views: 301
Reputation: 30964
Your custom assembly is named LINQPad.dll
, which is likely to get confused with LINQPad.exe
. You will need to change the assembly name in Visual Studio's project properties dialog.
Upvotes: 2