2

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.

1 Answers1

3

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

Glen
  • 151