T
taltene
Hi all.
This is regarding the IIS 7.5 API.
1. Does someone know how to set an application pool LoadUserProfile value?
I couldn't even find this attribute as part of the ApplicationPoolDefaults Class members.
2. I wrote the following in order to set Site Browsing to true:
using (m_serverManager)
{
Configuration config = m_serverManager.GetWebConfiguration(m_sSiteName);
ConfigurationSection directoryBrowseSection = config.GetSection("system.webServer/directoryBrowse");
directoryBrowseSection["enabled"] = true;
m_serverManager.CommitChanges();
}
But right after that the server manager object was disposed! Why?
Thanks!
This is regarding the IIS 7.5 API.
1. Does someone know how to set an application pool LoadUserProfile value?
I couldn't even find this attribute as part of the ApplicationPoolDefaults Class members.
2. I wrote the following in order to set Site Browsing to true:
using (m_serverManager)
{
Configuration config = m_serverManager.GetWebConfiguration(m_sSiteName);
ConfigurationSection directoryBrowseSection = config.GetSection("system.webServer/directoryBrowse");
directoryBrowseSection["enabled"] = true;
m_serverManager.CommitChanges();
}
But right after that the server manager object was disposed! Why?
Thanks!