|
-
Nov 1st, 2002, 04:45 PM
#1
Thread Starter
Addicted Member
Deployment Problems, Object Reference
Server Error in '/myapp' Application.
Object reference not set to an instance of an object.
Line 97: rsID = New ADODB.Recordset()
Line 98:
Line 99: rsID.Fields.Append("ID", ADODB.DataTypeEnum.adBigInt)
Line 100:
Line 101: rsID.Open()
So what is wrong with that? rs = new then as soon as it's referenced it says it's not created. The code works fine on my computer but as soon as I copy it out to the production web server it hiccups on this line. It gives the same error on every page that I have, always when it tries to get data from a created ADODB recordset.
I've tried it on two production servers but I get the same error.
I've had this very page working before on both of the production servers.
-Daryl
"Two More Rolls of Duct tape, and the world is mine!"
VB.NET Guru
-
Nov 1st, 2002, 05:08 PM
#2
Thread Starter
Addicted Member
Reboot.
I was able to convince an admin to reboot one of the production servers and now it's working. Have to wait till tonight to reboot the other...
-Daryl
"Two More Rolls of Duct tape, and the world is mine!"
VB.NET Guru
-
Nov 4th, 2002, 09:04 PM
#3
Thread Starter
Addicted Member
This is worse then DLL Hell. Now it's doing the same thing again. I have two web sites on one server one of them was having this problem again (without any changes having been made to it) and so I rebooted the server, the page that was having the error started working, and the page that was working started having the error!! What is going on?!?!
-Daryl
"Two More Rolls of Duct tape, and the world is mine!"
VB.NET Guru
-
Nov 12th, 2002, 12:55 PM
#4
Thread Starter
Addicted Member
I merged my two web projects into one and now everyhting works. Looks like you can't have two web projects that both use the ADODB.DLL on the same server. As I get better at using the System.data stuff this prolbem should dissapear.
-Daryl
"Two More Rolls of Duct tape, and the world is mine!"
VB.NET Guru
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
|
Click Here to Expand Forum to Full Width
|