Archive for the ‘SQL’ Tag

SQL Server Compact not for ASP.Net   1 comment

“SQL Server Compact is not intended for ASP.NET development.”

Right…So you have this cool thing that allows you to have a SQL database in a hosting that only provides MySQL databases and such but you can’t use it. You got to be kidding me.

But, if really, really, really want it, there you go:

AppDomain.CurrentDomain.SetData("SQLServerCompactEditionUnderWebHosting", true);

Just put before the call to the database is made (Global.asax, etc.).

Advertisements

Posted 2010/11/17 by Bigsby in Tips & Tricks

Tagged with , ,