SSIS deployment issue [duplicate] - excel

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Running an SSIS Package using dtexec
My SSIS package is working fine when I'm running it on my local system. My Package copies a blank template excel file which has only headers, to another place, and then populates this copy with data from the DB. However, when i place the package and config on the server, and schedule an SQL server job on it, it's throwing errors as follows :
Executed as user: CIQHYD\sqladmindev.
Microsoft (R) SQL Server Execute Package UtilityVersion 10.0.4000.0 for 64-bitCopyright (C) Microsoft Corp 1984-2005. All rights reserved.
Started: 3:24:28 PM
Error: 2012-10-29 15:24:28.34
Code: 0xC001401E
Source: GICSReport Connection manager "GICSReport.xls"
Description: The file name "\\HYD-FILESVR\Departments\Technology\GICSReports\Dev\GICSReport.xls" specified in the connection was not valid.
End Error
Error: 2012-10-29 15:24:28.34
Code: 0xC001401D
Source: GICSReport
Description: Connection "GICSReport.xls" failed validation.
End Error
DTExec: The package execution returned DTSER_FAILURE (1).
Started: 3:24:28 PM
Finished: 3:24:28 PM
lapsed: 0.234 seconds
[SQLSTATE 42000] (Error 50000). The step failed.
When I delete the file at the Destination folder, i get this error :
Executed as user: CIQHYD\sqladmindev.
Microsoft (R) SQL Server Execute Package Utility
Version 10.0.4000.0 for 64-bitCopyright (C) Microsoft Corp 1984-2005. All rights reserved.
Started: 3:15:38 PM
Error: 2012-10-29 15:15:38.57
Code: 0xC001401E
Source: GICSReport Connection manager "GICStemplate.xls"
Description: The file name "\\HYD-FILESVR\Departments\Technology\GICSAutomationTemplate\GICStemplate.xls" specified in the connection was not valid.
End Error
Error: 2012-10-29 15:15:38.57
Code: 0xC0202070
Source: GICSReport Connection manager "GICStemplate.xls" Description: The file name property is not valid. The file name is a device or contains invalid characters.
End Error
Error: 2012-10-29 15:15:38.57
Code: 0xC0029163
Source: Copy Template To Destination File System Task
Description: File or directory "\\HYD-FILESVR\Departments\Technology\GICSAutomationTemplate\GICStemplate.xls" represented by connection "GICStemplate.xls" does not exist.
End Error
Error: 2012-10-29 15:15:38.57
Code: 0xC002F30A
Source: Copy Template To Destination File System Task
Description: The source is empty.
End Error
DTExec: The package execution returned DTSER_FAILURE (1).
Started: 3:15:38 PM
Finished: 3:15:38 PM
Elapsed: 0.344 seconds [SQLSTATE 42000] (Error 50000). The step failed.

Version 10.0.4000.0 for 64-bitCopyright (C) Microsoft Corp 1984-2005.
Did you try to run it in 32-bit mode?
http://microsoft-ssis.blogspot.nl/2012/09/swtich-package-from-64bit-to-32bit.html

Related

SAP Commerce Cloud with Spartacus installation error

I am with a local installation of Sap Commerce Cloud 2011 with Spartacus following the steps of https://sap.github.io/spartacus-docs/installing-sap-commerce-cloud-2011/
When i execute the sentence: install.bat -r cx-for-spa
BUILD FAILED
D:\CX\SCC\hybris\bin\platform\build.xml:9: The following error occurred while executing this line:
D:\CX\SCC\hybris\bin\platform\resources\ant\antmacros.xml:89: The following error occurred while executing this line:
D:\CX\SCC\hybris\bin\platform\resources\ant\mavenTasks.xml:440: Java returned: 1
Total time: 3 seconds
Task :recipes:cx-for-spa:createStoreFrontExt FAILED
FAILURE: Build failed with an exception.
Where:
Build file 'D:\CX\SCC\installer\recipes\cx-for-spa\build.gradle' line: 581
What went wrong:
Execution failed for task ':recipes:cx-for-spa:createStoreFrontExt'.
external process returned non-zero exit code, command: [cmd, /c, set "ANT_OPTS=-Xmx1024m -Dfile.encoding=UTF-8" & set "PLATFORM_HOME=D:\CX\SCC\hybris\bin\platform" & set "ANT_HOME=D:\CX\SCC\hybris\bin\platform\apache-ant" & set "PATH=D:\CX\SCC\hybris\bin\platform\apache-ant\bin;%PATH%" & ant createConfig -Dinput.template=develop]
I have executed those steps( sets and ant ) and repeat the install setence..but this error always appears.
Any help is welcome .. thank you very much in advance
I did the same installation last week (Sap Commerce 2011 for Spartacus).
Question to you:
Have you installed the jdk SapMachine 11 or 17? (17 makes trouble)
https://sap.github.io/SapMachine/
Have you updated the System Environment Variables of your system?
https://www.youtube.com/watch?v=E5wJXR63g1U
Have you comment out "Build Parallel = true" in the config file?
C:\SapCommerce2011\installer\customconfig
In file:"build.parallel=true" => "#build.parallel=true"
KR
Nathan

An unknown server-side error occurred while processing the command. Original error: Failed to locate opened application window with appId

Class Initialization method xxxxx.Features.PublicAppFeature.FeatureSetup threw exception. OpenQA.Selenium.WebDriverException: OpenQA.Selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Failed to locate opened application window with appId: xxxxxxxxxxxxxxxxx, and processId: xxxx.
An Application opened on the Remote machine. But they failed with the above error.
Run on Azure Pipeline on a Self-hosted machine(Window Server 2019 Datacenter)
Application is opened on the machine.
AppiumOptions options = new AppiumOptions();
options.AddAdditionalCapability("app", AppPath);
options.AddAdditionalCapability("ms:waitForAppLaunch", $"{SecondsToWaitOnOpen}");
options.AddAdditionalCapability("ms:experimental-webdriver", false);
session = new WindowsDriver(WindowsApplicationDriverUrl, options);

"SPManager.Initialize failed" when running PSConfig on sharepoint 2013

I am trying to update a sp2013 farm from SP1+July 2016 CU to the August 2020 CU. I've already installed the patch, and am trying to run PSCONFIG now.
The first APP server (which runs Central admin) PSCONFIG command completed successfully, but I have been unable to get any of the remaining servers to complete - I've tried both WFE and another App server, in all cases, PSCONFIG exits with the following error:
> PSConfig.exe -cmd upgrade -inplace b2b -wait -cmd applicationcontent -install -cmd install
features -cmd secureresources
SharePoint Products Configuration Wizard version 15.0.4939.1000. Copyright (C) Microsoft Corporation 2012. All rights reserved.
Performing configuration task 1 of 7
Initializing SharePoint Products upgrade...
Waiting to get a lock to upgrade the farm.
Successfully initialized the SharePoint Products configuration.
Performing configuration task 2 of 7
Initiating the upgrade sequence...
Failed to initiate the upgrade sequence.
An exception of type Microsoft.SharePoint.Upgrade.SPUpgradeException was thrown. Additional exception information: Exception of type 'Microsoft.SharePoint.Upgrade.SPUpgradeException' was thrown.
Total number of configuration settings run: 2
Total number of successful configuration settings: 1
Total number of unsuccessful configuration settings: 5
Successfully stopped the configuration of SharePoint Products.
Configuration of SharePoint Products failed. Configuration must be performed before you use SharePoint Products.
For further details, see the diagnostic log located at d:\spdata\Logs\ULS\PSCDiagnostics_12_4_2020_16_38_33_727_1311047457.log and the application event log
When I check the PSCDiag file, the error is just "Exception of type 'Microsoft.SharePoint.Upgrade.SPUpgradeException' was thrown"
12/04/2020 15:56:42 12 ERR Task upgradebootstrap has failed with an unknown exception
12/04/2020 15:56:42 12 ERR Exception: Microsoft.SharePoint.Upgrade.SPUpgradeException: Exception of type 'Microsoft.SharePoint.Upgrade.SPUpgradeException' was thrown.
at Microsoft.SharePoint.Upgrade.SPManager.BootStrap(Guid sessionId, SPUpgradeOperationFlags flags)
at Microsoft.SharePoint.PostSetupConfiguration.UpgradeBootstrapTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
I've rebooted (multiple times)
Tried stopping/restarting IIS
Cleared the sharepoint config cache
Run Get-spProduct -local - it give an error the first time I run it, but then succeeds the second time (which is the same behavior I had on the first server which completed successfully)
> Get-SPProduct -Local
Get-SPProduct : Failed to call GetTypes on assembly
Microsoft.AnalysisServices.SPAddin, Version=12.0.0.0, Culture=neutral,
PublicKeyToken=89845dcd8080cc91. Could not load file or assembly
'Microsoft.AnalysisServices.SPClient, Version=12.0.0.0, Culture=neutral,
PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot
find the file specified.
At line:1 char:1
+ Get-SPProduct -Local
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (Microsoft.Share...letGetSPProduct:
SpCmdletGetSPProduct) [Get-SPProduct], SPUpgradeException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SpCmdletGetSPPro
duct
> Get-SPProduct -Local
ProductName Required Missing Servers
----------- -------- ------- -------
Microsoft SharePoint Server... True {}
Microsoftr Project Server 2013 True {}
I do see a few UNEXPECTED level errors in the ULS logs relating to Microsoft.AnalysisServices.SPAddin
ERROR Failed to call GetTypes on assembly Microsoft.AnalysisServices.SPAddin, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91. Could not load file or assembly 'Microsoft.AnalysisServices.SPClient, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified. 00000000-0000-0000-0000-000000000000
and also one that appears related to inability to update the central admin - but I believe that would have been done when I ran PSConfig on the Central admin server, which completed successfully
12/04/2020 16:58:20.93 OWSTIMER (0x3254) 0x0B3C SharePoint Foundation Upgrade SPUpgradeSession ajxme ERROR CanUpgrade [SPContentDatabase Name=SYSdev_content_CentralAdmin] failed. 00000000-0000-0000-0000-000000000000
any suggestions are appreciated.
Thanks
I found the issue. The central admin server on which PSCONFIG completed successfully had SQL Server 2014 PowerPivot installed, but the other servers in the farm all had SQL Server 2012 PowerPivot installed. (this is dev environment, and PowerPivot had been installed for testing long ago).
I uninstalled SQL Server 2012 PowerPivot and installed SQL Server 2014 PowerPivot on all other servers. PSCONFIG then completed successfully on all the servers.

Error executing action `install` on resource 'newrelic_agent_infrastructure[Install]' using data bag

We're trying to install New Relic infrastructure agent using a third party cookbook. But we've got an error:
Error executing action install on resource 'newrelic_agent_infrastructure[Install]'
Our Recipe:
#
# Cookbook:: third-party-newrelic
# Recipe:: infraestructure-agent
#
# Copyright:: 2018, The Authors, All Rights Reserved.
include_recipe 'base::databag'
include_recipe 'newrelic::infrastructure_agent'
# Default Variables
newrelic = decrypt_databag('newrelic')
node.normal['newrelic']['license'] = newrelic['license_key']
Log Error:
Recipe: newrelic::infrastructure_agent
* newrelic_agent_infrastructure[Install] action install
================================================================================
Error executing action `install` on resource 'newrelic_agent_infrastructure[Install]'
================================================================================
RuntimeError
------------
The NewRelic key is required.
Cookbook Trace:
---------------
/var/chef/cache/cookbooks/newrelic/libraries/helpers.rb:15:in `check_license'
/var/chef/cache/cookbooks/newrelic/providers/agent_infrastructure.rb:18:in `block in class_from_file'
Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/newrelic/recipes/infrastructure_agent.rb
8: newrelic_agent_infrastructure 'Install'
Compiled Resource:
------------------
# Declared in /var/chef/cache/cookbooks/newrelic/recipes/infrastructure_agent.rb:8:in `from_file'
newrelic_agent_infrastructure("Install") do
action [:install]
default_guard_interpreter :default
declared_type :newrelic_agent_infrastructure
cookbook_name "newrelic"
recipe_name "infrastructure_agent"
end
System Info:
------------
chef_version=13.8.5
platform=ubuntu
platform_version=16.04
ruby=ruby 2.4.3p205 (2017-12-14 revision 61247) [x86_64-linux]
program_name=chef-client worker: ppid=101819;start=19:52:27;
executable=/opt/chef/bin/chef-client
Running handlers:
[2018-05-10T19:52:34+00:00] ERROR: Running exception handlers
Running handlers complete
[2018-05-10T19:52:34+00:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 07 seconds
[2018-05-10T19:52:34+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2018-05-10T19:52:34+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2018-05-10T19:52:34+00:00] ERROR: newrelic_agent_infrastructure[Install] (newrelic::infrastructure_agent line 8) had an error: RuntimeError: The NewRelic key is required.
[2018-05-10T19:52:34+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Even though using the follow line instead of a data bag:
node.default_unless['newrelic']['license'] = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
We've tried many alternatives for this command, but it wasn't fertile.
Thanks in Advance.
Is the relevant code so that should work, but you can try:
node.override['newrelic']['application_monitoring']['license'] = 'asdf'
by the issue:
https://github.com/djoos-cookbooks/newrelic/issues/345
Ok. We manage to solve this problem by changing this line in the followed files:
../resources/agent_infrastructure.rb
../resources/agent_php.rb
From:
attribute :license, :kind_of => String, :default => NewRelic.application_monitoring_license(node)
To:
attribute :license, :kind_of => String, :default => lazy { NewRelic.application_monitoring_license(node) }
Inside the recipe
node.default['newrelic']['license'] = newrelic['license_key']
Calling our data bag with this structure:
id: newrelic
license_key:xxxxxxxxxxxxxxxxxxxxx
Thanks for your help.

Unable to publish Azure website

When we are trying to publish site to Azure from VS 2013 we are getting
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.targets(4270,5): Warning : Retrying the sync because a socket error (10054) occurred.
Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 1 of 10.
can you guys have any idea why I am getting this error? Previously it was working.

Resources