I keep getting an error while trying to connect my asp.net project to sql ce 4.
"A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible."
UPDATE - If you are getting this error make sure you specify the proper provider name in both the connection string and the sqldatasource.
providerName = "System.Data.SqlServerCe.4.0"