I am in the process of installing CRM 3.0 and during the server install
process I am getting this error message.

Action Microsoft.Crm.Setup.Server.AddLicenseAction failed.
Specified cast is not valid.

Abort, Retry, Ignore

RE: Microsoft CRM 3.0 Server Setup by DaveYenglin

DaveYenglin
Thu Dec 27 09:43:02 CST 2007

More info..
After looking in the crm30svrsetup.log I see these entries when the error
occurred.

10:37:36| Info| InputResult: Retry
10:37:36|Verbose| Retrieving CUserAuth data ...
10:37:36| Info| User not found, no CUserAuth returned
10:37:36|Verbose| Retrieving SYSTEM CUserAuth data ...
10:37:36| Error| System.Exception: Action
Microsoft.Crm.Setup.Server.CreateSetupUserAction failed. --->
System.InvalidCastException: Specified cast is not valid.
at
Microsoft.Crm.Setup.Server.Utility.CrmServerUtility.CreateSystemUserAuth(IDictionary parameters)
at Microsoft.Crm.Setup.Server.CreateSetupUserAction.Do(IDictionary
parameters)
at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action,
IDictionary parameters, Boolean undo)
--- End of inner exception stack trace ---, Error, RetryCancel, Option1

Then after clicking cancel.

10:37:37| Info| InputResult: Cancel
10:37:38| Error| Install exception.System.Exception: Action
Microsoft.Crm.Setup.Server.CreateSetupUserAction failed. --->
System.InvalidCastException: Specified cast is not valid.
at
Microsoft.Crm.Setup.Server.Utility.CrmServerUtility.CreateSystemUserAuth(IDictionary parameters)
at Microsoft.Crm.Setup.Server.CreateSetupUserAction.Do(IDictionary
parameters)
at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action,
IDictionary parameters, Boolean undo)
--- End of inner exception stack trace ---
at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action,
IDictionary parameters, Boolean undo)
at Microsoft.Crm.Setup.Common.Installer.Install(IDictionary stateSaver)
at
Microsoft.Crm.Setup.Common.ComposedInstaller.InternalInstall(IDictionary
stateSaver)
at Microsoft.Crm.Setup.Common.ComposedInstaller.Install(IDictionary
stateSaver)
at Microsoft.Crm.Setup.Server.ServerSetup.Install(IDictionary data)
at Microsoft.Crm.Setup.Server.ServerSetup.Run()
10:37:38| Info| Microsoft CRM 3.0 Server Setup Failed.
10:37:38| Info| Microsoft CRM 3.0 Server Setup Setup did not complete
successfully.

Action Microsoft.Crm.Setup.Server.CreateSetupUserAction failed.
Specified cast is not valid.



"Dave Yenglin" wrote:

> I am in the process of installing CRM 3.0 and during the server install
> process I am getting this error message.
>
> Action Microsoft.Crm.Setup.Server.AddLicenseAction failed.
> Specified cast is not valid.
>
> Abort, Retry, Ignore

Re: Microsoft CRM 3.0 Server Setup by pflis

pflis
Thu Dec 27 16:48:10 CST 2007

Hi Dave

It looks that you have a problem MS SQL. Verify that MS SQL have a proper
configuration and run installation once again.
Reply if it's working or not.
Regards.

pflis

Polski Microsoft CRM blog
http://pflis.blogger.com


"Dave Yenglin" <DaveYenglin@discussions.microsoft.com> wrote in message
news:52EAF434-A155-43C6-8192-C4FB7A055DCC@microsoft.com...
> More info..
> After looking in the crm30svrsetup.log I see these entries when the error
> occurred.
>
> 10:37:36| Info| InputResult: Retry
> 10:37:36|Verbose| Retrieving CUserAuth data ...
> 10:37:36| Info| User not found, no CUserAuth returned
> 10:37:36|Verbose| Retrieving SYSTEM CUserAuth data ...
> 10:37:36| Error| System.Exception: Action
> Microsoft.Crm.Setup.Server.CreateSetupUserAction failed. --->
> System.InvalidCastException: Specified cast is not valid.
> at
> Microsoft.Crm.Setup.Server.Utility.CrmServerUtility.CreateSystemUserAuth(IDictionary
> parameters)
> at Microsoft.Crm.Setup.Server.CreateSetupUserAction.Do(IDictionary
> parameters)
> at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action,
> IDictionary parameters, Boolean undo)
> --- End of inner exception stack trace ---, Error, RetryCancel, Option1
>
> Then after clicking cancel.
>
> 10:37:37| Info| InputResult: Cancel
> 10:37:38| Error| Install exception.System.Exception: Action
> Microsoft.Crm.Setup.Server.CreateSetupUserAction failed. --->
> System.InvalidCastException: Specified cast is not valid.
> at
> Microsoft.Crm.Setup.Server.Utility.CrmServerUtility.CreateSystemUserAuth(IDictionary
> parameters)
> at Microsoft.Crm.Setup.Server.CreateSetupUserAction.Do(IDictionary
> parameters)
> at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action,
> IDictionary parameters, Boolean undo)
> --- End of inner exception stack trace ---
> at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action,
> IDictionary parameters, Boolean undo)
> at Microsoft.Crm.Setup.Common.Installer.Install(IDictionary stateSaver)
> at
> Microsoft.Crm.Setup.Common.ComposedInstaller.InternalInstall(IDictionary
> stateSaver)
> at Microsoft.Crm.Setup.Common.ComposedInstaller.Install(IDictionary
> stateSaver)
> at Microsoft.Crm.Setup.Server.ServerSetup.Install(IDictionary data)
> at Microsoft.Crm.Setup.Server.ServerSetup.Run()
> 10:37:38| Info| Microsoft CRM 3.0 Server Setup Failed.
> 10:37:38| Info| Microsoft CRM 3.0 Server Setup Setup did not complete
> successfully.
>
> Action Microsoft.Crm.Setup.Server.CreateSetupUserAction failed.
> Specified cast is not valid.
>
>
>
> "Dave Yenglin" wrote:
>
>> I am in the process of installing CRM 3.0 and during the server install
>> process I am getting this error message.
>>
>> Action Microsoft.Crm.Setup.Server.AddLicenseAction failed.
>> Specified cast is not valid.
>>
>> Abort, Retry, Ignore



Re: Microsoft CRM 3.0 Server Setup by DaveYenglin

DaveYenglin
Wed Jan 09 06:45:01 CST 2008

Ok I reinstalled SQL Server and now I am getting this message...

Action Microsoft.Crm.Setup.Server.RestartWebApplicationAction failed.
The IISReset utility failed with the exit code 1062 and message: Internet
services stopped Attempting start... Restart attempt failed. IIS Admin
Service or a service dependent on IIS Admin is not active. It most likely
failed to start, which may mean that it's disabled.



IIS Admin is not stopped it is running, however when I run an iisreset from
the command line it also fails. What did I forget to do? I reinstalled IIS
and SQL but still get the error.

Help!

"pflis" wrote:

> Hi Dave
>
> It looks that you have a problem MS SQL. Verify that MS SQL have a proper
> configuration and run installation once again.
> Reply if it's working or not.
> Regards.
>
> pflis
>
> Polski Microsoft CRM blog
> http://pflis.blogger.com
>
>
> "Dave Yenglin" <DaveYenglin@discussions.microsoft.com> wrote in message
> news:52EAF434-A155-43C6-8192-C4FB7A055DCC@microsoft.com...
> > More info..
> > After looking in the crm30svrsetup.log I see these entries when the error
> > occurred.
> >
> > 10:37:36| Info| InputResult: Retry
> > 10:37:36|Verbose| Retrieving CUserAuth data ...
> > 10:37:36| Info| User not found, no CUserAuth returned
> > 10:37:36|Verbose| Retrieving SYSTEM CUserAuth data ...
> > 10:37:36| Error| System.Exception: Action
> > Microsoft.Crm.Setup.Server.CreateSetupUserAction failed. --->
> > System.InvalidCastException: Specified cast is not valid.
> > at
> > Microsoft.Crm.Setup.Server.Utility.CrmServerUtility.CreateSystemUserAuth(IDictionary
> > parameters)
> > at Microsoft.Crm.Setup.Server.CreateSetupUserAction.Do(IDictionary
> > parameters)
> > at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action,
> > IDictionary parameters, Boolean undo)
> > --- End of inner exception stack trace ---, Error, RetryCancel, Option1
> >
> > Then after clicking cancel.
> >
> > 10:37:37| Info| InputResult: Cancel
> > 10:37:38| Error| Install exception.System.Exception: Action
> > Microsoft.Crm.Setup.Server.CreateSetupUserAction failed. --->
> > System.InvalidCastException: Specified cast is not valid.
> > at
> > Microsoft.Crm.Setup.Server.Utility.CrmServerUtility.CreateSystemUserAuth(IDictionary
> > parameters)
> > at Microsoft.Crm.Setup.Server.CreateSetupUserAction.Do(IDictionary
> > parameters)
> > at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action,
> > IDictionary parameters, Boolean undo)
> > --- End of inner exception stack trace ---
> > at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action,
> > IDictionary parameters, Boolean undo)
> > at Microsoft.Crm.Setup.Common.Installer.Install(IDictionary stateSaver)
> > at
> > Microsoft.Crm.Setup.Common.ComposedInstaller.InternalInstall(IDictionary
> > stateSaver)
> > at Microsoft.Crm.Setup.Common.ComposedInstaller.Install(IDictionary
> > stateSaver)
> > at Microsoft.Crm.Setup.Server.ServerSetup.Install(IDictionary data)
> > at Microsoft.Crm.Setup.Server.ServerSetup.Run()
> > 10:37:38| Info| Microsoft CRM 3.0 Server Setup Failed.
> > 10:37:38| Info| Microsoft CRM 3.0 Server Setup Setup did not complete
> > successfully.
> >
> > Action Microsoft.Crm.Setup.Server.CreateSetupUserAction failed.
> > Specified cast is not valid.
> >
> >
> >
> > "Dave Yenglin" wrote:
> >
> >> I am in the process of installing CRM 3.0 and during the server install
> >> process I am getting this error message.
> >>
> >> Action Microsoft.Crm.Setup.Server.AddLicenseAction failed.
> >> Specified cast is not valid.
> >>
> >> Abort, Retry, Ignore
>
>
>

Re: Microsoft CRM 3.0 Server Setup by Markus

Markus
Mon Feb 25 02:42:44 CST 2008


> Action Microsoft.Crm.Setup.Server.AddLicenseAction failed. Specified


I got the same message! Deinstall and reinstall using another license - e.g.
D2Q47-*****-*****-*****-***** - MSDN 10 User Professional Edition - worked.

The same is true for Microsoft.Crm.Setup.Server.CreateSetupUserAction. This
error went away after using the license above.

Markus