Go to home page mail me! RSS Feed
FoxMetrics Web Analytics

ASP.NET 2.0 Red Screen - Resolved!

Thursday, August 03, 2006 9:57 PM

Minutes after my ridiculous post "ASP.NET 2.0 Red Screen" I have found the problem and the solution! OK, here is the run down of what happened. My new web designer has built some wonderful designs for my up coming web applications, clean and clear of junk. So as I started coding and while in the spirit of cleanliness I decided that I will try to keep it as clean as I received it, so I journeyed into a new era of clean .Net 2.0 coding.

I probably need to write a few articles on how to write clean code using .NET with a focus on C# from my current experience and what I'll have learned by beta release of my new projects. Anyway, to cut long post short, I moved most of the sections that could stand alone into custom user controls.

In the process of creating a ton of custom user controls - just kidding, I also decided that I should move all of the register tags from the web pages into the web.config file in the <pages> <controls> section.

Within a couple of minutes I created all the entries in my web.config and built - that's where my aspnet went ballistic - the problem is that you can't have entries in the web.config and register tags in your web pages. Yes, I did forget to remove them, so all I had to do is remove the entries from the web pages and viola!!!

 

Your Comments.

Your Reply.

Comment Form.

Fields denoted with a "*" are required.

You may also like to leave your email or website.

 
Please add 1 and 8 and type the answer here:

Preview Your Comment.

 
Next entries »