Browse by Tags
All Tags
»
solution
(RSS)
.net
access
ajax
asp.net
c#
error messages
excel
ie
iis
images
linq
mailmessage
outlook
pagemethods
rss
scriptservice
sql
sql server 2008
system.net
visual studio
windows
wpf/e
xml
02 May 2009
Solution to the “You tried to assign the Null value to a variable that is not a Variant data type.” Exception
By default the DataSource wizard passes parameters for AutoNumber primary keys. If you are getting this error: You tried to assign the Null value to a variable that is not a Variant data type. Then you need to remove that default parameter. This is what
Read More...
02 May 2009
Solution to the “Format of the initialization string does not conform to specification starting at index 0.” Exception
You are probably using the wrong DbConnection class. If you are using Access then make sure you use OleDbConnection, not SqlConnection…and vice versa. Alternatively you could be referencing your MDB file wrong. Here’s the proper way: <connectionStrings>
Read More...
30 April 2009
How to watch ABC.com shows on Windows 7
For some reason ABC.com does an OS check when loading the MoveNetworks player. If you are using Windows 7 you’ll see an error like this: Oops Our new video player is only available for: Windows XP/Vista - Internet Explorer, Firefox Mac - Firefox, Safari.
Read More...
06 April 2009
Solution to “Operation must use an updateable query” Exception when writing to an Access Database from ASP.NET
Could be a couple of things: The file is marked as read-only. Right click on file, uncheck “read only”. The application pool identity doesn’t have write permissions to the folder that contains the MDB. Find the identity of the application pool (using
Read More...
03 March 2009
The simplest DataSet to Excel solution
Tim Mackey has a very simple method for converting DataSets to Excel spreadsheets. http://tim.mackey.ie/HowtoExportADatasetToExcelCAspnet.aspx Thanks Tim!
Read More...
25 February 2009
Solution to Method has no implementation (no RVA) Error
If you get this exception System.TypeLoadException: Could not load type ‘x’ from assembly 'xx, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' because the method 'SendMessage' has no implementation (no RVA). Make sure you have a DllImport attribute
Read More...
17 February 2009
Delete all Outlook RSS Feeds
My Outlook RSS Feeds were in a really funky state this morning. I had to create a new profile and I had RSS Sync enabled. When that is the case Outlook re-adds all Feeds that you have ever added to the machine back into your profile even if
Read More...
19 November 2008
Solution to the SQL Server 2008 with Visual Studio 2008 SP1 Install Exception: "SQL Server 2008 setup requires .NET Framework 3.5 to be installed"
You would have never guess this by the error message, but ""SQL Server 2008 setup requires .NET Framework 3.5 to be installed" when you have Visual Studio 2008 SP1 installed means that you need to install Windows Installer 4.5, which can be found here:
Read More...
19 November 2008
Solution to the Windows Exception: "The security database on the server does not have a computer account for this workstation trust relationship"
Got this error when logging into a machine that I hadn't touched in months: "the security database on the server does not have a computer account for this workstation trust relationship" Not exactly sure why, but changing from a FQDN to a short name resolved
Read More...
07 December 2007
System.Net.Mail.MailMessage Mail Header Casing Issue Fixed in .NET 2.0 SP1 & .NET 3.5
With the transition of MailMessage from System.Web.Mail to System.Net.Mail there were some mail header casing changes that caused mail sent to Hotmail and Live email addresses to appear as being successfully sent, but failed to arrive at the destination
Read More...
02 December 2007
LINQ: Sequence contains no elements. InvalidOperationException when calling Single
If you call Single to get an object from your DB and the object doesn't exist you will get an InvalidOperationException. return this .DataContext.MemberDaos.Single(m => m.MemberID == id); Instead of Single, use SingleOrDefault, which will return null
Read More...
01 December 2007
LINQ: "Add" renamed to "InsertOnSubmit"
If you are using LINQ to insert data with RTM bits you won't find the Add method on the DataContext post Beta2. Use the InsertOnSubmit method instead.
Read More...
14 March 2007
Solution: WPF/e not showing up on new server deployment
I just deployed a new wpf/e control to a new server and found that I need to register the content types for xaml, etc. You will find the configuration steps here: http://msdn2.microsoft.com/en-us/library/ms752346.aspx
Read More...
06 March 2007
Solution to "is null or not an object" error with ScriptService
I just spent the last few hours trying to track down why I kept getting an "is null or not an object" error when setting up a service with a ScriptService attribute. I started my coding with a PageMethods implementation, but moved to a ScriptReference
Read More...
26 February 2007
Solution: How to get the InnerText value of a node when using XmlDataSource
Lets say you have this xml: <Blog> <BlogPost Date="2/21/2006" Title="Blog Title"> Blog Content </BlogPost> </Blog> And you are using an XmlDataSource to run it through a repeater. You can easily get the attributes like so: <%#Eval("Date")%>
Read More...
More Posts
Next page »
Home
About
Email
Jon Gallant's Blog
dev lead @ microsoft
RSS 2.0
Atom 1.0
Recent Posts
Jon Gallant's New Blog - http://jongallant.com/blog/
How to Export RSS Feeds to an OPML File in Outlook 2010
How To Highlight Rows Based on a Cell Value in Excel
Microsoft will Donate 8 Meals to Feeding America for Every IE8 Download
FreeRice.com – Synchronously Learn for free and feed the hungry
Tags
.net
access
ajax
announcements
asp.net
audio
blackjack
blend
blogs
bookmarks
c#
clr
codeplex
codes
commerce server
community
config
debug
delicious
developer
development
dns
error messages
errors
excel
facebook
freerice
gridview
howto
ie
iis
images
information
ipv4
job postings
Learning
linq
linux
mailmessage
masterpages
mdbf
media
mix08
mobile
mobiledev
msdn
msdn/technet
music
open mic
orcas
outlook
pagemethods
pdc2008
poverty
resources
rss
scriptservice
search
silverlight
social networking
solution
sql
sql server 2008
sqlxml
system.net
technet
tfs
topblogs
videos
virtual pc
virtualpathprovider
visual studio
wap
wav
web applications
webdev
windows
windows media player
windows mobile
wmp
wpf/e
xml
zune
Archives
November 2009 (1)
June 2009 (6)
May 2009 (2)
April 2009 (4)
March 2009 (7)
February 2009 (5)
November 2008 (4)
September 2008 (7)
August 2008 (4)
May 2008 (1)
April 2008 (3)
March 2008 (4)
February 2008 (2)
December 2007 (3)
November 2007 (1)
September 2007 (1)
August 2007 (2)
July 2007 (2)
June 2007 (2)
May 2007 (6)
April 2007 (1)
March 2007 (7)
February 2007 (4)
January 2007 (4)
December 2006 (1)
November 2006 (8)
October 2006 (6)
August 2006 (2)
July 2006 (4)
June 2006 (6)
April 2006 (4)
March 2006 (7)
February 2006 (1)
September 2005 (1)
August 2005 (1)
October 2004 (5)
Search
Blogs
Piyush Shah's Blog
These postings are provided "AS IS" with no warranties, and confer no rights.