We get a problem in which every time we copy the dll to the bin directory, our main domain on the website stops and the only way to get it back is to restart the "WWW Publishing Service".
We are launching a website that contains several IIS applications running on the same server, where each of these applications is configured to run different application pools.
We have a large code base that contains over 280 aspx pages throughout the site. Our main domain contains about 100 aspx pages, while subdomains contain 15 or 20 each.
When we build, we are currently creating a bunch of dlls that we manually copy to the bin directory for production servers. Once we do this, IIS obviously starts processing, compiling each of the aspx pages and the code behind. At this point, the site essentially stops (sometimes it needs to be restarted - by restarting the web publishing service) to wake it up again).
Curiously, this only happens when we deploy the IIS application of the primary domain, i.e. www. If we decompose the bin file into a subdomain in the same way, it works almost instantly.
Even if I do iisreset.exe, this does not seem to fix the problem.
A few questions:
- Is there a way to speed up the current process so that we do not restart the server?
- Were there obvious changes or code updates that would necessitate a restart of the service (sometimes we run iisreset, but this does not seem to bring it back to life)?
Some specifications:
- Code written in: C #
- .net framework: 2.0
- Server: Windows Web Server 2008
- iis version: IIS7
- Database: MSSQL 2008 Standard
Any help would be greatly appreciated. Thanks in advance.
Stacman
source share