Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional 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 July 12th, 2007, 01:19 PM
Friend of Wrox
 
Join Date: Feb 2006
Posts: 116
Thanks: 0
Thanked 0 Times in 0 Posts
Default VB6, COM, Object doesn't support this property...

I am trying to install a dll into COM, and use it in my classic ASP page. The object is supposed to replace the Session object in classic ASP. It's a workaround to get ASP and ASP.NET to share session state that I found on MSDN here:

http://msdn2.microsoft.com/en-US/lib...oaspnet_topic6

I can get their provided example project to work on my local machine and on another server, but of course not on the server I need it to work on. I have been banging my head against the wall for about 2 days on this so far.

I would just move the dev site to the server this does work on, but I need to understand the problem in case this happens on the production server when I deploy these changes.

The VBScript code that declares the object in an include file thats included at the top of every asp page in the site seems to work:

dim Session
set Session = server.CreateObject("SessionMgr.Session2")

But then when you get to the first use of the Session object it gives:

Microsoft VBScript runtime error '800a01b6'

Object doesn't support this property or method


Nothing shows up in the event viewer that can point me the right direction. Anyone have any ideas on this type of problem??
 
Old July 12th, 2007, 05:54 PM
Friend of Wrox
 
Join Date: Feb 2006
Posts: 116
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Nevermind, the problem has nothing to do with COM and VBScript, but rather to how the code provided in the article implements Session state...

Neil Timmerman
Programmer
Veris Consulting





Similar Threads
Thread Thread Starter Forum Replies Last Post
Error-Object does not support doesn't support this bootsy Classic ASP Basics 1 May 25th, 2008 07:14 PM
error - Object doesn't support this property jamara VBScript 1 September 10th, 2006 05:13 AM
OBJECT DOESNT SUPPORT THIS PROPERTY OR METHOD KGANESH2006 Classic ASP Basics 4 March 24th, 2006 11:15 AM
Object doesn't support this property or method ASP crmpicco Classic ASP Components 0 March 16th, 2006 01:26 PM





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