It would be helpful to know which line is giving you the error, but I think the problem might be with these lines:
Code:
set AdminObjconn = server.createobject("ADODB.Connection")
Application("Connection1_ConnectionString") = AdminObjconn.GetStrAdvReg("General","ConnString")
You need to open the connection before you can do anything with your AdminObjconn object, otherwise its just a connection object that doesn't point to any database.
You should probably use this code:
Code:
set AdminObjconn = server.createobject("ADODB.Connection")
AdminObjconn.Open Your_Connection_String
Application("Connection1_ConnectionString") = AdminObjconn.GetStrAdvReg("General","ConnString")