You are not Logged in
Would you like to Login or Register

Today is: Wednesday, 07 January, 2009
Check this months hot topics

Unable to cast object of type 'Microsoft.SqlServer.Management.Smo.SimpleObjectKey'

I was getting the following error when I attempted to create a new job in SQL Server Agent:

Unable to cast object of type 'Microsoft.SqlServer.Management.Smo.SimpleObjectKey' to type 'Microsoft.SqlServer.Management.Smo.Agent.JobObjectKey'. (Microsoft.SqlServer.Smo)

Nothing I did improved the situation. It then occured to me that it may not be an issue if I Terminal Severed onto the actual SQL Server.

Presto! It worked and my job was created.

What this complicated error message meant in my case was... "Log onto the box and do it"

I hope you manage to create your job.

kick it on DotNetKicks.com del.icio.us digg Mister Wong YahooMyWeb Reddit Furl Spurl blogmarks
Ric Hayman Skype
Author : Ric Hayman
Published : Saturday, 11 October, 2008

Ric is a freelance Microsoft Certified Solution Developer with over 20 years commercial development experience using Microsoft technologies.

Add Comment

Enter your comment below and it will be submitted for moderation.

Your Name

Add Tag

Please enter tags for this article, seperated by semi-colon ;

View Tag's by : # articles | # views