Archive for category IIS
COULD NOT LOAD FILE OR ASSEMBLY ‘DOTNETNUKE.HTTPMODULES’
Posted by scottstoecker in .NET, Error, IIS on September 2, 2021
After deploying an application to production, I received the message:
COULD NOT LOAD FILE OR ASSEMBLY 'DOTNETNUKE.HTTPMODULES' OR ONE OF ITS DEPENDENCIES.
sMy web.config did not reference any DotNetNuke libraries.
To solve this, I had to open the IIS application, then go to the “Modules” section:
I then sorted the results by “Code” (one of the columns in that screen) and found all references that started with DotNetNuke or DNN. After removing them, all was well.
The requested page cannot be accessed because the related configuration data for the page is invalid
Posted by scottstoecker in .NET, Error, IIS on September 14, 2015
I needed to test a new web site locally before I sent it off to the IT team for further deployment work. I didn’t have IIS installed on my Windows 8 machine, so I installed it and I was happy.
After successfully creating my marvelous site (consisting of a grand total of one ASPX page), I published it via the handy dandy publish window. And off the files went, to my brand new local instance of IIS. And I was greeted with an error page that hated me:
“The requested page cannot be accessed because the related configuration data for the page is invalid.”
The line in question was:
<modules runAllManagedModulesForAllRequests="true"/>
Once again, Stack Overflow was my friend. And it turned out, I hadn’t installed ASP.NET. Yes, I could see how that could be a problem. So I ran this command:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis -I
Bing bang, it worked. Happiness in Scott land.
Service unavailable and the stopped application pool
Posted by scottstoecker in IIS, Tips on April 27, 2011
We use WSPBuilder in our current environment to deploy our web application. Usually, it works fine, but I noticed that I was getting the dreaded “Service unavailable” message. Nothing in the Event Viewer helped me, and setting my browser settings to hide the “friendly error messages” did nothing, and I was about ready to turn to alcohol or violence – I was kind of on the fence to which one.
Then, during my searches on Bing, I found a forum post on Issociate, and this quote is what got my attention:
“When a website is stopped, its icon changes, and at the Websites level, you see a “Stopped” state. When an Application Pool is stopped, its icon also changes, and at the Application Pools level, you see a “Stopped” state.”
Application pools have a stopped state, too? I know what an web site looks like when it’s stopped, but I wasn’t sure about an application pool. So I opened IIS and looked into the Application Pools folder and saw this:
- Application Pool in IIS
If you click on the image you can see the stopped pools have a few pixels that are red, and the started pools has a few pixels that are green.
AAAAHHHHHH!!!!!!
I spent an hour deploying and redeploying and running IISRESET commands and (almost) throwing things at bystanders because of that half-dozen pixels? Who came up with that idea? How about a great big STOP sign on it? I know I’m creeping ever closer to 40, but come on, that’s is way too small an difference to just casually notice.
Recent Comments