Every now and then when I am going to add an entry to dashBlog I get an error. When I look in the event log I see the following:
System.NullReferenceException: Object reference not set to an instance of an object.
at FreeTextBoxControls.Support.ResourceManager.LoadResource(Hashtable target, String language, String cacheKey)
at FreeTextBoxControls.Support.ResourceManager.GetString(String name)
at FreeTextBoxControls.Support.Helper.PopulateDefaultDropDownList(ToolbarDropDownList toolbarDropDownList, FreeTextBox freeTextBox, ResourceManager resourceManager)
at FreeTextBoxControls.FreeTextBox.OnPreRender(EventArgs e)
while processing http://blog.project84.net/EditEntry.aspx.
Has anyone else had this problem or know how to fix it??
I just noticed that Microsoft have again updated their Solution Accelerator for Business Desktop Deployment(BDD). If you are interested in automating a deployment of windows xp take a look as it is really very good. You can find the BDD over here.
Well I got sick of that ugly brown theme and created a new theme based off of one that was included with the new version of dashBlog. The theme was originally coded by James Snape which i then altered to come up with the theme you currently see here. What do you think?
Ever wondered what all the reserved words are in C#….well I did. Head on over to http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/vclrfcsharpkeywords_pg.asp to find out. I’ve copied them below.
I got sick of trying to get my blog working with Community Server so I’ve migrated over to DasBlog. The installation was painless and making skins is significantly easier than with CS. Now that I’ve got this working correctly, stay tunned for some exciting new posts.
I was wondering the other day while at work why when I right-click in a command window that windows pastes whatever is in the clipboard and doesn’t show the context menu. I tried it at home and all I got was the right-click menu. Now I’ve grown very attached to this quick pasting feature so started to dig around to find out how I could get me home PC to do the same thing. As it turns out it is really very easy. Here are the steps involved:
- Go to Start->Run
- Type cmd and click Ok.
- Right-click on the title bar and go to properties
- Then select QuickEdit Mode on the right.
- Click Ok and choose to change the default settings.
Ever seen this before:
Exception Details: System.Data.OleDb.OleDbException: Syntax error in INSERT INTO statement.
Well 7 hours later after reading and debugging and then reading and debugging some more I finally found a solution. What I was trying to do was something like this
Sub addData(sender As Object, e As EventArgs)
Dim objConn As OleDbConnection
Dim objCmd As OleDbCommand
Dim objRdr As OleDbDataReader
objConn = new OleDbConnection(“xxxx”)
objCmd = new OleDbCommand(“INSERT INTO MyTable(Name, Email, Password)VALUES (@Name, @Email, @Password);”,objConn)
’add all our parameters
Dim blnReturn as Boolean = objCmd.ExecuteNonQuery()
If blnReturn THen
lblError.Text = “Success”
The database being used was Microsoft Access 2003. The insert statement would run perfectly in Access but via ADO.net..nope…Invalid Synatax! As it turns out all the different implementations of SQL have a different set of reserved words, password being one of them. Simply placing  around the value in question fixes the problem. So what are all these reserved words?
http://office.microsoft.com/en-au/assistance/HP010322491033.aspx – for Access 2003
http://office.microsoft.com/en-au/assistance/HP010322481033.aspx – Access Data Types
http://doc.ddart.net/mssql/sql70/ra-rz_8.htm – SQL Server / MSDE
Ever think it would be really handy to take all your favorites with you where ever you go?? Personlly I hate it when I find a link to a really great site when at work, place it in my favorites and then wonder where it is when I get home. If you can relate to this then check out this http://del.icio.us. The site allows you to sign up and then store your favorite sites online. There are a couple of good links you can use to easily add new links as well. Very simple idea, very useful Web App.
I Found out something interesting about Symantec’s latest Antivirus product the other day which I thought may be of interest to some.
Apparently when a machine boots the DoScan.exe uses a large amount of memory and CPU. When the DoScan.exe completes RTVScan is using about 40MB of RAM.
The solution from Symantec is as follows:
One possible workaround is to create a reg key and import it to each user before running the SAV 10 install. Creating and setting CreatedUserQuickScan to 1 before running the SAV install should prevent the creation of the Auto-Generated QuickScan for that user.