Microsoft SQL Server Compact Edition y ASP.NET

Posted by José de Paz Monday, September 03, 2012 10:29:00 PM
Rate this Content 5 Votes

En efecto, al utilizar una base de datos tipo "Microsoft SQL Server Compact Edition", en una aplicación "ASP.NET", al realizar la conexión, se muestra el siguiente error:

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


La solución es la siguiente, agregar la siguiente línea de código:

 

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

 


La fuente de está linea se encuentra en el siguiente enlace de Microsoft, acerca de las consideraciones de implementación:


Consideraciones de implementación

Hasta pronto:

 

@_jdepaz

Comments

Friday, November 30, 2012 8:54:18 PM

re: Microsoft SQL Server Compact Edition y ASP.NET

Very Useful information , this is both good reading for, have quite a few good key points, and I learn some new stuff from it too, thanks for sharing your information.

Sunday, March 31, 2013 10:46:27 PM

re: Microsoft SQL Server Compact Edition y ASP.NET

it's not just you that benefits.You are perpetuating the demand for human hair

Sunday, March 31, 2013 10:46:59 PM

re: Microsoft SQL Server Compact Edition y ASP.NET

while hair form Malaysiz will be straight,but softer and sikier.

 
© 2009 - 2013 Avanet