Classic ASP using COM+ on x64 Windows Server 2008 and IIS7
Asked Answered
N

2

4

(Note: I thought about posting this to serverfault, but I figured more developers have banged their heads against these issues than admins)

I'm trying to set up a web page that uses both ASP Classic and ASP.NET 2.0 in the environment mentioned above. After applying many common fixes on the web and a few lucky guesses, the ASP.NET 2.0 pages are finally running fine (Minus COM+). The ASP Classic pages aren't running at all.

So I'm thinking the x64 environment is a the cause of most of my problems. Is there anyone here using old COM+ stuff with ASP Classic and ASP.NET in x64 and IIS7 with some words of wisdom?

Norseman answered 30/7, 2009 at 17:43 Comment(1)
It seems that a number of my problems have been fixed by launching the 32-bit versions of both regedt32 to load registry values and the SQL Server Client Network Utility (cliconfg).Norseman
C
3

You need to set the application pool to 32 bit mode ("Enable 32-bit Applications" in advanced properties). Set anonymous user permissions correctly. More IIS7 ASP material from learn.iis.net.

Counterattraction answered 30/7, 2009 at 18:8 Comment(1)
Thanks for the info on setting anonymous user permissions, I've progressed a bit further using the methods in my comments to my question but have come to a problem for which reviewing those permissions is suggested.Norseman
N
3

When working with x86 stuff in one of the fancy new x64 environments, look over your shoulder at every opportunity for configuration settings that need to be applied to both sides(x86/x64) of the operating system.

My problems were being caused by two groups of configuration settings that had to be set in both x64 and x86.

To enter the settings in the x86 side, here are some tips:

  1. Copy any needed DLLs into the sysWOW64 folder.
  2. Use a 32-bit Console to launch utilities such as the SQL Server Client Network Utility (cliconfg) and Registry Editor (regedt32). Using the 32-bit console will launch these utilities from the 32-bit system folder (%windir%\SysWoW64). I made a shortcut pointed to %windir%\SysWoW64\cmd.exe and launched it as an administrator.
Norseman answered 30/7, 2009 at 20:57 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.