========== September 28, 2010 Update =========
Prism Explorer no longer uses NorthwindEF ... it uses the NorthwindIB tutorial database installed with DevForce 2010.
The documentation still says "NorthwindEF" ... which mistake will be corrected.
Ward's post below on 9/28/2010 describes the change.
========== Original Post ==================
I have brought down the Prism Explorer example and unzipped it into a directory.
I can open the project with VS2008. It runs.
But when I do Get All customers Query I get the error
A network-related or instance specific error occured while establishing a connection to SQL Server. The server was not found or inaccessible.
I use mainly SQL Server 2008 express on this machine so I did my usual for projects
1. Add App_Data directory for web project
2. added the existing dtatabase (as supplied in download) to directory
It is visible.
Checked in app.config (below)
<
connectionStrings>
<
add name="NorthwindEFEntities" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string="Data Source=.;Initial Catalog=NorthwindEF;Integrated Security=True;MultipleActiveResultSets=True"" providerName="System.Data.EntityClient" />
</
connectionStrings>
seems to suggest data source is local.
Got same error.
This is probably simple but I am not seeing how to connect to the database.
Can you help?
Thanks!
Bruce
Edited by WardBell - 28-Sep-2010 at 10:18am