M
momo
Hello Guys,
I have a bit of a problem, I created a Dll called SecureQueryStringDll.dll
and I had the dll put bin folder of my application first and it did not work
so I then put it in the bin folder of c:\inetpub\wwwroot and it still does
not work. Here is the error I get from it:
temporary asp.net
files\root\d16a94c5\8b912d73\assembly\dl2\1dc1ef5c\006575a4_827ac301\metabuilders.webcontrols.rowselectorcolumn.dll"
/out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\root\d16a94c5\8b912d73\lhq6vhxb.dll" /D
EBUG=1 /debug+
"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\root\d16a94c5\8b912d73\lhq6vhxb.0.vb" Microsoft (R) Visual Basic .NET
Compiler version 7.10.6001.4 for Microsoft (R) .NET Framework version
1.1.4322.2032 Copyright (C) Microsoft Corporation 1987-2002. All rights
reserved. C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\root\d16a94c5\8b912d73\lhq6vhxb.0.vb(15) : error BC30466: Namespace or
type 'SecureQueryStringDll' for the Imports 'SecureQueryStringDll' cannot be
found. Imports SecureQueryStringDll ~~~~~~~~~~~~~~~~~~~~
d:\inetpub\wwwroot\websites\specialk\employeedetail.aspx(30) : error
BC30002: Type 'SecureQueryString' is not defined. Dim qs = new
SecureQueryString() ~~~~~~~~~~~~~~~~~
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032
<%@ Page language="VB" Debug="true" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.OleDb" %>
<%@ Import Namespace="System.Configuration.ConfigurationSettings" %>
<%@ Import Namespace="SecureQueryStringDll" %>
<script language="VB" runat="server">
'Build the SQL string and made it static
Protected sComm As String = "Select EmployeeID, LastName, FirstName, Phone
FROM tblEmployeeChecklist where ActiveStatus=Yes"
Sub Page_Load(Sender as Object, E as EventArgs)
'++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++'
If Not Page.IsPostBack Then
SQLStatement.Text = sComm
BindData()
End if
End sub
Sub BindData()
Dim oConn As OleDbConnection
Dim oComm As OleDbDataAdapter
Dim sConn As String
Dim oDataSet As New DataSet
' Create the queryString object
Dim qs = new SecureQueryString()
I have a bit of a problem, I created a Dll called SecureQueryStringDll.dll
and I had the dll put bin folder of my application first and it did not work
so I then put it in the bin folder of c:\inetpub\wwwroot and it still does
not work. Here is the error I get from it:
temporary asp.net
files\root\d16a94c5\8b912d73\assembly\dl2\1dc1ef5c\006575a4_827ac301\metabuilders.webcontrols.rowselectorcolumn.dll"
/out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\root\d16a94c5\8b912d73\lhq6vhxb.dll" /D
"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\root\d16a94c5\8b912d73\lhq6vhxb.0.vb" Microsoft (R) Visual Basic .NET
Compiler version 7.10.6001.4 for Microsoft (R) .NET Framework version
1.1.4322.2032 Copyright (C) Microsoft Corporation 1987-2002. All rights
reserved. C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\root\d16a94c5\8b912d73\lhq6vhxb.0.vb(15) : error BC30466: Namespace or
type 'SecureQueryStringDll' for the Imports 'SecureQueryStringDll' cannot be
found. Imports SecureQueryStringDll ~~~~~~~~~~~~~~~~~~~~
d:\inetpub\wwwroot\websites\specialk\employeedetail.aspx(30) : error
BC30002: Type 'SecureQueryString' is not defined. Dim qs = new
SecureQueryString() ~~~~~~~~~~~~~~~~~
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032
<%@ Page language="VB" Debug="true" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.OleDb" %>
<%@ Import Namespace="System.Configuration.ConfigurationSettings" %>
<%@ Import Namespace="SecureQueryStringDll" %>
<script language="VB" runat="server">
'Build the SQL string and made it static
Protected sComm As String = "Select EmployeeID, LastName, FirstName, Phone
FROM tblEmployeeChecklist where ActiveStatus=Yes"
Sub Page_Load(Sender as Object, E as EventArgs)
'++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++'
If Not Page.IsPostBack Then
SQLStatement.Text = sComm
BindData()
End if
End sub
Sub BindData()
Dim oConn As OleDbConnection
Dim oComm As OleDbDataAdapter
Dim sConn As String
Dim oDataSet As New DataSet
' Create the queryString object
Dim qs = new SecureQueryString()