Welcome! and rules
Joel on Software
Helpless in Norcal..."Cannot Load Type" Asp.Net
Platform: Windows 2003
Global.asax.vb contains a definition for Foo.Global, and you're compiling the project, correct? When you peek into the assembly in the /bin directory, does it contain a definition for Foo.Global?
Brad Wilson (dotnetguy.techieswithcats.com)
...and does the ASPNET account have read/execute access on the /bin directory?
Yep, I checked the bin first...recompiled it... same response. And I get this error for every single web app on my box, including ones that worked fine before.
I ran into this a few times during the beta... the only thing that seemed to work for me was reinstalling the framework, and then reinitializing it within IIS. In other words, after the framework reinstall, running "aspnet_regiis -u" and then "aspnet_regiis -i" from the framework directory.
I found that Visual Studio.NET sometimes does a dirty trick and excludes a file from your project without you noticing. Right-click on the file in Solution Explorer and select "Include in Project" and then rebuild...
Fog Creek Home