RubyPDF Blog .NET,ASP.Net,Hosting Godaddy ASP.NET Hosting does not Allow unsafe Code

Godaddy ASP.NET Hosting does not Allow unsafe Code

The wordpress web hosting is your advertisement free guide to choosing the right web host for your personal or business site. Our focus is on a searchable directory that will let you find web hosting plans suitable for a small site or for a large e-commerce website.

Recently, I am working on an application for my customer, which uses System.Data.SQLite.dll library, when almost finished the project, I upload the application to the Godaddy hosting, then I got the following error,

Parser Error Message: Could not load file or assembly ‘System.Data.SQLite, Version=, Culture=neutral, PublicKeyToken=db937bc2d44ff139’ or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)

After some searching, I got the answer, because System.Data.SQLite.dl use dynamic library sqlite3.dll.

I know there exists a Managed SQLite project on google code, but I am not sure it can solve my problem, maybe I had better use mssql.

ManagedSQLite is a managed implementation of the public domain relational database SQLite.
Currently, ManagedSQLite works with Microsoft Visual C# 2005, Microsoft Visual Basic 2005 and Microsoft Visual C++ 2005.
Unlike other managed wrappers for SQLite, ManagedSQLite only requires its own DLL with no need for the SQLite DLL file – reducing the risk of DLL Hell.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.