Quantcast
Channel: Configuration & Scripting
Viewing all articles
Browse latest Browse all 780

IIS 7.5 configuration isolation

$
0
0

Hello everyone,

Not sure if I have created this thread on the right forum.  

I have some queries on IIS 7.5 and applicationhost.config file.  I have an asp.net application which runs under IIS 7.5. This application uses its own application pool (and not the DefaultAppPool)

I have added some configurations on applicationhost.config file --> <globalModules> section. I want IIS to load a specific module only for  64 bit applications and not for 32 bit applications. I have added preCondition="bitness64" on the module in applicationhost.config file.

Now, in IIS 7.5 , if an application is using its own application pool, IIS or WAS creates application pool's own configuration files in

C:\inetpub\temp\appPools

When IIS creates these application pool specific config files, it is supposed to read the config changes we have done in the machine's applicationhost.config file BUT in my case IIS doesn't do that.  It doesn't read my changes from applicationhost.config file hence the "preCondition" doesn't apply to the application and it fails.

Has anyone else had this issue before?

I found this thread where a fellow had same issue and recommended that suing a 64 bit editor to edit applicationhost.config file solved the problem for them  BUT it doesn't seem to help me. 

http://serverfault.com/questions/404425/running-iis-7-5-on-64-bit-but-which-config-file-to-edit

Any insight on the issue would be appreciated.

Thanks.


Viewing all articles
Browse latest Browse all 780

Trending Articles