Solved

ASPTypeLibrary in Windows Server 2003 COM+ not working

Posted on 2009-07-15
1
602 Views
Last Modified: 2013-11-17
We have multiple web servers running Windows Server 2003 with IIS 6. ASP pages call COM+ VB6 DLL's which in turn call SQL database stored procedures. The DLL's had to be changed because IIS had to be changed from Windows authentication to Anonymous. Since the DLL's were expecting the Windows authentication they didn't work so they had to be changed to use ASPTypeLibrary to get values from session variables. Works great and we put them on our test server and everything tested fine.

We then moved them to our staging server and suddenly ASPTypeLibrary doesn't work on that server as nothing comes back from the session variables. The servers were built identically and we have checked every IIS setting we can think of, the services running seem to be the same, etc. Obviously the code hasn't changed so there must be something server related we're not finding that's different between the two servers.

Any help would be greatly appreciated!
Dim objSession As ASPTypeLibrary.Session
Dim UserName As String
Set objSession = GetObjectContext.Item("Session")
UserName = objSession("User")

Open in new window

0
Comment
Question by:dcwebman
1 Comment
 

Accepted Solution

by:
dcwebman earned 0 total points
ID: 24874326
After getting no answers and not finding a solution, we just reinstalled IIS and everything else along with it and then the other server worked.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now