Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Active Users 4.0 Always Shows "Invalid Location"
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

SPulley
Starting Member

USA
46 Posts

Posted - 24 April 2002 :  19:22:52  Show Profile  Visit SPulley's Homepage  Send SPulley an AOL message
The querystrings are indeed in the database.. I'll do some more digging tonight after the kids are in bed...

Have fun and be good!!

Shad Pulley
shadstrains@mylargescale.com
www.mylargescale.com/forum
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 24 April 2002 :  19:34:19  Show Profile  Visit Nathan's Homepage
If you want to use the file without the get rows (it also has a great deal of other bugfixes) you can download it here: http://66.189.200.59/au4.zip

**Thats on my local server, so if my power goes out again the link will be broken

Nathan Bales
Snitz Exchange | Do's and Dont's
Go to Top of Page

SPulley
Starting Member

USA
46 Posts

Posted - 25 April 2002 :  00:56:07  Show Profile  Visit SPulley's Homepage  Send SPulley an AOL message
No dice. That file spits out different errors all together.. A little more info..

Addition of the following on line 74 produces the querystring at the top of the page.


rs.movefirst
response.write "query = " & rs("au_querystring")


So, the querystring is making it into the recordset.

Now we add this little snippet of code that will display everything in the array...



iRecFirst = LBound(arrAM, 2)
iRecLast = UBound(arrAM, 2)
iFieldFirst = LBound(arrAM, 1)
iFieldLast = UBound(arrAM, 1)

' Display a table of the data in the array.
' We loop through the array displaying the values.
%>
<table border="1">
<%
' Loop through the records (second dimension of the array)
For I = iRecFirst To iRecLast
' A table row for each record
Response.Write "<tr>" & vbCrLf

' Loop through the fields (first dimension of the array)
For J = iFieldFirst To iFieldLast
' A table cell for each field
Response.Write vbTab & "<td>" & arrAM(J, I) & " </td>" & vbCrLf
Next ' J

Response.Write "</tr>" & vbCrLf
Next ' I
%>
</table>
<%
' That's all folks!



When this code is added at line 74, nada, no querystring in the array.. So you have a problem here.. The querystring field is the only one that is not making it over. Everything else finds it's way into the array.. I'm not sure why that is.. See this code in action here....

http://stage.mylargescale.com/forum/active_users.asp

One thing that just occured to me was maybe the ADO/MDAC version installed on the server. Something like that could be to blame.

I may try to take things out of the array tomorrow and just cycle through the recordset.


Have fun and be good!!

Shad Pulley
shadstrains@mylargescale.com
www.mylargescale.com/forum

Edited by - spulley on 25 April 2002 01:01:24
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 25 April 2002 :  01:08:00  Show Profile  Visit Nathan's Homepage
What errors does that new file spit out? Need to get those fixed anyway.

Nathan Bales
Snitz Exchange | Do's and Dont's
Go to Top of Page

SPulley
Starting Member

USA
46 Posts

Posted - 30 April 2002 :  17:50:12  Show Profile  Visit SPulley's Homepage  Send SPulley an AOL message
Well pinch my toe and call me a jelly donut.. I figured it out.... As I suspected it had something to do with the MDAC or ADO driver that it was defaulting to.. I had a good friend and programmer look into it and he said that the connection string looked funny. He gave me a new one to try and presto.. Everything started to work. You might want to update your connection string in config.asp to look like this as well..


strconnString="Provider=SQLOLEDB; Data Source=[PUT SQL SERVER IP ADDRESS HERE]; Initial Catalog=[DB NAME]; User ID=[USERNAME HERE]; Password=[PUT PASS HERE];Network Library=dbmssocn"




Have fun and be good!!

Shad Pulley
shadstrains@mylargescale.com
www.mylargescale.com/forum
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 30 April 2002 :  18:11:53  Show Profile  Visit Nathan's Homepage
Ah ha . . . an OLEDB connection. As opposed to an ODBC?

Nathan Bales
Snitz Exchange | Do's and Dont's
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07