Tuesday, January 24, 2006

Another Web Project Annoyance

YAWPA (Yet Another Web Project Annoyance)

- Visual Studio 2003
- IIS 6

When I have a solution in debug mode attached to aspnet_wp.exe and try to open another solution that uses a web project, the second instance of Visual Studio just freezes ... no warning, no error, nothing.

Really annoying!  I was just trying to open the other solution so I could check something in a non-web project for reference and got sucked into trying to figure out why it wouldn't load.  Took me a few minutes to figure it out but I've been coding for many hours now and my problem solving skills are starting to suffer I think.

Monday, January 23, 2006

PInvoke How-Tos!

Matt Tiemeyer found this site today while we were digging up some obscure PInvoke API documentation called PInvoke.net ... it's like a Wiki with everything you wanted to know about PInvoke and lots of sample code.  Very great resource ... added it to my bookmarks and you should too.

From the Site:

It's time to stop writing PInvoke signatures from scratch! Instead, copy and paste your way to productivity!

And this site has more than just signatures & type definitions. For example:

  • Folks like you are sharing gotchas, tips, and samples specific to managed code. For example, check out why you shouldn't call CoInitializeSecurity from managed code.
  • Alternative managed APIs are suggested as a replacement for using PInvoke in the first place.
  • This site contains miscellaneous community resources that are helpful for being successful at unmanaged code interoperability. Feel free to add to these pages, too!

Wednesday, January 18, 2006

ASP.Net - Parser Error Message: Access is denied

Getting the semi-random error "Parser Error Message: Access is denied" in ASP.Net?

Read this knowledge base:

http://support.microsoft.com/default.aspx?scid=kb;en-us;329065

Monday, January 09, 2006