473,398 Members | 2,525 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

db2app.dll

I've to create a webapp with VS.Studio.NET 2003 and DB2 Enterprise.
I've create a webform and put this code on PageLoad event:

1 Dim strConnection As String
2 strConnection =
ConfigurationSettings.AppSettings("DB2Connection.C onnectionString")
3 Dim DB2Conn = New IBM.Data.DB2.DB2Connection(strConnection)

4 Dim qry As String = "SELECT Codice, Ragionesoc as [Ragione
Sociale], Localita, Paiv AS [Partita Iva] FROM(Clifo)WHERE (Codice = @src OR
RagioneSoc like '%' + @src+ '%' OR Paiv = @src OR Tel like '%' + @src+ '%')
AND (Tipo = 'C' OR Tipo = 'P')"
5 Dim cmdCC As New IBM.Data.DB2.DB2Command(qry, DB2Conn)
6 cmdCC.Parameters.Add("@src", IBM.Data.DB2.DB2Type.VarChar,
100).Value = TBox.Text
7 Dim daGetClienti As New IBM.Data.DB2.DB2DataAdapter(cmdCC)
8 Dim dsClienti As New DataSet
9 daGetClienti.Fill(dsClienti, "ClientiTrovati")
running, on row 3 VS.Studio stop with this error: .. unable to load DLL
'db2app.dll' ....
someone have found same problem ?
someone have a solution ?

thanks

mauro
Nov 12 '05 #1
6 7361
"Mauro Miotello" <sv******@ashnet.it> a écrit dans le message de
news:d5**********@news.ngi.it...
I've to create a webapp with VS.Studio.NET 2003 and DB2 Enterprise.
I've create a webform and put this code on PageLoad event:

1 Dim strConnection As String
2 strConnection =
ConfigurationSettings.AppSettings("DB2Connection.C onnectionString")
3 Dim DB2Conn = New IBM.Data.DB2.DB2Connection(strConnection)

4 Dim qry As String = "SELECT Codice, Ragionesoc as [Ragione
Sociale], Localita, Paiv AS [Partita Iva] FROM(Clifo)WHERE (Codice = @src OR RagioneSoc like '%' + @src+ '%' OR Paiv = @src OR Tel like '%' + @src+ '%') AND (Tipo = 'C' OR Tipo = 'P')"
5 Dim cmdCC As New IBM.Data.DB2.DB2Command(qry, DB2Conn)
6 cmdCC.Parameters.Add("@src", IBM.Data.DB2.DB2Type.VarChar,
100).Value = TBox.Text
7 Dim daGetClienti As New IBM.Data.DB2.DB2DataAdapter(cmdCC)
8 Dim dsClienti As New DataSet
9 daGetClienti.Fill(dsClienti, "ClientiTrovati")
running, on row 3 VS.Studio stop with this error: .. unable to load DLL
'db2app.dll' ....
someone have found same problem ?
someone have a solution ?

thanks

mauro


I think you need to register the dll yourself, as described in

http://www-1.ibm.com/support/docview...=UTF-8&lang=en

HTH,

Jean-Marc
Nov 12 '05 #2
Thanks for your info, i've tried to register this dll with utility found in
your IBM link and it was registered correctly
I've verified on my registry

but the program does'nt run

the strange thing is if i create connection, dataadapter and dataset at
design time, all it's ok
i don't understand..

bye

thanks

mauro

"Jean-Marc Blaise" <no****@nowhere.com> ha scritto nel messaggio
news:42**********************@news.wanadoo.fr...
"Mauro Miotello" <sv******@ashnet.it> a écrit dans le message de
news:d5**********@news.ngi.it...
I've to create a webapp with VS.Studio.NET 2003 and DB2 Enterprise.
I've create a webform and put this code on PageLoad event:

1 Dim strConnection As String
2 strConnection =
ConfigurationSettings.AppSettings("DB2Connection.C onnectionString")
3 Dim DB2Conn = New IBM.Data.DB2.DB2Connection(strConnection)

4 Dim qry As String = "SELECT Codice, Ragionesoc as [Ragione
Sociale], Localita, Paiv AS [Partita Iva] FROM(Clifo)WHERE (Codice = @src

OR
RagioneSoc like '%' + @src+ '%' OR Paiv = @src OR Tel like '%' + @src+

'%')
AND (Tipo = 'C' OR Tipo = 'P')"
5 Dim cmdCC As New IBM.Data.DB2.DB2Command(qry, DB2Conn)
6 cmdCC.Parameters.Add("@src", IBM.Data.DB2.DB2Type.VarChar,
100).Value = TBox.Text
7 Dim daGetClienti As New IBM.Data.DB2.DB2DataAdapter(cmdCC)
8 Dim dsClienti As New DataSet
9 daGetClienti.Fill(dsClienti, "ClientiTrovati")
running, on row 3 VS.Studio stop with this error: .. unable to load DLL
'db2app.dll' ....
someone have found same problem ?
someone have a solution ?

thanks

mauro


I think you need to register the dll yourself, as described in

http://www-1.ibm.com/support/docview...=UTF-8&lang=en

HTH,

Jean-Marc

Nov 12 '05 #3
Is the containing directory on your _system_ PATH?

"Mauro Miotello" <sv******@ashnet.it> wrote in message
news:d5**********@news.ngi.it...
Thanks for your info, i've tried to register this dll with utility found
in your IBM link and it was registered correctly
I've verified on my registry

but the program does'nt run

the strange thing is if i create connection, dataadapter and dataset at
design time, all it's ok
i don't understand..

bye

thanks

mauro

"Jean-Marc Blaise" <no****@nowhere.com> ha scritto nel messaggio
news:42**********************@news.wanadoo.fr...
"Mauro Miotello" <sv******@ashnet.it> a écrit dans le message de
news:d5**********@news.ngi.it...
I've to create a webapp with VS.Studio.NET 2003 and DB2 Enterprise.
I've create a webform and put this code on PageLoad event:

1 Dim strConnection As String
2 strConnection =
ConfigurationSettings.AppSettings("DB2Connection.C onnectionString")
3 Dim DB2Conn = New IBM.Data.DB2.DB2Connection(strConnection)

4 Dim qry As String = "SELECT Codice, Ragionesoc as [Ragione
Sociale], Localita, Paiv AS [Partita Iva] FROM(Clifo)WHERE (Codice =
@src

OR
RagioneSoc like '%' + @src+ '%' OR Paiv = @src OR Tel like '%' + @src+

'%')
AND (Tipo = 'C' OR Tipo = 'P')"
5 Dim cmdCC As New IBM.Data.DB2.DB2Command(qry, DB2Conn)
6 cmdCC.Parameters.Add("@src", IBM.Data.DB2.DB2Type.VarChar,
100).Value = TBox.Text
7 Dim daGetClienti As New IBM.Data.DB2.DB2DataAdapter(cmdCC)
8 Dim dsClienti As New DataSet
9 daGetClienti.Fill(dsClienti, "ClientiTrovati")
running, on row 3 VS.Studio stop with this error: .. unable to load DLL
'db2app.dll' ....
someone have found same problem ?
someone have a solution ?

thanks

mauro


I think you need to register the dll yourself, as described in

http://www-1.ibm.com/support/docview...=UTF-8&lang=en

HTH,

Jean-Marc


Nov 12 '05 #4
Yes i've c:\programmi\IBM\SQLLIB\BIN on my system path !

"Mark Yudkin" <my***********************@boing.org> ha scritto nel messaggio
news:42**********************@news.sunrise.ch...
Is the containing directory on your _system_ PATH?

"Mauro Miotello" <sv******@ashnet.it> wrote in message
news:d5**********@news.ngi.it...
Thanks for your info, i've tried to register this dll with utility found
in your IBM link and it was registered correctly
I've verified on my registry

but the program does'nt run

the strange thing is if i create connection, dataadapter and dataset at
design time, all it's ok
i don't understand..

bye

thanks

mauro

"Jean-Marc Blaise" <no****@nowhere.com> ha scritto nel messaggio
news:42**********************@news.wanadoo.fr...
"Mauro Miotello" <sv******@ashnet.it> a écrit dans le message de
news:d5**********@news.ngi.it...
I've to create a webapp with VS.Studio.NET 2003 and DB2 Enterprise.
I've create a webform and put this code on PageLoad event:

1 Dim strConnection As String
2 strConnection =
ConfigurationSettings.AppSettings("DB2Connection.C onnectionString")
3 Dim DB2Conn = New IBM.Data.DB2.DB2Connection(strConnection)

4 Dim qry As String = "SELECT Codice, Ragionesoc as [Ragione
Sociale], Localita, Paiv AS [Partita Iva] FROM(Clifo)WHERE (Codice =
@src
OR
RagioneSoc like '%' + @src+ '%' OR Paiv = @src OR Tel like '%' + @src+
'%')
AND (Tipo = 'C' OR Tipo = 'P')"
5 Dim cmdCC As New IBM.Data.DB2.DB2Command(qry, DB2Conn)
6 cmdCC.Parameters.Add("@src", IBM.Data.DB2.DB2Type.VarChar,
100).Value = TBox.Text
7 Dim daGetClienti As New IBM.Data.DB2.DB2DataAdapter(cmdCC)
8 Dim dsClienti As New DataSet
9 daGetClienti.Fill(dsClienti, "ClientiTrovati")
running, on row 3 VS.Studio stop with this error: .. unable to load DLL
'db2app.dll' ....
someone have found same problem ?
someone have a solution ?

thanks

mauro
I think you need to register the dll yourself, as described in

http://www-1.ibm.com/support/docview...=UTF-8&lang=en

HTH,

Jean-Marc



Nov 12 '05 #5
I've found other people with same problem here:
http://www.webservertalk.com/archive...4-1008001.html

bye

Mauro

"Mauro Miotello" <sv******@ashnet.it> ha scritto nel messaggio
news:d5**********@news.ngi.it...
Yes i've c:\programmi\IBM\SQLLIB\BIN on my system path !

"Mark Yudkin" <my***********************@boing.org> ha scritto nel
messaggio news:42**********************@news.sunrise.ch...
Is the containing directory on your _system_ PATH?

"Mauro Miotello" <sv******@ashnet.it> wrote in message
news:d5**********@news.ngi.it...
Thanks for your info, i've tried to register this dll with utility found
in your IBM link and it was registered correctly
I've verified on my registry

but the program does'nt run

the strange thing is if i create connection, dataadapter and dataset at
design time, all it's ok
i don't understand..

bye

thanks

mauro

"Jean-Marc Blaise" <no****@nowhere.com> ha scritto nel messaggio
news:42**********************@news.wanadoo.fr...
"Mauro Miotello" <sv******@ashnet.it> a écrit dans le message de
news:d5**********@news.ngi.it...
> I've to create a webapp with VS.Studio.NET 2003 and DB2 Enterprise.
> I've create a webform and put this code on PageLoad event:
>
> 1 Dim strConnection As String
> 2 strConnection =
> ConfigurationSettings.AppSettings("DB2Connection.C onnectionString")
> 3 Dim DB2Conn = New IBM.Data.DB2.DB2Connection(strConnection)
>
> 4 Dim qry As String = "SELECT Codice, Ragionesoc as [Ragione
> Sociale], Localita, Paiv AS [Partita Iva] FROM(Clifo)WHERE (Codice =
> @src
OR
> RagioneSoc like '%' + @src+ '%' OR Paiv = @src OR Tel like '%' + @src+
'%')
> AND (Tipo = 'C' OR Tipo = 'P')"
> 5 Dim cmdCC As New IBM.Data.DB2.DB2Command(qry, DB2Conn)
> 6 cmdCC.Parameters.Add("@src", IBM.Data.DB2.DB2Type.VarChar,
> 100).Value = TBox.Text
> 7 Dim daGetClienti As New IBM.Data.DB2.DB2DataAdapter(cmdCC)
> 8 Dim dsClienti As New DataSet
> 9 daGetClienti.Fill(dsClienti, "ClientiTrovati")
>
>
> running, on row 3 VS.Studio stop with this error: .. unable to load
> DLL
> 'db2app.dll' ....
> someone have found same problem ?
> someone have a solution ?
>
> thanks
>
> mauro
>

I think you need to register the dll yourself, as described in

http://www-1.ibm.com/support/docview...=UTF-8&lang=en

HTH,

Jean-Marc



Nov 12 '05 #6
Their problem was a configuration problem on their systems. But if your
problem has the same cause, fine.

"Mauro Miotello" <sv******@ashnet.it> wrote in message
news:d5**********@news.ngi.it...
I've found other people with same problem here:
http://www.webservertalk.com/archive...4-1008001.html

bye

Mauro

"Mauro Miotello" <sv******@ashnet.it> ha scritto nel messaggio
news:d5**********@news.ngi.it...
Yes i've c:\programmi\IBM\SQLLIB\BIN on my system path !

"Mark Yudkin" <my***********************@boing.org> ha scritto nel
messaggio news:42**********************@news.sunrise.ch...
Is the containing directory on your _system_ PATH?

"Mauro Miotello" <sv******@ashnet.it> wrote in message
news:d5**********@news.ngi.it...
Thanks for your info, i've tried to register this dll with utility
found in your IBM link and it was registered correctly
I've verified on my registry

but the program does'nt run

the strange thing is if i create connection, dataadapter and dataset at
design time, all it's ok
i don't understand..

bye

thanks

mauro

"Jean-Marc Blaise" <no****@nowhere.com> ha scritto nel messaggio
news:42**********************@news.wanadoo.fr...
> "Mauro Miotello" <sv******@ashnet.it> a écrit dans le message de
> news:d5**********@news.ngi.it...
>> I've to create a webapp with VS.Studio.NET 2003 and DB2 Enterprise.
>> I've create a webform and put this code on PageLoad event:
>>
>> 1 Dim strConnection As String
>> 2 strConnection =
>> ConfigurationSettings.AppSettings("DB2Connection.C onnectionString")
>> 3 Dim DB2Conn = New IBM.Data.DB2.DB2Connection(strConnection)
>>
>> 4 Dim qry As String = "SELECT Codice, Ragionesoc as [Ragione
>> Sociale], Localita, Paiv AS [Partita Iva] FROM(Clifo)WHERE (Codice =
>> @src
> OR
>> RagioneSoc like '%' + @src+ '%' OR Paiv = @src OR Tel like '%' +
>> @src+
> '%')
>> AND (Tipo = 'C' OR Tipo = 'P')"
>> 5 Dim cmdCC As New IBM.Data.DB2.DB2Command(qry, DB2Conn)
>> 6 cmdCC.Parameters.Add("@src", IBM.Data.DB2.DB2Type.VarChar,
>> 100).Value = TBox.Text
>> 7 Dim daGetClienti As New IBM.Data.DB2.DB2DataAdapter(cmdCC)
>> 8 Dim dsClienti As New DataSet
>> 9 daGetClienti.Fill(dsClienti, "ClientiTrovati")
>>
>>
>> running, on row 3 VS.Studio stop with this error: .. unable to load
>> DLL
>> 'db2app.dll' ....
>> someone have found same problem ?
>> someone have a solution ?
>>
>> thanks
>>
>> mauro
>>
>
> I think you need to register the dll yourself, as described in
>
> http://www-1.ibm.com/support/docview...=UTF-8&lang=en
>
> HTH,
>
> Jean-Marc
>
>



Nov 12 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Andy Meyer | last post by:
Hi all, I try to execute the "sqledrpd" - Api. I found it in the db2app.dll renamed to sqledrpd_api, but my application crashes. Here's the codesnippset. Perhaps someone can help?! Thanks in...
3
by: StephenRichter | last post by:
I have installed the trial of db2 enterprise server on my w2k PC. Have also installed fix pack 8 of that product. I am using it to connect from an asp.net web page to an IBM as400. the 400 is...
1
by: Mauro Miotello | last post by:
Someone are using successfully, VS.Studio 2003 on Windows 2003 with DB2 8.2.2 ? Mauro
1
by: Sanju | last post by:
Hi.. I have working on Windows XP Operating System.Installed J2sdk 1.4.07 and installed IBM DB2 UDB version 8.1 Then i got the following error.. The procedure entry point SQLPrepareW@12...
0
by: Steve Richter | last post by:
I am trying, really trying to use the DB2Connection class provided by IBM to connect to a database on my old reliable as400 from the asp.net web page. When I run the DB2Connection code in my...
4
by: alinehp | last post by:
Hi I have an access violation in DB2SYS.dll at each ending of my application. This is a multithreaded application. Threads are created and managed by Tomcat. One thread connects to DB2 base...
0
by: EyalS | last post by:
Hi, I have a process running on an XP machine, that uses the db2app.dll to get DB snapshots. When the DB is on another Windows machine, all is well. But when the DB is on an AIX machine,...
14
seraieis
by: seraieis | last post by:
Hi all, I've been working on a few home-grown apps for my department, one of which connects to a DB2 database and generates reports from it. It has worked splendidly on my machine, but this...
1
by: gimme_this_gimme_that | last post by:
Hello, Looking back on it - knowing what I know now - I should have run setup.exe by right clicking and explicitly running as an Administrator. Well, here I am. I installed DB2 Express-C from...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.