Hi, I have a simple wpf application setup to use my wcf test service running in another project. The service retrieves multiple rows from sql compact 3.5 sdf attached to a wcf service project using the Entity Framework.
Im getting "SQL Server Compact is not designed for ASP.NET development." an error in the 1st line of the object context class in the service project as soon as I try to start one of the services.
This error can supposedly be suppressed using "AppDomain.CurrentDomain.SetData (" SQLServerCompactEditionUnderWebHosting ", true); in the global.asmx file. However, this is not an asp.net project, so there is no global.asmx.
Where should I put this line? or is SQL CE 3.5 not intended for EF and WCF?
source
share