Link to home
Start Free TrialLog in
Avatar of dcwebman
dcwebman

asked on

ASPTypeLibrary in Windows Server 2003 COM+ not working

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

ASKER CERTIFIED SOLUTION
Avatar of dcwebman
dcwebman

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial