Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=82265

--- shadow/82265        2007-07-31 17:29:38.000000000 -0400
+++ shadow/82265.tmp.5758       2007-07-31 17:29:38.000000000 -0400
@@ -0,0 +1,65 @@
+Bug#: 82265
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 000 No more required
+Priority: Minor
+Component: Sys.Data.SqlClient
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: GetSchema ("DataTypes") exception when using Mono.Data.Sqlite
+
+When using connection.GetSchema ("DataTypes") using the new
+Mono.Data.Sqlite provider (2.0 profile), an exception is thrown
+
+Stacktrace:
+-----------
+System.Resources.MissingManifestResourceException: Could not find any
+resource appropiate for the specified culture or its parents. Make sure
+"Mono.Data.Sqlite.SR.resources" was correctly embedded or linked into
+assembly "Mono.Data.Sqlite".
+  at System.Resources.ResourceManager.InternalGetResourceSet
+(System.Globalization.CultureInfo culture, Boolean Createifnotexists,
+Boolean tryParents) [0x00000] 
+  at System.Resources.ResourceManager.InternalGetResourceSet
+(System.Globalization.CultureInfo culture, Boolean Createifnotexists,
+Boolean tryParents) [0x00000] 
+  at System.Resources.ResourceManager.InternalGetResourceSet
+(System.Globalization.CultureInfo culture, Boolean Createifnotexists,
+Boolean tryParents) [0x00000] 
+  at System.Resources.ResourceManager.GetString (System.String name,
+System.Globalization.CultureInfo culture) [0x00000] 
+  at Mono.Data.Sqlite.SR.get_DataTypes () [0x00000] 
+  at Mono.Data.Sqlite.SqliteConnection.Schema_DataTypes () [0x00000] 
+  at Mono.Data.Sqlite.SqliteConnection.GetSchema (System.String
+collectionName, System.String[] restrictionValues) [0x00000] 
+
+
+reproduce:
+----------
+using System;
+using System.Data;
+using Mono.Data.Sqlite;
+
+namespace Test
+{
+       class Test
+       {
+               public static void Main (string[] args) {
+                       SqliteConnection conn = new SqliteConnection 
("URI=file:test.db");
+                       conn.Open ();
+
+                       DataTable dt = conn.GetSchema ("DataTypes");
+                       conn.Close ();
+               }
+       }
+}
+
+(compile with gmcs)
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to