HttpWebRequest request = (HttpWebRequest)WebRequest.Create(p); An exception was thrown by the type initializer for System.Net.HttpWebRequest : at <0x00000> at System.Net.HttpRequestCreator.Create (System.Uri uri) [0x00000] at System.Net.WebRequest.Create (System.Uri requestUri) [0x00000] at System.Net.WebRequest.Create (System.String requestUriString) [0x00000] at qbpUrls.Urls.GetUrlTitle (System.String p) [0x00000] at qbpUrls.Urls.irc_OnChannelMessage (System.Object sender, Meebey.SmartIrc4net.IrcEventArgs e) [0x00000]