Browse by Tags

The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration
After upgrading an ASP.NET application from .NET Framework 3.5 to .NET Framework 4.0 I ran into the following error message dialog when trying to view any of the modules in IIS on the server. What happened is during the upgrade, the web.config file was...
VB.NET IF() Coalesce and “Expression Expected” Error
I am trying to use the equivalent of the C# “??” operator in some VB.NET code that I am working in. This StackOverflow article for “ Is there a VB.NET equivalent for C#'s ?? operator? ” explains the VB.NET IF() statement syntax which is exactly what I...
Line-breaks and carriage returns (\r \n) are invalid in email subject
I received this exception when sending an email using System.Net.Mail.MailMessage: "The specified string is not in the form required for a subject." System.ArgumentException: The specified string is not in the form required for a subject.   ...
nvarchar(max) parameters need the size set to -1
SQL Server 2005 supports a new data type nvarchar(max). This is one of the new max datatypes that are to replace ntext, text, and image in a future version of SQL Server (according to SQL Server Books Online) but you should start using them now. I recently...
More Posts

Search

Go

This Blog

News

Syndication