[MonoDevelop] Deploying a WebSite with MonoDevelop

Paulo Aboim Pinto esqueleto at tusofona.com
Fri Nov 17 22:42:40 EST 2006


I'm trying to make a small WebSite using MonoDevelop that will be use
SQLite3 as database.

In my Ubunbtu Box everything goes well. I have all the references, all
that I want in my GAC, then everithing work very well. 
When I try to deploy, I got some problems.

First: The web deploy is not like the publishing Website in VS2005?
Should not create a structure of directories with all the aspx and ascx
files with the dlls in the bin?
What I found is only the exporting of the dll to a directory that I

Until here I continue work. I just select only the files that I want and
continue upload my files.

Second: When I run the WebSite in my .NET 2.0 hosting I got the error
that Mono.Data.SqliteClient.dll is not in the bin directory. Then I
found that my Deploy not copy the system dlls files.
In VS2005 I got a option to say if we want to copy local the reference
or not? In MonoDevelop we have this option? Where it is?

I still trying to make this work. I try to find the dll in my linux box
and copy to the .NET 2.0 hosting. Now he find the dll but don't find all
the references made in dll.... 
I got the error: 

Unable to load DLL 'sqlite3': The specified module could not be found.
(Exception from HRESULT: 0x8007007E) 
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code. 

Exception Details: System.DllNotFoundException: Unable to load DLL
'sqlite3': The specified module could not be found. (Exception from
HRESULT: 0x8007007E)

Source Error: 

An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below. 

Stack Trace: 

[DllNotFoundException: Unable to load DLL 'sqlite3': The specified module could not be found. (Exception from HRESULT: 0x8007007E)]
   Mono.Data.SqliteClient.Sqlite.sqlite3_open16(String dbname, IntPtr& handle) +0
   Mono.Data.SqliteClient.SqliteConnection.Open() +196
   Common.DataAccess.Provider.OpenDataReader(String sqlStatement) +28
   Common.DataAccess.Persistency`1.GerateDataReader(T mainObject, String sqlWhereCondition) +87
   Common.DataAccess.Persistency`1.GetObject(T mainObject, String sqlWhereCondition) +24
   Common.DataAccess.DataPersistency`1.GetObject(Dictionary`2 lParam) +113
   olimpo.Theme.Manager.LoadTheme(Page myPage) +120
   olimpo.WebUI.Default.Page_Load(Object sender, EventArgs e) +13
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061


I think that I only get this error because the monodevelop is not
copying all the files that this reference need.

How can I resolve this problem?

tkx in advance
Paulo Aboim Pinto
Odivelas - Portugal 

More information about the Monodevelop-list mailing list