473,796 Members | 2,536 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error number 448?

I am trying to pass a datatable from a page to another
page in a different frame. The user would see the results
of a query in the first frame then could navigate through
the second frame to a page that uses the query data for
another purpose.
I kept getting null-object-reference errors when I tried
to bind the data to a control in the second frame. In an
attempt to trace the problem I set up a little test of
session variables to see if I had the basics right.
Perhaps I shouldn't assume it works just like ASP. In the
page in frame1, I have (in Page_Load) this line:

Session("test1" ) = "testing testing"

In the page in frame2 I have (in Page_Load):

Try
FileOpen(1, "C:/Inetpub/wwwroot/mysite/debugout.txt",
OpenMode.Output , OpenAccess.Writ e, OpenShare.Defau lt)
WriteLine(1, "sessiontes t:", Session("test1" ))
Catch err As Exception
WriteLine(1, err.ToString())
Finally
FileClose(1)
End Try

The result is a blank page in frame2, and debugout.txt has
one line:
"sessiontest:"# ERROR 448#

I can't find a reference to this error anywhere. Am I
using session variables correctly? Do I have to create a
global.asax file to initialise session variables? I have
no clue what is happening here.
Nov 18 '05 #1
2 1619
Try changing this line
WriteLine(1, "sessiontes t:", Session("test1" ))
to
WriteLine(1, "sessiontes t:", CType(Session(" test1"),string)

Jerry

-----Original Message-----
I am trying to pass a datatable from a page to another
page in a different frame. The user would see the results
of a query in the first frame then could navigate through
the second frame to a page that uses the query data for
another purpose.
I kept getting null-object-reference errors when I tried
to bind the data to a control in the second frame. In an
attempt to trace the problem I set up a little test of
session variables to see if I had the basics right.
Perhaps I shouldn't assume it works just like ASP. In the
page in frame1, I have (in Page_Load) this line:

Session("test1" ) = "testing testing"

In the page in frame2 I have (in Page_Load):

Try
FileOpen(1, "C:/Inetpub/wwwroot/mysite/debugout.txt",
OpenMode.Outpu t, OpenAccess.Writ e, OpenShare.Defau lt)
WriteLine(1, "sessiontes t:", Session("test1" ))
Catch err As Exception
WriteLine(1, err.ToString())
Finally
FileClose(1)
End Try

The result is a blank page in frame2, and debugout.txt hasone line:
"sessiontest:"# ERROR 448#

I can't find a reference to this error anywhere. Am I
using session variables correctly? Do I have to create a
global.asax file to initialise session variables? I have
no clue what is happening here.
.

Nov 18 '05 #2
Good suggestion, but the result was exactly the same.
-----Original Message-----
Try changing this line
WriteLine(1, "sessiontes t:", Session("test1" ))
to
WriteLine(1, "sessiontes t:", CType(Session ("test1"),strin g)
Jerry

-----Original Message-----
I am trying to pass a datatable from a page to another
page in a different frame. The user would see the resultsof a query in the first frame then could navigate throughthe second frame to a page that uses the query data for
another purpose.
I kept getting null-object-reference errors when I tried
to bind the data to a control in the second frame. In an
attempt to trace the problem I set up a little test of
session variables to see if I had the basics right.
Perhaps I shouldn't assume it works just like ASP. In thepage in frame1, I have (in Page_Load) this line:

Session("test1" ) = "testing testing"

In the page in frame2 I have (in Page_Load):

Try
FileOpen (1, "C:/Inetpub/wwwroot/mysite/debugout.txt",OpenMode.Outp ut, OpenAccess.Writ e, OpenShare.Defau lt)
WriteLine(1, "sessiontes t:", Session("test1" ))
Catch err As Exception
WriteLine(1, err.ToString())
Finally
FileClose(1)
End Try

The result is a blank page in frame2, and debugout.txt

has
one line:
"sessiontest:"# ERROR 448#

I can't find a reference to this error anywhere. Am I
using session variables correctly? Do I have to create a
global.asax file to initialise session variables? I have
no clue what is happening here.
.

.

Nov 18 '05 #3

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

Similar topics

1
5041
by: Wayno | last post by:
My php logs are coming up empty. I have done all I can think of, and all that made sense to me. Can someone take a look at my php.ini please and tell me what you think may be the problem. I double-checked the path to my error log. It is in /var/www/logs/php_error_log Thanks. :) -Wayne Stevenson
0
3048
by: Morten Gulbrandsen | last post by:
mysql> USE company; Database changed mysql> mysql> DROP TABLE IF EXISTS EMPLOYEE; -------------- DROP TABLE IF EXISTS EMPLOYEE -------------- Query OK, 0 rows affected (0.00 sec)
13
6619
by: deko | last post by:
I use this convention frequently: Exit_Here: Exit Sub HandleErr: Select Case Err.Number Case 3163 Resume Next Case 3376 Resume Next
6
4759
by: Peter Frost | last post by:
Please help I don't know if this is possible but what I would really like to do is to use On Error Goto to capture the code that is being executed when an error occurs. Any help would be much appreciated. Thanks in advance
1
2137
by: Boris | last post by:
All, Please help me with following error. I am using classic ASP to connect to MS Access DB to create a table dynamically. Following is the table definition. I get the error when I execute the following SQL. CREATE TABLE ( NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL ,
4
1902
by: Eugene Anthony | last post by:
One problem with the code bellow is after this code conn.qDupUser p1,rs I added: set rs = nothing to test the error handling capability.
10
3788
by: Lisa | last post by:
In translating the formula for calculating lottery odds for various conditions into a Visual Basic Program, I have apparently missed something in that I get errors in the part of the calculation where the number of ways of failure (pFal) is calculated Both errors happen in the code section x1 = Draw - MatchesReq x2 = Field - Selections For Counter = 1 To (Draw - MatchesReq - 1) x1 = x1 * (Draw - MatchesReq - Counter)
1
4826
by: Bruce | last post by:
Hello, I know this must be something simple I'm overlooking but I can't get err.raise inside a class to return anything but 440 - automation error. For example, if I create the following test class: Option Compare Database Option Explicit Private Sub Class_Initialize()
2
19495
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I will be writing this article intended for those who are in the same level, or maybe lower, of my technical knowledge. I would be using layman's words, or maybe, my own words as how I understand them, hoping, you will understand it the same way that...
0
2897
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I will be writing this article intended for those who are in the same level, or maybe lower, of my technical knowledge. I would be using layman's words, or maybe, my own words as how I understand them, hoping, you will understand it the same way that...
0
10230
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9052
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7548
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6788
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5442
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5575
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4118
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2926
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.