Even though I had the namspace defind it was still looking for the
reference.
After looking around on google - I found the fix.
1. I updated the web.config file and added:
<compilation>
<assemblies>
<add assembly="FirebirdSql.Data.Firebird,
Version=0.2.1141.24128,
Culture=neutral,
PublicKeyToken=e98daebe910ed179" />
</assemblies>
</compilation>
This still didn't fix it because now it could not find the dll.
2. Created a bin folder on my webserver root with copied the
FirebirdSql.Data.Firebird.dll into that folder, as this was one of the
folders that .NET was looking for the dll.
Regards,
Andrew Goodall
-----Original Message-----
From: Andrew Goodall [mailto:ag...@jc...]
Sent: Friday, February 28, 2003 09:08
To: 'Dick Chiang'
Cc: 'fir...@li...'
Subject: RE: [Firebird-net-provider] newbie - trying to Get this to work
Isn't that what the import namespace statement does ?
I have that included but it still cannot find the classes, such as
Fbconnection.
<%@ import Namespace="FirebirdSql.Data.Firebird" %>
--------------------------------------------------
In Visual Studio, you would normally include the
FirbirdSql.Data.Firebird in the Solutions Explorer's References. This
sorts of binds your application to the DLL. Maybe you need to do
something similar with webmatrix.
Dick
Andrew Goodall wrote:
>
> I'm using webmatrix free dev-app to do my developing, with VB on the
> codebehind.
>
> The error I receive on loading the webpage .aspx is: Type
> 'FbConnection' is not defined
>
> which tells me its not finding the FirebirdSql.Data.Firebird class.
|