Adding secondary ADFS server to farm fails with Could Not Load Assembly error

Hi all,
I have two servers running Server 2012 R2.
There are two AD sites, in site 1, I have the primary ADFS server running on a member server.  In site 2 I have a secondary ADFS server running on the only DC in the site.  There will be WAP servers publishing these servers in either site.
I successfully set up the first ADFS server in site 1, and this is working ok.  However, when I set up the server in site 2 I get the following error during the prerequisite checker:
Could not load file or assembly 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. Access is denied.
Unable to retrieve configuration from the primary server. Could not load file or assembly 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. Access is denied.
I ran this as my domain admin account and also as domain\administrator which is seldom used.
When I run the resulting PowerShell script, I get errors relating to the GSMA, so not sure if that is where my issue lies.  Here is the script:
# Windows PowerShell script for AD FS Deployment
Import-Module ADFS
# Get the credential used for performaing installation/configuration of ADFS
$installationCredential = Get-Credential -Message "Enter the credential for the account used to perform the configuration."
Add-AdfsFarmNode `
-CertificateThumbprint:"Thumbprint Here" `
-Credential:$installationCredential `
-GroupServiceAccountIdentifier:"DOMAIN\STSSvc`$" `
-PrimaryComputerName:"machine.domain.net"
I tried using the FQDN of the ADFS server as well as the common name of sts.domain.net, neither worked.
Any suggestions?
Andrew Hodgson

Hi,
Thanks for your post.
According to the error message, it is more about permission issue.
Please refer to this artile about how to resolve the error "Could not load file or assembly or one of its dependencies. Access is denied"
http://blogs.msdn.com/b/sayanghosh/archive/2007/04/21/solution-to-could-not-load-file-or-assembly-or-one-of-its-dependencies-access-is-denied.aspx
Regards.
Vivian Wang

Similar Messages

  • Workflow Manager - Add-WFHost fails with "Could not load file" error

    Hello! I'm not sure that its Sharepoint related topic but..
    I'm trying to install Workflow Manager using Powershell. I'm successfully created ServiceBus farm, create namespace, Add-SBhost etc. Also, i created WF Farm using New-WFFarm.
    Now i'm got SB Configuration and try to add my first host to WF Farm using standard cmdlets:
    $SBClientConfiguration = Get-SBClientConfiguration -Namespaces 'WorkflowDefaultNamespace'
    (it successfuly gives me some endpoint definitions)
    Add-WFHost -WFFarmDBConnectionString $WFFarmDBConStr -RunAsPassword $ServiceAccountPassword -EnableFirewallRules $true -SBClientConfiguration $SBClientConfiguration -CertificateAutoGenerationKey $CertificateAutoGenerationKey
    where
    $WFFarmDBConStr is typical connection string, i also used this to Get-WFFarm with no errors.
    $ServiceAccountPassword and $CertificateAutoGenerationKey are secure strings.
    But trouble appears with SBClientConfiguration, cmdlet returns error:
    "Cannot validate argument on parameter 'SBClientConiguration'. Could not load file or assebly 'Microsoft.ServiceBus, Version=1.8.0.0, Culture=neutral, PublicKeyToken=<SomeTokenSymbolsHere> or one of its dependencies. The system cannot
    find the file specified."
    What file it tries to load? I've installed all WorkflowManager binaries with
    webpicmd /Install /Product:WorkflowManagerRefresh key and don't know, what can be cause.

    Hi lehus,
    According to your description, my understanding is that you got an error when you configured Workflow Manager using PowerShell.
    Please try to use the following PowerShell command, compare the result:
    Add-WFHost -WFFarmDBConnectionString $WFFarmDBConStr -RunAsPassword $ServiceAccountPassword -EnableFirewallRules $true -SBClientConfiguration $SBClientConfiguration
    –EnableHttpPort -CertificateAutoGenerationKey $CertificateAutoGenerationKey
    -Verbose
    Check your process as:
    http://lennytech.wordpress.com/2013/06/02/configuring-workflow-manager-1-0-using-powershell/
    In addition, whether you could install and configure Workflow Manager with Workflow Manager Configuration Wizard. Please have a try as:
    http://prabathf.blogspot.com/2013/02/installing-and-configuring-workflow-for.html
    I hope this helps.
    Thanks,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • Help with CS5 Updates Failed, Updates could not be applied, Error Code U43M1D207

    CS5 Updates Failed, Updates could not be applied, Error Code U43M1D207
    Can anyone help with this error code?
    Products installed and activated on new laptop
    Unable to update using Adobe Application Manager
    Thank you

    I followed up on the Photoshop Error code and found some suggestions by Jeff Tranberry and Pete Green here.
    Michael

  • Help with Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.

    This was all working yesterday, but this morning, I cannot run in the dev fabric, or even setting the website project as a startup project directly, I get the following error:
    Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.BadImageFormatException: Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Assembly Load Trace: The following information can be helpful to determine why the assembly 'msshrtmi' could not be loaded.
    === Pre-bind state information ===
    LOG: User = Andrew-VAIO\Andrew
    LOG: DisplayName = msshrtmi
    (Partial)
    WRN: Partial binding information was supplied for an assembly:
    WRN: Assembly Name: msshrtmi | Domain ID: 3
    WRN: A partial bind occurs when only part of the assembly display name is provided.
    WRN: This might result in the binder loading an incorrect assembly.
    WRN: It is recommended to provide a fully specified textual identity for the assembly,
    WRN: that consists of the simple name, version, culture, and public key token.
    WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.
    LOG: Appbase = file:///C:/Users/Andrew/Desktop/Beko2011Azure/Website/
    LOG: Initial PrivatePath = C:\Users\Andrew\Desktop\Beko2011Azure\Website\bin
    Calling assembly : (Unknown).
    ===
    LOG: This bind starts in default load context.
    LOG: Using application configuration file: C:\Users\Andrew\Desktop\Beko2011Azure\Website\web.config
    LOG: Using host configuration file:
    LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
    LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/cb955b02/eef106e2/msshrtmi.DLL.
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/cb955b02/eef106e2/msshrtmi/msshrtmi.DLL.
    LOG: Attempting download of new URL file:///C:/Users/Andrew/Desktop/Beko2011Azure/Website/bin/msshrtmi.DLL.
    ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.
    Stack Trace:
    [BadImageFormatException: Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
    System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0
    System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +39
    System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks) +132
    System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +144
    System.Reflection.Assembly.Load(String assemblyString) +28
    System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46
    [ConfigurationErrorsException: Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
    System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +618
    System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +209
    System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +130
    System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +178
    System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies() +94
    System.Web.Compilation.BuildManager.CallPreStartInitMethods() +332
    System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +677
    [HttpException (0x80004005): Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
    System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9079228
    System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +97
    System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +258
    Note that the dev machine is x64 Win7.
    I have not tried deploying this to staging since the issue started as I'm a bit nervous of touching the staging/live environment until this is solved.
    Removing the PlatformTarget element from the project file has no effect
    Removing the msshrtmi.dll file from the bin directory of the website project ends up with 
    'Could not load file or assembly 'Microsoft.WindowsFabric.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified'
    I have used Git to revert to the last working build to no effect (But I don't have the obj/bin folders in GIT), but it has atleast reset the project files etc.
    If I return msshrtmi.dll to the bin folder and switch the model and website projects to x64 there is no change
    If I switch both to x86 then I get an error Could not load file or assembly 'BekoModel2011' or one of its dependencies. An attempt was made to load a program with an incorrect format.
    which is the model project - presumably because to run on my x64 machine I need the 64bit version?
    I really need to be able to debug and then publish some changes ASAP.
    Andrew

    Hi,
    Is it true that you're using IIS to host the application? Could you check whether the process is x64 or x86 one via task manager or config in IIS manager?
    http://blogs.msdn.com/b/rakkimk/archive/2007/11/03/iis7-running-32-bit-and-64-bit-asp-net-versions-at-the-same-time-on-different-worker-processes.aspx
    Allen Chen [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • When attempting launch of photoshopcc,I get a box with "could not load the MMX core routines module because it does not work with this version of PS... what does this mean and how do I correct it?

    when attempting launch of photoshopcc,I get a box with "could not load the MMX core routines module because it does not work with this version of PS... what does this mean and how do I correct it?

    I did a search on my system and found the Photoshop has a fastcore plug-in.  Creative Cloud includes a subscription version of CS6 version 13.1.2.   I do not know if you installed that or not.  The cc un-install may have done something.  You may need to use Adobe Cleaner then Install The Perpetual CS6 version of Photoshop  CS6 version 13.0.6 Mac or Photoshop  CS6 version 13.0.1.3 PC and not the subscription CS6 extended version 13.1.2.  Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6   If you need to download the CS6 installer Download CS6 products.
    You may also be able to recover your cs6 using an old system backup
    fastcore.8bx on my system...

  • HT201364 I'm trying to restore my iPhone 5 and its gone into recovery mode and won't go out I've gone on to iTunes it says that its in recovery mode and to restore it after about 10 seconds it come up with could not restore unknown error occurred (9) i wo

    im trying to restore my iPhone 5 and its gone into recovery mode and won't go out I've gone on to iTunes it says that its in recovery mode and to restore it after about 10 seconds it come up with could not restore unknown error occurred (9) i wonder if you could help

    you can't update or restore your iOS device
    http://support.apple.com/kb/ht1808
    If that does not work, take in for service
    Genius reservation http://www.apple.com/retail/geniusbar/

  • Configuring OS X Server 3.1.2 :  server.app fails with "Could Not Connect to the Server"

    Hi All,
    I am trying to install OS X Server using server.app 3.1.2. but after installation when i try to connect it is giving "Could Not Connect to the Server" error. is there any way to find out the logs or debug this problem. Since the error isn't giving any indication of the reason of the failure.

    Hi Linc,
    Thanks for you prompt reply, below are the logs....
    9/15/14 7:56:58.229 AM apsd[250]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7ffb9960a330> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)
    9/15/14 7:57:28.287 AM apsd[250]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7ffb9960a330> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)
    9/15/14 7:57:58.315 AM apsd[250]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7ffb9960a330> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)
    9/15/14 7:58:24.653 AM netbiosd[125]: findReachableAddress: Using port 139 family = 33
    9/15/14 7:58:28.379 AM apsd[250]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7ffb9960a330> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)
    9/15/14 7:58:58.428 AM apsd[250]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7ffb9960a330> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)
    9/15/14 7:59:13.752 AM netbiosd[125]: findReachableAddress: Using port 139 family = 33
    9/15/14 7:59:28.496 AM apsd[250]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7ffb9960a330> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)
    9/15/14 7:59:58.568 AM apsd[250]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7ffb9960a330> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)
    9/15/14 8:00:06.460 AM netbiosd[125]: findReachableAddress: Using port 139 family = 33
    9/15/14 8:00:16.854 AM Console[369]: setPresentationOptions called with NSApplicationPresentationFullScreen when there is no visible fullscreen window; this call will be ignored.
    9/15/14 8:00:28.567 AM apsd[250]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7ffb9960a330> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)
    9/15/14 8:00:58.623 AM apsd[250]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7ffb9960a330> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)
    9/15/14 8:01:16.101 AM netbiosd[125]: findReachableAddress: Using port 139 family = 33
    9/15/14 8:01:28.668 AM apsd[250]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7ffb9960a330> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)
    9/15/14 8:01:53.596 AM WindowServer[95]: CGXGetConnectionProperty: Invalid connection 42003
    9/15/14 8:01:53.752 AM ocspd[84]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7fa6c9e102a0> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)
    9/15/14 8:01:53.954 AM com.apple.serveralertproxy[386]: ApplePushService: APSConnection being used without a delegate queue
    9/15/14 8:01:58.666 AM apsd[250]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7ffb9960a330> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)
    9/15/14 8:02:14.303 AM netbiosd[125]: findReachableAddress: Using port 139 family = 33
    9/15/14 8:02:28.669 AM apsd[250]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7ffb9960a330> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)
    9/15/14 8:02:58.697 AM apsd[250]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7ffb9960a330> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)
    9/15/14 8:03:10.186 AM netbiosd[125]: findReachableAddress: Using port 139 family = 33
    9/15/14 8:03:28.699 AM apsd[250]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7ffb9960a330> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)
    9/15/14 8:03:58.726 AM apsd[250]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7ffb9960a330> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)
    9/15/14 8:04:06.022 AM netbiosd[125]: findReachableAddress: Using port 139 family = 33
    9/15/14 8:04:28.782 AM apsd[250]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7ffb9960a330> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)

  • PDF download in 3.1 fails with "could not open" error

    Just created a couple interactive reports and was truly dazzled by the functionality. But when I try to download to PDF, Acrobat Reader 8.1.1 errors with msg "... could not open <file> because it's either not a supported file type or because the file has been damaged...."
    No problem with CSV download.
    Is there some special Acrobat plugin that's needed?

    Its true its not required, but the instructions for deploying the war file advise you to use enterprise manager console, which you won't have if you have just got XE or if you have installed a database without Enterprise manager.
    Ideally we need a method of deploying the war file directly
    Step 1: Installing the WAR file
    Place the fop.war file (located in apex_install_directory/utlities/fop) in an accessible location on your local machine. You then follow the directions below or can view the process by running this viewlet.
    Navigate to your OC4J Oracle Enterprise Manager Console eg: http://localhost:8888/em/
    Select the Applications Tab
    Select Deploy Button
    On the "Deploy: Select Archive" page use the option "Archive is present on local host. Upload the archive to the server where Application Server Control is running." Use the file browse to select the fop.war file and click "Next" button
    On the "Deploy: Application Attributes" page set the "Application Name" option to "fop" and clear the "Context Root " option and click "Next" Button
    On the Deploy: Deployment Settings click the "Deploy" button Message was edited by:
    Keith Jamieson

  • RSEOUT00 failing with "Could not write IDoc to file" TPRI_DEF table

    Outbound Idoc processing fail with the following error:
    Could not write IDoc to file
    Message no. EA299
    Diagnosis
    The system could not convert data from the data record 000027.
    Procedure
    Check the port definition of the receiver port.
    You can use the "Continue despite conversion error" option to write the IDoc to the file from transaction BD87 with replacement characters.
    Short dump indicate that there is a some junk character in th e TPRI_DEF for program SAPLSPRI that it is unable to convert.
    I have set the flag on the we21 port to "continue despite conversion error" and that seem to help, but I would like to figure out how to fix the junk characters from coming through from the TPRI_DEF table.  
    This is what shows up in the short dump after RSEOUT00 is run.
    TPRI_DEF                                   /  /       :  :     00002932
        010GV21            \0\0\0\0\x0006āȂ耀㐱〲\0\0嬇\0ሟ鴂푎眩\x0802儔잏퉓
    I do not see any entries for area "GV" in the table, there is one for "GF".  which has no user assigned to it and it is of key version 21.
    I am not sure if the table is supposed to have an entry with no user assigned?
    thank you for looking at this issue .

    HI Jurgen,
    we have the same issue, chinese charecter is in PO text header. so facing error. If we click unicode format then it works fine as my testing in development.
    I just want to knom what is the impact if i clicked directly unicode format ?( with refernce to your reply above " have you set the Unicode format flag directly above in WE21?" )
    I doc is going from SAP sytem - (PO information )
    Pls adivce..
    waiting for your reply..
    Thanks in advance

  • Install of SAP HANA Studio Dev Ed v1.00.80 fails with "Could not create the Java Virtual Machine"

    Hello,
    Scope: JVM error during initial install of SAP HANA Studio Developer Edition v1.00.80, Win86/32bit
    Source: installation files pulled from HANA Studio tab at https://hanadeveditionsapicl.hana.ondemand.com/hanadevedition/, which is a link from the main HANA site of http://scn.sap.com/community/developer-center/hana.  zip folder: "sap_hana_win32_studio_rev80"
    Targeted O/S: Windows 7, 32-bit, local Java is SE 7, update 67.   Java environment has been confirmed via checks provided at http://www.java.com/en/download/manual.jsp
    Actions taken:
    Attempted to update the installation's eclipse.ini file by reducing the -Xmx value; see details below.
    Read thru postings such as http://scn.sap.com/thread/3390626 and the threads it recommended.
    Checked OSS (ie Note 1859686 - HANA Studio does not start)
    Description of installation error:
    Shortly after executing "hdbinst", it fails with the error "Could not create the Java Virtual Machine".  I've verified that there is nearly 3G of memory free.  What I did notice, as shown in the attached files, is that Eclipse is part of this installation and it's pre-loaded with the "eclipse.ini".  I firmly believe the solution could be to reduce parameter "-Xmx1024m" to "-Xmx512m" but it's a catch-22 because even after updating eclipse.ini (in installation folder C:\Program Files\SAP\hdbstudio\tmp_p2director2014.08.13_13.36.44\director), the install program requires that the "hdbstudio" folder to be empty upon restarting it.
    Since the installation is basically a package with a lot of .jar files, there is no eclipse.ini file available in the source install folder; otherwise, updating it there would be the easiest solution if that option were available. The file is only available in the targeted deployment folder above.
    If you have encountered this same error and were able to resolve it, I would be grateful to know of your solution.  Thanks very much.
    FYI: the HANA Client installed with no issues.
    Jim Cleek
    FYI: the images below reflect the sequence of images produced during the installation.
    after clicking OK above, the screen below gets updated (see the "is not empty" msg).
    Below is the eclipse.ini file located in the deployed/target folder:
    Message was edited by: Jim Cleek
    FYI: Using information from the SAP HANA Database - Studio Installation and Update Guide, I tried to override the installation's use of its eclipse.ini file by passing my own modified version (with "-Xmx512m") of that file that was placed in a separate folder.  The cmd used via DOS window was "hdbsetup.exe -a studio --configfile=C:\Users\Admin\Downloads\eclipse.ini" and even though it successfully launched the SAP HANA Lifecycle Management gui, it failed on the first step with the same JVM create error as above because it appears to have used its own eclipse.ini file, which has "-Xmx1024m".

    Update: a message was opened with SAP but unfortunately they could not provide a resolution for this particular scenario.  They admitted that the eclipse.ini file cannot be updated since it is bundled as part of the installation package.  One point to make that I did not make before was that this was being attempted on an Oracle VirtualBox (4.3.10); the SAP HANA contact said he assumed that SAP has not tested this particular scenario, thus it could not be supported.
    Resolution: the end result was to abort trying to install SAP HANA Client and Studio on the Oracle VirtualBox but to install it locally on my own desktop, which runs on Windows 7 Enterprise 64-bit with 8G of memory.  The SAP HANA files below were downloaded, extracted and installed successfully in the order shown.
    FYI: the Studio installation detected that a 64-bit version of Java was not installed so I installed that and then adjusted the User environmental variable JAVA_HOME to point to that new path, leaving the System variable still pointing to the pre-existing 32-bit Java path.
    SAPCAR 7.20 -> Windows on x64 64bit:  SAPCAR_315-20010453.EXE
    IMDB_CLIENT100_80_0-10009664.SAR   Revision 80 for SAP HANA CLIENT 1.00
    Support Package SAP HANA CLIENT 1.00 Windows on x64 64bit
    IMC_STUDIO100_80_0-20007647.SAR   Revision 80 for SAP HANA STUDIO 1.00
    Support Package SAP HANA STUDIO 1.00 Windows on x64 64bit
    jre-7u67-windows-x64.exe - http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html
    Jim Cleek
    HP Enterprise Services

  • Win 8.1 Pro, iTunes install fails with "could not open key"

    Have tried complete uninstall as required by "Remove and reinstall" Did not work.

    Okay ... although you've got a Windows 8 (rather than a 7 or a Vista), let's try the following user tip:
    "Could not open key: UNKNOWN\Components\[LongStringOfLettersAndNumbers]\[LongStringOfLettersAndNumbe rs]" error messages when installing iTunes for Windows

  • "Could not load movie" with YouTube videos.

    Hi there,
    In both the past and present I have had much difficulty with playing many YouTube videos on my iPod touch 4. This happens to be the case no matter if I am in the YouTube app or on the mobile YouTube site in safari. I will try to play a video to watch it and often times I blue box will pop up saying 'could not load movie'. This makes video viewing and sharing quite difficult! Please help! Thank you very much!
    - Samuel Amos

    Here is an explanation for you for the "could not load movie" error, which I have also received on my iPad.
    If you run across this error on your iDevice, keep the following in mind:
    This is taken from another site, so I will quote:
    "Most of the time its due to the age of the video upload, this one for example was done back in 2009 which was 2 years ago now. YouTube as you know relies heavily on Flash for video playback which is not compatible with the iOS range.
    However to combat this, YouTube did work on converting chunks of videos to H264 playback, but by default the entire backlog of videos did not go through this conversion process...so you will find the odd video out there that does not play.
    I believe though (and please someone correct me here if i am wrong) YouTube by default now encodes uploads in H264 as well as flash and a few other formats for multi-platform enjoyment :-) "

  • Non-SysAdmins get error 18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.

    I have a SQL 2008 R2 system (10.50.4000) where I'm having problems connecting any user that is not a SysAdmin.  Example: I setup a new SQL Login to use Windows Authentication and grant that user db_datareader on the target database.  The user attempts
    to connect using Excel client or Access or SQL Management Studio and receives Error 18456.  The SQL Server Logs shows Error 18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
    The strange part is that if I temporarily grant the user the sysadmin server role then the user can connect successfully and retrieve data.  But, if I take away that sysadmin server role then the user can no longer connect but again receives the Error
    18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
    We've turned off UAC on the client machine to see if that was the problem, but no change.
    I have dropped and re-added the user's SQL Login (and the related database user login info).  No success.
    The Ring Buffers output shows:
    The Calling API Name: LookupAccountSidInternal
    API Name: LookupAccountSid
    Error Code: 0x534
    Thanks for any help.
    -Walt

    Yes, you understand correctly.  The user is logging onto a workstation (not the server) with a Windows Authenticated id.  The user is using either Excel or Access or SSMS and connecting to the server using a Windows Authenticated SQL Login account.
     If the account has sysadmin role (which is only for testing) then the connection is successful.  If I take away sysadmin role from the account then the connection is unsuccessful and the SQL Server Log shows Error
    18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
    (SQL Authentication is not an option here.  I must use Windows Authentication).
    Any other troubleshooting assistance you can offer would be appreciated.  Thanks.
    -Walt 

  • SQL Server Agent job fails with error : The package execution returned DTSER_FAILURE (1).

    Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 10:00:01 AM Error: 2014-08-15 10:00:07.20
    Code: 0xC0047062 Source: Data Flow Task LEAN [6761]
    Description: Teradata.Client.Provider.TdException: [Teradata Database] [3006] Logons are disabled.
    at Teradata.Client.Provider.WpMessageManager.CheckForError()
    at Teradata.Client.Provider.WpMessageManager.ProcessResponse()
    at Teradata.Client.Provider.WpLogonManager.Action()
    at Teradata.Client.Provider.WpSession.ManagerAction(WpMessageManager manager, UtlStopwatchWrapper watch, Int32 connectionTimeout)
    at Teradata.Client.Provider.WpSession.Open(Int32 connectionTimeout, String password)
    at Teradata.Client.Provider.WpSession.Open(Int32 connectionTimeout)
    at Teradata.Client.Provider.Connection.Open(UtlConnectionString connectionString, UInt32 timeout)
    at Teradata.Client.Provider.ConnectionPool.CreateConnection(UInt32 timeout)
    at Teradata.Client.Provider.ConnectionPool.GetConnectionFromPool(Object owningObject)
    at Teradata.Client.Provider.ConnectionFactory.GetConnection(Object owningObject, UtlConnectionString connStr)
    at Teradata.Client.Provider.TdConnection.Open()
    at Microsoft.SqlServer.Dts.Runtime.ManagedHelper.GetManagedConnection(String assemblyQualifiedName, String connStr, Object transaction)
    at Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100.AcquireConnection(Object pTransaction)
    at Microsoft.SqlServer.Dts.Pipeline.DataReaderSourceAdapter.AcquireConnections(Object transaction)
    at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostAcquireConnections(IDTSManagedComponentWrapper100 wrapper, Object transaction)
    End Error Error: 2014-08-15 10:00:07.35 Code: 0xC0047017 Source: Data Flow Task SSIS.Pipeline
    Description: component "LEAN" (6761) failed validation and returned error code 0x80004005. End Error Error: 2014-08-15 10:00:07.48
    Code: 0xC004700C Source: Data Flow Task SSIS.Pipeline Description: One or more component failed validation.
    End Error Error: 2014-08-15 10:00:07.60 Code: 0xC0024107 Source: Data Flow Task
    Description: There were errors during task validation. End Error
    DTExec: The package execution returned DTSER_FAILURE (1). Started: 10:00:01 AM Finished: 10:00:07 AM
    Elapsed: 6.692 seconds. The package execution failed. The step failed.
    SQL Server agent job fails with above error, Please let me know process tohandle it.
    Thanks,
    Vishal.

    The error message suggests its the issue with Teradata source database to which SSIS tries to connect within the data flow task. Make sure Teradata database is available and LOGON is enabled.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Token-based server access validation failed with an infrastructure error

    Hi
    We have a new Win 2008 Enterprise x64 server running SQL 2008
    When we try to connect to the server using Windows Authentication, from a user account which is a domain administrator, we get the following message:
    "Token-based server access validation failed with an infrastructure error"
    What needs to be configured here for this to work ?
    Thanks
    Bruce

    Hi,
    I am encountering the same error message but it is more around the login, this problem happens only on one server but it is fine on another three, my investigation show it is a ghost SID associated with AD user account
    Background
        1- An Active Directory (AD) account was created for a user [Domain\UserA]
        2- A SQL login was created for the account above and then granted access to a number of databases
        3- The AD account was renamed/modified to [Domain\UserB]
        At this stage the user would encounter an error when connecting to the server
        The sql log show this error message
        Error: 18456, Severity: 14, State: 11.
        Message
        Login failed for user 'domain\user'. Reason: Token-based server access validation failed with an infrastructure error. Check for previous errors.     [CLIENT: xxx]
    Action on Server 1 SQL (the one with the problem)
        1- Dropped the user from the databases
        2- Re-Created the login from the windows account [Domain\UserB]
        3- Created the user in the respective databases
        But the user still unable to connect to the server
    Investigation
        On server 1, the SID of the user in SYSUSERS was Matching SYSLOGINS and matches with result of SUSER_SID(Domain\UserA)
        But it does not match the SID in the AD
        The rest of the servers all have the correct SIDs
        When I use SUSER_SNAME(Incorrect-Sid) and SUSER_SNAME(Correct-Sid) on this server they both return [Domain\UserB]
        The problematic server is always returning the incorrect SID when recreating the user login and when using SUSER_SID(Domain\UserA) as if it is cached somewhere.
    I can't specify the SID when creating the SQL login because it is using the Windows account
    Your ideas on how to fix this problem are much appreciated
    Regards,
    DGL

Maybe you are looking for

  • Credit Memo and Debit Memo in AP and AR

    Hi , Can some please explain the difference between debit memo, credit memo in AP and AR. Please explain with examples...... Regards, Anil

  • What is the file name of the Profile file containing past e-mails etc

    I backup to an external drive in uncompressed plain language format. My e-mails beyond 2014 have been lost from my C Drive but still exist on my external hard drive. But I can't find them as I don't know the Profile file name

  • How to stop autoplay of videos?

    June 2013: videos on websites start playing without my permission, how to stop this? What I tried: I uninstalled Adobe Flash (disabling Flash add-on didn't work), existing "stop autoplay" add-ons are no longer working according to reviews, tried solu

  • Messed up Boot Camp XP install - can't start up without holding option down

    For some reason my XP install via boot camp messed up and so I aborted it. Now, if I turn on my iMac unattended, I get a black screen with "boot from cd" or something in text. If I hold down option, obviously I get boot drive options and can choose M

  • Unable to consume Webservice

    Hi, I am unable to consume web service. here is the code i have used so far: None of the methods worked, I have used <cfinvoke>, createObject, building SOAP packet manually. Here is a link to WSDL: https://ws.ruk1.net/webservices/ResponsysWS?wsdl I d