SCCM - Task sequence with application failure - enterprise

I have been having some issues lately when including applications in task sequences. When running any task sequence that contains applications, it automatically fails, and says "The referenced package cannot be found." I've checked my distribution points and boundary groups, and verified the application content is distributed. When checking the logs, it just states it failed to find an application, I track down the application it's referencing, and redistribute, or even remove it from the task sequence, and try running it again, I get the same error, except for the next application content ID's. When adding packages to a task sequence, it seems to run successfully. Has anyone else encountered this?
EDIT: I've also been seeing 'content hash value mismatch' errors in the logs.
Any help is greatly appreciated. Some extra info:
I have already restored the site server VM, rebuilt the distribution point.
Failed to find CCM_ApplicationCIAssignment object for AdvertID="***2017A", ModelName="ScopeId_E6E2F6FB-692F-4938-8AC6-146644EAE93F/Application_ce95b2ac-bf5a-4de2-b930-6f9b74b7dfd0"
"Failed to resolve selected task sequence dependencies. Code(0x80040104)"

Related

Facing errors while SQL deployment in azure devops pipeline

Am using sql DACPAC type of deployment in release pipeline of azure devops.but getting below error. I have no idea about SQL.Any suggestions?
Publishing to database 'database_name' on server 'Server_name'.
Initializing deployment (Start)
*** The column [dbo].[xxxx].[yyyy] is being dropped, data loss could
occur.
Initializing deployment (Complete)
Analyzing deployment plan (Start)
*** If this deployment is executed, changes to [dbo].[xxx2] might
introduce run-time errors in [dbo].[yyyy2].
Analyzing deployment plan (Complete)
Updating database (Start)
An error occurred while the batch was being executed.
Updating database (Failed)
Agree with Michael's appointment.
The column [***] is being dropped, data loss could occur.
and
If this deployment is executed, changes to [] might introduce
run-time errors in [].
These are all expected which caused by against the security. I assume you did some changes into your database which can not sure whether it would break anything on target database. Now, it will block the deployment since the server can't determine whether the changes are secure.
The first solution is set /p:BlockOnPossibleDataLoss=false.
The BlockOnPossibleDataLoss default value is true, which means stop the deployment if possible data loss detected. And false let SqlPackage.exe ignore them.
So, please go the task, then locate to and input the above argument into Additional SqlPackage.exe Arguments:
The second solution is input
/p:TreatVerificationErrorsAsWarnings=true
Note: The second solution should be used if the first one does not work for you.
Set TreatVerificationErrorsAsWarnings=true means treating the verification errors as warnings to get a complete list of issues, and it can bypass the limitation of allowing the publish action to stop when the first error occurs.
See this doc to get more publish action.

Error importing a static pool workstation

I'm re-importing my workstations but the static pool workstation: give me back the following error:
AWSJCS011E An internal error has occurred. The error is the following: "AWKRAE015E A requested resource is unknown. The following error was returned:"AWKRRP018E Unable to find source or target resources for the creation or update of a relationship
does anyone know what that means?
That message means a problem occurred while looking for a workstation into the system. In your scenario, you should make sure that all the agents beloging to the pool are up and running and correctly linked.
In addition to that, for every agent, you should also check the AgentID matches with the one you can find in the respective JobManager.ini file.
I hope this can help!

The specified procedure could not be found - how to identify?

I'm developing plugins for a program. Whenever I try to load my plugin in that program it crashes with an the specified procedure could not be foundbut nothing more.
Well to have an insight I tracked with Process Monitor (or ProcMon). I set the filter to just print messages for the process of my main program. However that application shows me including the libraries ends (after wandering through PATH) at the right file - i.e. Result: SUCCESS.
So my computer left me pretty clueless, yet refuses to work. Has anyone an idea how identify the missing procedure?
N.B.: Additionally I ran the DependencyWalker which gave me the usual error message because it's deprecated (dependency walker gives me errors on the system that runs correctly) - which could indicate that all dependencies are found.

Loadrunner Analysis threw an error and i have no idea what could have caused these many errors

We recently ran a PT and while loading the result of that test in Analysis i got a popup telling me that there was an error, the error trace is below. I am not sure what could have caused these many errors or what they even mean. I check the Analysis report and it had all the necessary information.
One of the experts told me that the errors were there because i was capturing snaphots of error during the test run but i am not convienced, how can taking snaphots generate so many errors!!
Could one of the loadrunner experts here help me understand what these errors mean and what could have caused them?
Log Trace is available at: https://docs.google.com/document/d/16gfaAXpGcKC8f6wfKU_dVjM-IqfbzWgdM6VvVYvo68Q/edit
Related to the questions on scope of the error above: From your error log....
75004 Transaction : <OpenWebPage_Login_31>
InstanceID: 4294967299
VUser info:
+Host:HostMachine_IP,
+Group:scriptname.1,
+Script:scriptname.1,
+ID:1.
End Time: 1357937049.69605
Transaction end time is less than the scenario start time
I have cleaned up a single line in your log for clarity purposes. Note that the line includes a couple of items which have been scrubbed, such as "HostMachine_IP." You may also examine the hosting for group, "scriptname.1" to find out which load generator host this is applied to.
As you have indicated that you have multiple load generators involved, examine carefully the scope of the errors in the error log. Are they all tied to one particular hostname? If you have more than one group on the same host then are both groups impacted by this error (error follows host and not group). If the error is tied to a script and to a group, then does the same error occur with the same script in another group on another load generator, such a single user running as a control set on a different load generator?
Break The errors apart. Examine the errors critically. All Hosts mean one thing: One host another. A instances of a script across multiple load generators mean one thing: Instances on a single load generator another. All scripts on one load generator imply one thing, especially when the instances on a second/third load generator do not fail.
Make sure all of your load generators are at the same major.minor(patch) release level as your controller.

How to troubleshoot TFS error TF237086 "The work item cannot be saved..."

I am getting the following error in a TFS 2010 build:
The work item '59' could not be updated: 'TF237086: The work item cannot be saved because at least one field contains a value that is not allowed.'
Work item 59 is a basic task I created to associate with my changeset on check-in. I have done no customization to the "task" work item. I get no errors when opening the task up and changing values manually. There is nothing in the build log that gives any clues as to what field is causing the problem.
How can I troubleshoot this issue?
Something I would do in this case:
Check the build service account, there's a high chance that when the work item is associated, its ChangedBy field is updated with this account and the value is not valid. Somebody in MSDN forum suggested checking the list of valid TFS users for a work item (you can open a bug and try typing the name in the AssignedTo field) and see if this account is in that list.
Try a checkin by yourself with the same associated task and see what fields are updated (you should be able to see this in the History tab), from there you can figure out the possible fields, and hopefully can guess the one that is in trouble.
If none of this works, I can get some more details and try to repro it on my machine. We'll need to improve error message to specify which fields that are invalid.
Hope this helps.
[Update]
The cause was indeed that the build service account (NT AUTHORITY\SYSTEM) did not have permissions to modify work items. All my attempts to fix this by editing group memberships failed, but I did get the build working without errors by using an unused project contributor's account as the build service account. Changing build service account may require the old build workspaces to be renamed or reassigned.
I had the same issue, after restarting VS 2015 IDE and entering credentials to my account on the TFS I was able to get rid of the errror.
After changing the build service account, I got a new error
The working folder xxxx is already in use by the workspace
1_1_SSSSSSSS;NT AUTHORITY\SYSTEM on computer SSSSSSSSS.
The solution to that issue is to use the TF utility to delete the workspace(s) associated with the SYSTEM build account. I had to copy the TF utility from my Laptop over to our server to run it.
See TFS Build Service Account change causes Build Failures - “Working Folder in use” Failures
Got the error on a long running build system where the user accounts had not changed.
found the WORKSPACE ID in the build log ran
tf.exe workspaces /owner:*
to confirm the workspace was on the build server and then ran
tf.exe workspace /delete 9_1_BUILDSERVER;OURDOMAIN\TFSBuild
to delete it, queued another build and no further problem.
If you changed process type, can throw this exception. Please correct your process type. My problem solved with the action.