Solved

ASPTypeLibrary in Windows Server 2003 COM+ not working

Posted on 2009-07-15
1
611 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
HTTPSendRequest with WinINet delays on first call 11 114
IIS Authentication Error 401 16 63
Domain Controller/ Old server 9 63
Windows Server 2003 2 27
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
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.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

740 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