A
agnes
Hi Everyone,
This is my problem:
I've developed a reporting system. Some of the code is in
ASP and some in Dlls. It works.
Since I wanted to convert my ASP code to ASP.NET I've
installed Visual Studio .NET Enterprise Developer, and
the Microsoft .NET Framework version 1.1 offered by the
Windows Updates.
I was under impression that my Visual Studio 6 environment
as well as execution of my existing application will not
be affected.
Now I am trying to run my application(ASP, dlls) and the
strangest thing happens - my dll crashes.
It chokes on the "request.form" - in dll I'm using a
request object to get the value from the field on the form.
This is how I initalize my request object
Dim req As Request
Dim cnt As ObjectContext
Set cnt = GetObjectContext()
Set req = cnt("Request")
p = req.form("TextBoxValue") & ""
The dll does not produce any specific error. It just
crashes. When it comes back to my ASP code the ASP throws
the following error:
"Error Number: 507 Description: An exception occurred"
Response object, on the other hand, works fine. I
response.write from that dll all the time. Only request
chokes.
Also, this version works on all other computers and it
used to work on mine.
I've been going nuts surfing the web for an answer and
tried many things but did not resolve this.
I appreciate any help.
Thanks
Agnes
This is my problem:
I've developed a reporting system. Some of the code is in
ASP and some in Dlls. It works.
Since I wanted to convert my ASP code to ASP.NET I've
installed Visual Studio .NET Enterprise Developer, and
the Microsoft .NET Framework version 1.1 offered by the
Windows Updates.
I was under impression that my Visual Studio 6 environment
as well as execution of my existing application will not
be affected.
Now I am trying to run my application(ASP, dlls) and the
strangest thing happens - my dll crashes.
It chokes on the "request.form" - in dll I'm using a
request object to get the value from the field on the form.
This is how I initalize my request object
Dim req As Request
Dim cnt As ObjectContext
Set cnt = GetObjectContext()
Set req = cnt("Request")
p = req.form("TextBoxValue") & ""
The dll does not produce any specific error. It just
crashes. When it comes back to my ASP code the ASP throws
the following error:
"Error Number: 507 Description: An exception occurred"
Response object, on the other hand, works fine. I
response.write from that dll all the time. Only request
chokes.
Also, this version works on all other computers and it
used to work on mine.
I've been going nuts surfing the web for an answer and
tried many things but did not resolve this.
I appreciate any help.
Thanks
Agnes