Author: mhabersack
Date: 2007-11-02 20:08:19 -0500 (Fri, 02 Nov 2007)
New Revision: 88763

Modified:
   trunk/xsp/ChangeLog
   trunk/xsp/test/1.1/webcontrols/dbpage1.aspx
   trunk/xsp/test/1.1/webcontrols/dbpage2.aspx
Log:
2007-11-03  Marek Habersack  <[EMAIL PROTECTED]>

        * test/1.1/webcontrols/dbpage1.aspx,
          test/1.1/webcontrols/dbpage2.aspx:
        Account for missing database provider assemblies.


Modified: trunk/xsp/ChangeLog
===================================================================
--- trunk/xsp/ChangeLog 2007-11-03 00:51:30 UTC (rev 88762)
+++ trunk/xsp/ChangeLog 2007-11-03 01:08:19 UTC (rev 88763)
@@ -1,14 +1,19 @@
+2007-11-03  Marek Habersack  <[EMAIL PROTECTED]>
+
+       * test/1.1/webcontrols/dbpage1.aspx,
+         test/1.1/webcontrols/dbpage2.aspx:
+       Account for missing database provider assemblies.
+
 2007-11-02  Thomas Wiest  <[EMAIL PROTECTED]>
 
-       * test/1.1/customcontrol/tabcontrol2.aspx
-       * test/1.1/html/htmlimage.aspx
-       * test/1.1/html/htmlinputimage.aspx
-       * test/1.1/webcontrols/web_hyperlink.aspx
-       * test/1.1/webcontrols/web_adrotator.xml
+       * test/1.1/customcontrol/tabcontrol2.aspx:
+       * test/1.1/html/htmlimage.aspx:
+       * test/1.1/html/htmlinputimage.aspx:
+       * test/1.1/webcontrols/web_hyperlink.aspx:
+       * test/1.1/webcontrols/web_adrotator.xml:
        Changed http://www.ximian.com/images/index/button-top.gif to 
        http://www.mono-project.com/files/8/8d/Mono-gorilla-aqua.100px.png
 
-
 2007-10-30  Marek Habersack  <[EMAIL PROTECTED]>
 
        * man/Makefile.am (EXTRA_DIST): added mono-asp-apps.1.in

Modified: trunk/xsp/test/1.1/webcontrols/dbpage1.aspx
===================================================================
--- trunk/xsp/test/1.1/webcontrols/dbpage1.aspx 2007-11-03 00:51:30 UTC (rev 
88762)
+++ trunk/xsp/test/1.1/webcontrols/dbpage1.aspx 2007-11-03 01:08:19 UTC (rev 
88763)
@@ -53,6 +53,9 @@
                GetConnectionData (out providerAssemblyName, out 
connectionTypeName, out cncString);
                if (cncType == null) {          
                        Assembly dbAssembly = Assembly.LoadWithPartialName 
(providerAssemblyName);
+                        if (dbAssembly == null)
+                                throw new ApplicationException (String.Format 
("Data provider assembly '{0}' not found",
+                                                                
providerAssemblyName));
                        cncType = dbAssembly.GetType (connectionTypeName, true);
                        if (!typeof (IDbConnection).IsAssignableFrom (cncType))
                                throw new ApplicationException ("The type '" + 
cncType +

Modified: trunk/xsp/test/1.1/webcontrols/dbpage2.aspx
===================================================================
--- trunk/xsp/test/1.1/webcontrols/dbpage2.aspx 2007-11-03 00:51:30 UTC (rev 
88762)
+++ trunk/xsp/test/1.1/webcontrols/dbpage2.aspx 2007-11-03 01:08:19 UTC (rev 
88763)
@@ -68,6 +68,9 @@
                GetConnectionData (out providerAssemblyName, out 
connectionTypeName, out cncString);
                if (cncType == null) {          
                        Assembly dbAssembly = Assembly.LoadWithPartialName 
(providerAssemblyName);
+                        if (dbAssembly == null)
+                                throw new ApplicationException (String.Format 
("Data provider assembly '{0}' not found",
+                                                                
providerAssemblyName));
                        cncType = dbAssembly.GetType (connectionTypeName, true);
                        if (!typeof (IDbConnection).IsAssignableFrom (cncType))
                                throw new ApplicationException ("The type '" + 
cncType +

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to