?
Solved

ASPTypeLibrary in Windows Server 2003 COM+ not working

Posted on 2009-07-15
1
Medium Priority
?
619 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
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.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

752 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