February 5th, 2010 | |
Posted in ASP.NET
I thought I’d lump these two together since they seem to be interrelated. So I’m doing development on a dev box I haven’t worked with in a while. I have a Visual Studio project that works like a champ on my box, but as soon as I load it up to the dev I get the error message ‘Could Not Load Type _Default.’ I was thinking it was a web.config issue so I tried to massage that for a while with no luck. I’d set up the application correctly in IIS so it shouldn’t have any issues accessing the dll in the local bin folder. What I hadn’t counted on was the two versions of the .NET Framework running on this box. This was a 2.0 app I’d developed and my current application was defaulting over to 1.1. Updated this under the application in IIS, and up it came. It didn’t stay up for long though as I surfed through my application and quickly hit a ‘Server Application Unavailable’ error. I threw this project into the 2.0 application pool and everything settled down.