473,385 Members | 1,958 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,385 software developers and data experts.

Helps Needed FOr ODBC in ASP

hi all, i am currently doing a website in ASP which is using ODBC to
connect the ERP Database in another server . when i run the system in
Winodws9 , it works perfectly, no errors and it may get the data from
the database . But when ic hange to winodws XP , here the problem
comes.

My windowsXP pro is using iis5.1 with sp2. The MDAC version 2.8 . i
cannot get any solution until now ( already 2 weks time ) , even though
i try to searched many forum, websites.

Below is my souce code. i have tried to close the connection fro RS and
Conn, but it still appear the same error.i already give all the
permission by sharing the whole database using simple file sharing .But
it still not working.

Set conn = Server.CreateObject("ADODB.Connection")
conn.open "FILEDSN=C:\Program Files\Common Files\ODBC\Data
Sources\Syspro Local - Co. A.dsn"
set rs=server.createobject("adodb.recordset")
sql="SELECT * from INVMASTER "
rs.open sql,conn11, 1, 2

--------------------------------------------------------------------------------------------------------------------------------------
Error appears

Error Type:
Provider (0x8000FFFF)
Catastrophic failure
/try.asp, line 5

this is 1 of the error. some time it will appear An exception occur (
"rs" ) or error in conn.open
any experts pls help me to solve the problems.

Feb 27 '06 #1
1 1724

mi*****@hotmail.com wrote:
hi all, i am currently doing a website in ASP which is using ODBC to
connect the ERP Database in another server . when i run the system in
Winodws9 , it works perfectly, no errors and it may get the data from
the database . But when ic hange to winodws XP , here the problem
comes.

My windowsXP pro is using iis5.1 with sp2. The MDAC version 2.8 . i
cannot get any solution until now ( already 2 weks time ) , even though
i try to searched many forum, websites.

Below is my souce code. i have tried to close the connection fro RS and
Conn, but it still appear the same error.i already give all the
permission by sharing the whole database using simple file sharing .But
it still not working.

Set conn = Server.CreateObject("ADODB.Connection")
conn.open "FILEDSN=C:\Program Files\Common Files\ODBC\Data
Sources\Syspro Local - Co. A.dsn"
set rs=server.createobject("adodb.recordset")
sql="SELECT * from INVMASTER "
rs.open sql,conn11, 1, 2

--------------------------------------------------------------------------------------------------------------------------------------
Error appears

Error Type:
Provider (0x8000FFFF)
Catastrophic failure
/try.asp, line 5

this is 1 of the error. some time it will appear An exception occur (
"rs" ) or error in conn.open
any experts pls help me to solve the problems.


http://www.aspfaq.com/show.asp?id=2323

You've also changed the name of your connection object from conn to
conn11

/P.

Feb 27 '06 #2

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

Similar topics

0
by: A.P. Madura | last post by:
Need help in debugging this problem. I have an access database which I use to demonstrate Java - ODBC connectivity and it works perfectly fine. This allows me to assume that the Data Source name...
1
by: Eirik Tryggeseth | last post by:
During deployment of an application using distributed transactions managed under COM+ on an Oracle 9i RAC database, we encounter situations where the load balancing mechanisms in the RAC result in...
6
by: Andreas Lauffer | last post by:
I changed from Access97 to AccessXP and I have immense performance problems. Details: - Access XP MDB with Jet 4.0 ( no ADP-Project ) - Linked Tables to SQL-Server 2000 over ODBC I used...
2
by: Andrew | last post by:
Hi all! Sorry guys but I am totally ignorant on oracle matters. I need some guidance in how and what is needed to connect directly to an oracle 7.3.2.3.2 database on a OpenVMS operating system...
8
by: revathi | last post by:
Hi, I have created servlet program using Netbeans.I have also written the JDBC connectivity.But FileNotFoundException is arising.Can someone help me?
4
by: MLH | last post by:
I apologize in advance to forum readers noticing this somewhat redundant post. I fear that my Subject Heading was ill-chosen in earlier post I made on this topic. Am hoping that a clearer Subject...
8
by: Johan Goris | last post by:
I've made a small test program. I connect with oleDb (in fact sqlConnection ....etc) to a SQL-server. It works fine at home. But it did not work at another place, altough other simple C-sharp...
4
by: Me | last post by:
I am writing a C#.NET application that is primarily intended to be used with SQL server. One of my concerns is that in the future I will have users who do not have or want to run SQL Server. That...
1
by: tommydkat | last post by:
Hi! We've switched from Developer Studio 6.0 to Visual Studio .net 2003. Our application compiles fine with Visual Studio .net 2003 but when it runs, it uses the Microsoft ODBC driver as is shown...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.