classic asp app not working in IIS 8.5

14,667

Newer versions of IIS run under the ApplicationPoolIdentity account. If you go into the advanced settings for the application pool, you can try changing the identity under the process model section to NetworkService(What iis used to use, considered less secure now) or you can change the permissions to a different account or you could manually set the ACL's for your app pool.

This article may have some good information for you: http://blogs.msdn.com/b/vijaysk/archive/2009/02/13/goodbye-network-service.aspx

Share:
14,667

Related videos on Youtube

user1480864
Author by

user1480864

Updated on September 18, 2022

Comments

  • user1480864
    user1480864 almost 2 years

    I've moved my classic asp app to win 2012 R2 (IIS 8.5). This app uses COM component. I've registered this component using regsvr32 and also exported older components from II 6 to II 8.5. I can see those components in control pane->component services.

    This app is not working properly. Code include Server.CreateObject("myCOM"); looks like it works but when I try to get objArgs["prop1"]; it doesn't work. I see this error "Server.CreateObject failed while checking permissions. Access is denied to this object." What could be potential issue?

    PS: I've installed ASP/server side includes & others.

    • Peter Hahndorf
      Peter Hahndorf over 10 years
      Is your application pool running in 32bit? By default they run in 64bit mode and most COM components wont work.
    • user1480864
      user1480864 over 10 years
      I exported COM components from source and install on win 2k12 R2. Additionally, I registered using regsvr32. I've enabled 32bit application,.net CLR=4 & managed pipeline=Classic for app in IIS. What shall I do next?
    • Peter Hahndorf
      Peter Hahndorf over 10 years
      In IIS manager select your application pool and click on advanced settings. There is a setting in the list for 32bit, make sure that is set. That way the application pool process will run as a 32bit process and can run COM.
    • user1480864
      user1480864 over 10 years
      @Peter Hahndorf, I've mentioned 32bit is enabled.