-
MyDb.aspDBPro shows nothing!
Hi,
I just downloaded an evaluation version of aspdbPro. I installed it with no problems (I think).
It seems that works (it passes all the tests) BUT...
It doesn't show the data!
All aspdb properties seem to work nice.
Although it shows an error message if I don't define correctly the connection properties (dbdsn etc), it shows nothing when the connection properties are right!
I'm using PWS on an Windows98 mashine.
Please help me.
Thanks in advance,
Johnnnie
-
MyDb.aspDBPro shows nothing! (reply)
Hi Johnnie,
First of all, you must register it with MTS, not regsvr32.
Second of all, try running the sample programs. Does smartdb.asp work?
Does pureasp.asp work?
Once you get it working with the sample programs, change the data source
to your programs and you're on your way!
Thanks,
John
------------
Johnnie at 6/25/00 11:36:32 AM
Hi,
I just downloaded an evaluation version of aspdbPro. I installed it with no problems (I think).
It seems that works (it passes all the tests) BUT...
It doesn't show the data!
All aspdb properties seem to work nice.
Although it shows an error message if I don't define correctly the connection properties (dbdsn etc), it shows nothing when the connection properties are right!
I'm using PWS on an Windows98 mashine.
Please help me.
Thanks in advance,
Johnnnie
-
MyDb.aspDBPro shows nothing! (reply2)
Hi John,
Thanx for your help but...
I register with MTS and I still get the same results!
The tests work fine but they don't show the data!!!
I know that all the code that have to do with aspdb works fine except for the aspDBPro method that does nothing.
Here is the Basic1.asp example that I use to proove that aspdb works but aspDBPro method does not:
<HTML>
<BODY>
<%
Set MyDb = Server.CreateObject("AspDB.Pro" 'Create the ASP-db Object
MyDb.dbUnit = 123 'Make this a unique number for each page
MyDb.dbDSN = "DSN=NORTHWIND;UID=SA;PWD=;Database=NORTHWIND& #34;
mydb.dbDBType = "SQL"
MyDb.dbSQL = "Select * from Categories" 'Put in your own SQL here
Response.Write(MyDB.dbVersion) ' <--- This is mine to proove it aspdb works
------------------------------
MyDb.aspDBPro 'Display the data!
%>
</BODY>
</HTML>
the result is a page that only displays:
6.2801 - Pro
How about that?
TNX in advance,
Johnnie
------------------------------------------------------------------------
------------
John at 6/26/00 4:10:10 AM
Hi Johnnie,
First of all, you must register it with MTS, not regsvr32.
Second of all, try running the sample programs. Does smartdb.asp work?
Does pureasp.asp work?
Once you get it working with the sample programs, change the data source
to your programs and you're on your way!
Thanks,
John
------------
Johnnie at 6/25/00 11:36:32 AM
Hi,
I just downloaded an evaluation version of aspdbPro. I installed it with no problems (I think).
It seems that works (it passes all the tests) BUT...
It doesn't show the data!
All aspdb properties seem to work nice.
Although it shows an error message if I don't define correctly the connection properties (dbdsn etc), it shows nothing when the connection properties are right!
I'm using PWS on an Windows98 mashine.
Please help me.
Thanks in advance,
Johnnnie
-
MyDb.aspDBPro shows nothing! (reply2) (reply)
Johnnie,
Be sure your address start with the letters "http" in your browser's address line. If it does not start with the letters "http" , then the asp code will never get processed by your server.
I don't know if this is your problem, but a lot a users have this problem. It often comes from trying the view the asp page by double-clicking on the file name. You can NOT start an asp page that way. You MUST **TYPE** in the complete URL on the keyboard. Such as:
http://localhost/aspdb/pro/default.htm
Mark.
------------
Johnnie at 6/26/00 3:14:24 PM
Hi John,
Thanx for your help but...
I register with MTS and I still get the same results!
The tests work fine but they don't show the data!!!
I know that all the code that have to do with aspdb works fine except for the aspDBPro method that does nothing.
Here is the Basic1.asp example that I use to proove that aspdb works but aspDBPro method does not:
<HTML>
<BODY>
<%
Set MyDb = Server.CreateObject("AspDB.Pro" 'Create the ASP-db Object
MyDb.dbUnit = 123 'Make this a unique number for each page
MyDb.dbDSN = "DSN=NORTHWIND;UID=SA;PWD=;Database=NORTHWIND& #34;
mydb.dbDBType = "SQL"
MyDb.dbSQL = "Select * from Categories" 'Put in your own SQL here
Response.Write(MyDB.dbVersion) ' <--- This is mine to proove it aspdb works
------------------------------
MyDb.aspDBPro 'Display the data!
%>
</BODY>
</HTML>
the result is a page that only displays:
6.2801 - Pro
How about that?
TNX in advance,
Johnnie
------------------------------------------------------------------------
------------
John at 6/26/00 4:10:10 AM
Hi Johnnie,
First of all, you must register it with MTS, not regsvr32.
Second of all, try running the sample programs. Does smartdb.asp work?
Does pureasp.asp work?
Once you get it working with the sample programs, change the data source
to your programs and you're on your way!
Thanks,
John
------------
Johnnie at 6/25/00 11:36:32 AM
Hi,
I just downloaded an evaluation version of aspdbPro. I installed it with no problems (I think).
It seems that works (it passes all the tests) BUT...
It doesn't show the data!
All aspdb properties seem to work nice.
Although it shows an error message if I don't define correctly the connection properties (dbdsn etc), it shows nothing when the connection properties are right!
I'm using PWS on an Windows98 mashine.
Please help me.
Thanks in advance,
Johnnnie
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|