Error trying to run deployed windows application

  • Thread starter Thread starter Manos Karatsidis
  • Start date Start date
M

Manos Karatsidis

Hi all,

I've developed a .NET Windows application which was
originally made in VB6 and migrated using the VS7
migration wizard.
After resolving all upgrade issues my application worked
fine on my development pc.
The application connects to an Oracle database
(unfortunatelly) and uses some VB6 controls such as
MSFlexGrid to show data.

Although I've created a deployment project and run it on
my target pc the application won't run throwing an error
like ProcessID=number and TrheadID=number.

My target pc is able to connect to the database through an
Oracle DB SQLPlus client (using the correct TNS) and have
also installed MDAC 2.7 SP1. The ADODB.DLL is placed
through the installer.

All needed dlls are supposed to have been installed by the
application installer but the application still won't run.

Is there any way to find out what is wrong?

Any help will be great.
Thanks and sorry for the long post.

Manos
 
Hi,

You could help us all a lot if you would post the content of the error
message displayed.
My target pc is able to connect to the database through an
Oracle DB SQLPlus client (using the correct TNS) and have
also installed MDAC 2.7 SP1. The ADODB.DLL is placed
through the installer.

And this sounds suspecting. ADO DB is comprised of many DLLs and not a
single DLL (of course if you are not talking of the Interop DLL). However,
if you say the target PC has MDAC 2.7 SP1 installed, this shouldn't be an
issue.

You should also probably check that an ADODB-compatible provider for Oracle
is installed on the target PC.
 
Hi Dmitriy,

Thanks for your reply. Actually I think that the content
of the error message will not be very helpfull, but here
it is:
"Application has generated an exception that could no be
hanled.

Process id=0x59c(1436) Thread id=0x790(1936)

Click OK to terminate the application.
Click CANCEL to debug the application."
You should also probably check that an ADODB-compatible provider for Oracle
is installed on the target PC.

Now as for the above comment of yours, where can I get an
ADODB-compatible provider for Oracle? Is it downloadble
from Microsoft or is included in VS7? I think this could
be the solution, but then again I'm not sure, cause the
target PC has Oracle client installed, but not OLEDB
provider.

Any more help would be much appreciated.

Thanks.

Manos

-----Original Message-----
Hi,

You could help us all a lot if you would post the content of the error
message displayed.
My target pc is able to connect to the database through an
Oracle DB SQLPlus client (using the correct TNS) and have
also installed MDAC 2.7 SP1. The ADODB.DLL is placed
through the installer.

And this sounds suspecting. ADO DB is comprised of many DLLs and not a
single DLL (of course if you are not talking of the Interop DLL). However,
if you say the target PC has MDAC 2.7 SP1 installed, this shouldn't be an
issue.

You should also probably check that an ADODB-compatible provider for Oracle
is installed on the target PC.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

Hi all,

I've developed a .NET Windows application which was
originally made in VB6 and migrated using the VS7
migration wizard.
After resolving all upgrade issues my application worked
fine on my development pc.
The application connects to an Oracle database
(unfortunatelly) and uses some VB6 controls such as
MSFlexGrid to show data.

Although I've created a deployment project and run it on
my target pc the application won't run throwing an error
like ProcessID=number and TrheadID=number.

My target pc is able to connect to the database through an
Oracle DB SQLPlus client (using the correct TNS) and have
also installed MDAC 2.7 SP1. The ADODB.DLL is placed
through the installer.

All needed dlls are supposed to have been installed by the
application installer but the application still won't run.

Is there any way to find out what is wrong?

Any help will be great.
Thanks and sorry for the long post.

Manos

.
 
Hi,
Now as for the above comment of yours, where can I get an
ADODB-compatible provider for Oracle? Is it downloadble
from Microsoft or is included in VS7? I think this could

I believe it is downloadable from the Microsoft website as I remember
discussions around MTS/COM+ where people were having transaction-related
problems with certain versions of Microsoft OLEDB provider for Oracle.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

Manos Karatsidis said:
Hi Dmitriy,

Thanks for your reply. Actually I think that the content
of the error message will not be very helpfull, but here
it is:
"Application has generated an exception that could no be
hanled.

Process id=0x59c(1436) Thread id=0x790(1936)

Click OK to terminate the application.
Click CANCEL to debug the application."
You should also probably check that an ADODB-compatible provider for Oracle
is installed on the target PC.

Now as for the above comment of yours, where can I get an
ADODB-compatible provider for Oracle? Is it downloadble
from Microsoft or is included in VS7? I think this could
be the solution, but then again I'm not sure, cause the
target PC has Oracle client installed, but not OLEDB
provider.

Any more help would be much appreciated.

Thanks.

Manos

-----Original Message-----
Hi,

You could help us all a lot if you would post the content of the error
message displayed.
My target pc is able to connect to the database through an
Oracle DB SQLPlus client (using the correct TNS) and have
also installed MDAC 2.7 SP1. The ADODB.DLL is placed
through the installer.

And this sounds suspecting. ADO DB is comprised of many DLLs and not a
single DLL (of course if you are not talking of the Interop DLL). However,
if you say the target PC has MDAC 2.7 SP1 installed, this shouldn't be an
issue.

You should also probably check that an ADODB-compatible provider for Oracle
is installed on the target PC.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

Hi all,

I've developed a .NET Windows application which was
originally made in VB6 and migrated using the VS7
migration wizard.
After resolving all upgrade issues my application worked
fine on my development pc.
The application connects to an Oracle database
(unfortunatelly) and uses some VB6 controls such as
MSFlexGrid to show data.

Although I've created a deployment project and run it on
my target pc the application won't run throwing an error
like ProcessID=number and TrheadID=number.

My target pc is able to connect to the database through an
Oracle DB SQLPlus client (using the correct TNS) and have
also installed MDAC 2.7 SP1. The ADODB.DLL is placed
through the installer.

All needed dlls are supposed to have been installed by the
application installer but the application still won't run.

Is there any way to find out what is wrong?

Any help will be great.
Thanks and sorry for the long post.

Manos

.
 
Back
Top