Home » Archive by category "ASP.NET"

Unrecognized Tag Prefix or Device Filter ‘asp’

B01I0001 One of the companies I work for recently took over a project from another vendor.  As we started to maintain the site, we noticed that we could not drag and drop controls onto the page and get any more than a stub of  the control. <asp:hyperlink runat=”server”></hyperlink> is ALL we got when we dropped the hyperlink control onto the designer.

In fact, every ASPX control on the page displayed the error, “Unrecognized tag prefix or device filter ‘asp.’”

What’s up with that?

Thinking that there must be something wrong with our development environment, or at least something wrong with how we have the project configured, I started my search on Google.

Continue reading “Unrecognized Tag Prefix or Device Filter ‘asp’”

Test Sending Email without a Server in ASP.NET

back-041 By now, most people are familiar with the fact that ASP.NET will send mail from the codebehind by simply adding a few lines to your web.config file and adding another few lines of code in the codebehind file.

But it wasn’t until recently that I found that you don’t need to have access to an SMTP server to test your code.

Continue reading “Test Sending Email without a Server in ASP.NET”