[Mono-bugs] [Bug 460348] New: dbpage1 xsp test fails on windows
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Dec 18 13:27:31 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=460348
Summary: dbpage1 xsp test fails on windows
Product: Mono: Class Libraries
Version: 2.2.x
Platform: i586
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sys.Web
AssignedTo: mhabersack at novell.com
ReportedBy: twiest at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: Component Test
Created an attachment (id=260978)
--> (https://bugzilla.novell.com/attachment.cgi?id=260978)
screen shot showing the mono sqlite dlls on windows
Description of Problem:
The dbpage1 test fails on windows with the error pasted below. I checked and
there are Mono.Data.Sqlite dll's installed into the mono gac on windows.
This was found in Mono 2.2p3.
Steps to reproduce the problem:
1. install mono 2.2 on windows xp
2. cd to c:\progra~1\mono-2.2\lib\xsp\test
3. run xsp1
4. open a web browser to http://localhost:8080/1.1/webcontrols/dbpage1.aspx
5. notice the error
Actual Results:
Database Error
Sorry, a database error has occurred.
You should set up a database of your choice and then modify the variables
DBProviderAssembly, DBConnectionType and DBConnectionString in xsp.exe.config
(or mod-mono-server.exe.config if running the tests under Apache/mod_mono) file
to fit your needs.
The database should have a table called customers created with the following
command (or similar):
CREATE TABLE "test" (
"person" character varying(256) NOT NULL,
"email" character varying(256) NOT NULL
);
The error was:
System.DllNotFoundException: sqlite3
at (wrapper managed-to-native) Mono.Data.SqliteClient.Sqlite:sqlite3_open16
(string,intptr&)
at Mono.Data.SqliteClient.SqliteConnection.Open () [0x00000]
at ASP.dbpage1_aspx.Page_Init (System.Object sender, System.EventArgs e)
[0x00000]
The error was:
System.DllNotFoundException: sqlite3
at (wrapper managed-to-native)
Mono.Data.SqliteClient.Sqlite:sqlite3_prepare16
(intptr,intptr,int,intptr&,intptr&)
at Mono.Data.SqliteClient.SqliteCommand.GetNextStatement (IntPtr pzStart,
System.IntPtr& pzTail, System.IntPtr& pStmt) [0x00000]
at Mono.Data.SqliteClient.SqliteCommand.ExecuteReader (CommandBehavior
behavior, Boolean want_results, System.Int32& rows_affected) [0x00000]
at Mono.Data.SqliteClient.SqliteCommand.ExecuteReader (CommandBehavior
behavior) [0x00000]
at Mono.Data.SqliteClient.SqliteCommand.ExecuteReader () [0x00000]
at Mono.Data.SqliteClient.SqliteCommand.System.Data.IDbCommand.ExecuteReader
() [0x00000]
at ASP.dbpage1_aspx.UpdateTable (System.String filterPerson, System.String
filterMail) [0x00000]
Expected Results:
it shoudl run the dbpage1 test case.
How often does this happen?
every time.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list