Wrox Programmer Forums
|
ASP Pro Code Clinic As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Pro Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 9th, 2004, 02:14 PM
Authorized User
 
Join Date: Jun 2003
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Default ASP and VB problem

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
__________________
Stéphane

A programmer is a device that transform coffee in code lines

\"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.\" Rich Cook
 
Old February 9th, 2004, 02:52 PM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 171
Thanks: 0
Thanked 1 Time in 1 Post
Default

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.

 
Old February 9th, 2004, 03:08 PM
Authorized User
 
Join Date: Jun 2003
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
 
Old February 9th, 2004, 05:52 PM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 171
Thanks: 0
Thanked 1 Time in 1 Post
Default

cool






Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem while calling a VB COM DLL in ASP ranee Classic ASP Components 0 December 1st, 2005 09:44 AM
weird ASP/VB/Oracle problem.... Bij81 Classic ASP Databases 0 October 28th, 2005 03:57 AM
Problem with Exercise in Beg. asp.net for VB.net! mrfella71 BOOK: Beginning ASP.NET 1.0 1 October 23rd, 2005 12:06 PM
Problem reusing the Existing VB 6 DLL in ASP.NET francis VS.NET 2002/2003 3 July 11th, 2003 03:21 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.