TimBiesiek
Programmer
Hi all!
I have an ASP application designed by an external company, which we are trying to get running on our system.
I had it running, but then installed MDAC 2.8 for another application, and this one then stopped running. When I try to start the app, it says that the 'Data Source name not found...' etc etc.
I've added some response.writes to find out the connection string, and it is using a default one (Which it shouldn't be), instead of the one specified in the Global.asa file...
Here's what is in the ASP file where the error is:
This obviously checks the connection string 'TrnPocketPCConnectString', and if it's blank, uses the DSN stated in the else clause. However, in the global.asa file is the following:
From this, it looks to me like the global.asa file isn't being read from when the app first starts... But I am only a novice with this kind of stuff...
Can anyone offer some help or suggestions?
Thanks!!!
I have an ASP application designed by an external company, which we are trying to get running on our system.
I had it running, but then installed MDAC 2.8 for another application, and this one then stopped running. When I try to start the app, it says that the 'Data Source name not found...' etc etc.
I've added some response.writes to find out the connection string, and it is using a default one (Which it shouldn't be), instead of the one specified in the Global.asa file...
Here's what is in the ASP file where the error is:
Code:
if Application("TrnPocketPCConnectString") > "" then
Session("TRNCONNECT") = Application("TrnPocketPCConnectString")
else
Session("TRNCONNECT") = "DSN=immtst;UID=immr4_Trn;PWD=immr4_trn"
end if
This obviously checks the connection string 'TrnPocketPCConnectString', and if it's blank, uses the DSN stated in the else clause. However, in the global.asa file is the following:
Code:
Application("TRNPocketPCConnectString") = "DSN=BIT Supp;UID=TrnUser;PWD=TrnPass"
From this, it looks to me like the global.asa file isn't being read from when the app first starts... But I am only a novice with this kind of stuff...
Can anyone offer some help or suggestions?
Thanks!!!