dbTalk Databases Forums  

Error create a Job in SQL Server 2005 SP2

microsoft.public.sqlserver.tools microsoft.public.sqlserver.tools


Discuss Error create a Job in SQL Server 2005 SP2 in the microsoft.public.sqlserver.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Paulo Pina
 
Posts: n/a

Default Error create a Job in SQL Server 2005 SP2 - 05-30-2008 , 10:55 AM






I have the follwing error message when I try to create a Job in SQL Server 2005

"Unable to cast object of type
'Microsoft.SqlServer.Management.Smo.SimpleObjectKe y' to type
'Microsoft.SqlServer.Management.Smo.Agent.JobObjec tKey'.
(Microsoft.SqlServer.Smo)"

Someone have a solution for this error?

Thanks in advance


Reply With Quote
  #2  
Old   
Aaron Bertrand [SQL Server MVP]
 
Posts: n/a

Default Re: Error create a Job in SQL Server 2005 SP2 - 05-30-2008 , 11:38 AM






Are you sure your client tools are patched to the same version as the
server? What does the version field say in Help|About for Management
Studio? And how about SELECT @@VERSION for the instance where you are
trying to create the job?


On 5/30/08 11:55 AM, in article
44F03C91-8BAC-45CB-A4A8-DA10A5677C94...soft (DOT) com, "Paulo Pina"
<PauloPina (AT) discussions (DOT) microsoft.com> wrote:

Quote:
I have the follwing error message when I try to create a Job in SQL Server
2005

"Unable to cast object of type
'Microsoft.SqlServer.Management.Smo.SimpleObjectKe y' to type
'Microsoft.SqlServer.Management.Smo.Agent.JobObjec tKey'.
(Microsoft.SqlServer.Smo)"

Someone have a solution for this error?

Thanks in advance



Reply With Quote
  #3  
Old   
Aaron Bertrand [SQL Server MVP]
 
Posts: n/a

Default Re: Error create a Job in SQL Server 2005 SP2 - 05-30-2008 , 11:38 AM



Are you sure your client tools are patched to the same version as the
server? What does the version field say in Help|About for Management
Studio? And how about SELECT @@VERSION for the instance where you are
trying to create the job?


On 5/30/08 11:55 AM, in article
44F03C91-8BAC-45CB-A4A8-DA10A5677C94...soft (DOT) com, "Paulo Pina"
<PauloPina (AT) discussions (DOT) microsoft.com> wrote:

Quote:
I have the follwing error message when I try to create a Job in SQL Server
2005

"Unable to cast object of type
'Microsoft.SqlServer.Management.Smo.SimpleObjectKe y' to type
'Microsoft.SqlServer.Management.Smo.Agent.JobObjec tKey'.
(Microsoft.SqlServer.Smo)"

Someone have a solution for this error?

Thanks in advance



Reply With Quote
  #4  
Old   
Aaron Bertrand [SQL Server MVP]
 
Posts: n/a

Default Re: Error create a Job in SQL Server 2005 SP2 - 05-30-2008 , 11:38 AM



Are you sure your client tools are patched to the same version as the
server? What does the version field say in Help|About for Management
Studio? And how about SELECT @@VERSION for the instance where you are
trying to create the job?


On 5/30/08 11:55 AM, in article
44F03C91-8BAC-45CB-A4A8-DA10A5677C94...soft (DOT) com, "Paulo Pina"
<PauloPina (AT) discussions (DOT) microsoft.com> wrote:

Quote:
I have the follwing error message when I try to create a Job in SQL Server
2005

"Unable to cast object of type
'Microsoft.SqlServer.Management.Smo.SimpleObjectKe y' to type
'Microsoft.SqlServer.Management.Smo.Agent.JobObjec tKey'.
(Microsoft.SqlServer.Smo)"

Someone have a solution for this error?

Thanks in advance



Reply With Quote
  #5  
Old   
Aaron Bertrand [SQL Server MVP]
 
Posts: n/a

Default Re: Error create a Job in SQL Server 2005 SP2 - 05-30-2008 , 11:38 AM



Are you sure your client tools are patched to the same version as the
server? What does the version field say in Help|About for Management
Studio? And how about SELECT @@VERSION for the instance where you are
trying to create the job?


On 5/30/08 11:55 AM, in article
44F03C91-8BAC-45CB-A4A8-DA10A5677C94...soft (DOT) com, "Paulo Pina"
<PauloPina (AT) discussions (DOT) microsoft.com> wrote:

Quote:
I have the follwing error message when I try to create a Job in SQL Server
2005

"Unable to cast object of type
'Microsoft.SqlServer.Management.Smo.SimpleObjectKe y' to type
'Microsoft.SqlServer.Management.Smo.Agent.JobObjec tKey'.
(Microsoft.SqlServer.Smo)"

Someone have a solution for this error?

Thanks in advance



Reply With Quote
  #6  
Old   
Aaron Bertrand [SQL Server MVP]
 
Posts: n/a

Default Re: Error create a Job in SQL Server 2005 SP2 - 05-30-2008 , 11:38 AM



Are you sure your client tools are patched to the same version as the
server? What does the version field say in Help|About for Management
Studio? And how about SELECT @@VERSION for the instance where you are
trying to create the job?


On 5/30/08 11:55 AM, in article
44F03C91-8BAC-45CB-A4A8-DA10A5677C94...soft (DOT) com, "Paulo Pina"
<PauloPina (AT) discussions (DOT) microsoft.com> wrote:

Quote:
I have the follwing error message when I try to create a Job in SQL Server
2005

"Unable to cast object of type
'Microsoft.SqlServer.Management.Smo.SimpleObjectKe y' to type
'Microsoft.SqlServer.Management.Smo.Agent.JobObjec tKey'.
(Microsoft.SqlServer.Smo)"

Someone have a solution for this error?

Thanks in advance



Reply With Quote
  #7  
Old   
Aaron Bertrand [SQL Server MVP]
 
Posts: n/a

Default Re: Error create a Job in SQL Server 2005 SP2 - 05-30-2008 , 11:38 AM



Are you sure your client tools are patched to the same version as the
server? What does the version field say in Help|About for Management
Studio? And how about SELECT @@VERSION for the instance where you are
trying to create the job?


On 5/30/08 11:55 AM, in article
44F03C91-8BAC-45CB-A4A8-DA10A5677C94...soft (DOT) com, "Paulo Pina"
<PauloPina (AT) discussions (DOT) microsoft.com> wrote:

Quote:
I have the follwing error message when I try to create a Job in SQL Server
2005

"Unable to cast object of type
'Microsoft.SqlServer.Management.Smo.SimpleObjectKe y' to type
'Microsoft.SqlServer.Management.Smo.Agent.JobObjec tKey'.
(Microsoft.SqlServer.Smo)"

Someone have a solution for this error?

Thanks in advance



Reply With Quote
  #8  
Old   
Aaron Bertrand [SQL Server MVP]
 
Posts: n/a

Default Re: Error create a Job in SQL Server 2005 SP2 - 05-30-2008 , 11:38 AM



Are you sure your client tools are patched to the same version as the
server? What does the version field say in Help|About for Management
Studio? And how about SELECT @@VERSION for the instance where you are
trying to create the job?


On 5/30/08 11:55 AM, in article
44F03C91-8BAC-45CB-A4A8-DA10A5677C94...soft (DOT) com, "Paulo Pina"
<PauloPina (AT) discussions (DOT) microsoft.com> wrote:

Quote:
I have the follwing error message when I try to create a Job in SQL Server
2005

"Unable to cast object of type
'Microsoft.SqlServer.Management.Smo.SimpleObjectKe y' to type
'Microsoft.SqlServer.Management.Smo.Agent.JobObjec tKey'.
(Microsoft.SqlServer.Smo)"

Someone have a solution for this error?

Thanks in advance



Reply With Quote
  #9  
Old   
Aaron Bertrand [SQL Server MVP]
 
Posts: n/a

Default Re: Error create a Job in SQL Server 2005 SP2 - 05-30-2008 , 11:38 AM



Are you sure your client tools are patched to the same version as the
server? What does the version field say in Help|About for Management
Studio? And how about SELECT @@VERSION for the instance where you are
trying to create the job?


On 5/30/08 11:55 AM, in article
44F03C91-8BAC-45CB-A4A8-DA10A5677C94...soft (DOT) com, "Paulo Pina"
<PauloPina (AT) discussions (DOT) microsoft.com> wrote:

Quote:
I have the follwing error message when I try to create a Job in SQL Server
2005

"Unable to cast object of type
'Microsoft.SqlServer.Management.Smo.SimpleObjectKe y' to type
'Microsoft.SqlServer.Management.Smo.Agent.JobObjec tKey'.
(Microsoft.SqlServer.Smo)"

Someone have a solution for this error?

Thanks in advance



Reply With Quote
  #10  
Old   
Aaron Bertrand [SQL Server MVP]
 
Posts: n/a

Default Re: Error create a Job in SQL Server 2005 SP2 - 05-30-2008 , 11:38 AM



Are you sure your client tools are patched to the same version as the
server? What does the version field say in Help|About for Management
Studio? And how about SELECT @@VERSION for the instance where you are
trying to create the job?


On 5/30/08 11:55 AM, in article
44F03C91-8BAC-45CB-A4A8-DA10A5677C94...soft (DOT) com, "Paulo Pina"
<PauloPina (AT) discussions (DOT) microsoft.com> wrote:

Quote:
I have the follwing error message when I try to create a Job in SQL Server
2005

"Unable to cast object of type
'Microsoft.SqlServer.Management.Smo.SimpleObjectKe y' to type
'Microsoft.SqlServer.Management.Smo.Agent.JobObjec tKey'.
(Microsoft.SqlServer.Smo)"

Someone have a solution for this error?

Thanks in advance



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.