|
Subject:
|
ASP and VB problem
|
|
Posted By:
|
stephanel
|
Post Date:
|
2/9/2004 1:14:48 PM
|
Here the situation. I was ask to make a second version of ASP app. I first copy all the codes. Then I go project by project changing the name (ex: Component1.Application for Component2.Application), changing the project GUID (by removing the binary compatibility and recompilation). I also make sure to update all reference in the new version. So far, I've don't have any problem. Then check if the 2 version of the app are capable of running on the same computer.
For the first Test, I start the Version 1 in debug mode and loging in the App. Then I start the Version 2 of the App in debug mode and loging in the App. No problem I can use the 2 version on the same computer.
For the second Test, I start the Version 2 in debug mode and loging in the App. Then I start the Version 1 and loging in the App. With the Version 1, I'm authentificate with no problem, then when it try to check if the Session is still valid in the start up page of the App, it crashes.
The funny thing in this is I can trace the authentification process with no problem, but I can't trace the Session validation
I try to unregister all of my DLL (Not resvr32 -u, but a more powerfull utility that remove all version of a DLL) and registering both version again and I still have the problem.
What can cause this problem? Any help or pointer would be appreciate
Stéphane Lajoie
|
|
Reply By:
|
DaveGerard
|
Reply Date:
|
2/9/2004 1:52:13 PM
|
I ran into a similar problem with two different versions of a tracking application that I developed. I was opening each app consecutively in the same window. One after the other. It appeared that some of my session variables were being reset upon opening the second app so when I went back to the first app, certain variables no longer applied and, therefore, crashed to site. That wasn't a problem when viewing the apps in different browser windows of course. Then again, if you have a global.asa file that you use to authenticate, perhaps some of your variables may be getting reset there.
|
|
Reply By:
|
stephanel
|
Reply Date:
|
2/9/2004 2:08:14 PM
|
I've got the problem with 2 windows. And the 2 App are running on 2 different website. I think I found what was the problem. It seen that ISS sometime like to take an other version of the DLL when I'm running the debug mode. I unregister all the DLL for both version and it seen to correct problem
Stéphane Lajoie
|
|
Reply By:
|
DaveGerard
|
Reply Date:
|
2/9/2004 4:52:31 PM
|
cool
|