S
Steve Richter
I am attempting to use the IBM DB2Connection class in my .aspx web
page.
Using Visual Web Developer 2005 express, I cant figure out how to add a
reference to a project. heck, I cant figure out how to open a project!
so I am trying to use the @assembly directive to point directly to the
assembly .DLL that contains the DB2 namespace:
<%@ Assembly src="\db2_f11\ibm.data.db2.dll" %>
where db2_f11 is a virtual path that is mapped to C:\Program
Files\IBM\SQLLIB\BIN\netf11
When I point IE to my .aspx file I get an error, "no build provider
registered for the extension '.dll' " Which makes no sense to me. Why
do I have to build a DLL? Isnt it already built?
The question is: how do I reference this assembly in my .aspx web page?
thanks,
-Steve
Parser Error Message: There is no build provider registered for the
extension '.dll'. You can register one in the
<compilation><buildProviders> section in machine.config or web.config.
Make sure the appliesTo attribute includes the value 'Web' or 'All'.
Source Error:
Line 1: <!-- DemoPage.aspx : demonstration web page -->
Line 2: <%@ Page Language="C#" %>
Line 3: <%@ Assembly src="/db2_f11/ibm.data.db2.dll" %>
Line 4: <%@ Import Namespace="IBM.Data.DB2" %>
Line 5: <%@ Import Namespace="System.Data" %>
page.
Using Visual Web Developer 2005 express, I cant figure out how to add a
reference to a project. heck, I cant figure out how to open a project!
so I am trying to use the @assembly directive to point directly to the
assembly .DLL that contains the DB2 namespace:
<%@ Assembly src="\db2_f11\ibm.data.db2.dll" %>
where db2_f11 is a virtual path that is mapped to C:\Program
Files\IBM\SQLLIB\BIN\netf11
When I point IE to my .aspx file I get an error, "no build provider
registered for the extension '.dll' " Which makes no sense to me. Why
do I have to build a DLL? Isnt it already built?
The question is: how do I reference this assembly in my .aspx web page?
thanks,
-Steve
Parser Error Message: There is no build provider registered for the
extension '.dll'. You can register one in the
<compilation><buildProviders> section in machine.config or web.config.
Make sure the appliesTo attribute includes the value 'Web' or 'All'.
Source Error:
Line 1: <!-- DemoPage.aspx : demonstration web page -->
Line 2: <%@ Page Language="C#" %>
Line 3: <%@ Assembly src="/db2_f11/ibm.data.db2.dll" %>
Line 4: <%@ Import Namespace="IBM.Data.DB2" %>
Line 5: <%@ Import Namespace="System.Data" %>