none
Error: exception Key not valid for use in specified state on modifying Default Website ID with long int value.

    Question

  • Hi,

    Post modifying the BizTalk RFID Server’s default website ID ( By Mistake I gave long number “ e.g. 454535352”).

    Now the Biztalk RFID Service is not starting & giving error message as follows:

    Event Type:        Error

    Event Source:    MSBizTalkRFID

    Event Category:                None

    Event ID:              0

    Date:                     8/17/2010

    Time:                     7:52:49 AM

    User:                     N/A

    Description:

    Service cannot be started. Microsoft.SensorServices.Rfid.StartupFailedException: The Microsoft BizTalk RFID service failed to start because of exception Key not valid for use in specified state.

    . Resolve the issue that is causing the exception, and then try restarting the service. ---> System.Security.Cryptography.CryptographicException: Key not valid for use in specified state.

     

       at System.Security.Cryptography.ProtectedData.Unprotect(Byte[] encryptedData, Byte[] optionalEntropy, DataProtectionScope scope)

       at MS.Internal.Rfid.Service.SecurityUtilities.GetDecryptedString(String encryptedString)

       at MS.Internal.Rfid.Service.ServerManager.Startup(IDictionary interfaceDictionary, RfidServerConfiguration config)

       --- End of inner exception stack trace ---

       at MS.Internal.Rfid.Service.ServerManager.Startup(IDictionary interfaceDictionary, RfidServerConfiguration config)

       at MS.Internal.Rfid.Service.RfidServices.OnStart(String[] args)

       at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)

     


    bhavin
    Tuesday, August 17, 2010 8:16 AM

All replies

  • Did you get solution for this?
    Thursday, December 29, 2011 4:45 AM
  • What is meant by "modifying the ... website ID"?

    I would try repairing your BizTalk installation from add/remove programs to see if this reverts the settings back to the install state, then use a valid value.

    Thanks,


    If this answers your question, please use the "Answer" button to say so | Ben Cline
    Friday, December 30, 2011 5:52 AM
    Moderator