Table of Contents
Here are some easy steps to help you troubleshoot a SharePoint solution deployment error.
Updated
- Read 4 minutes
This section discusses various issues that you may encounter when packaging and deploying SharePoint solutions. Advanced
Activate Troubleshooting
For diagnostics between Visual Studio, SharePoint and other tiers, you can use the EnableDiagnostics registry key to view the stamp the current of the stack. For more information, see Debugging SharePoint Solutions .
Add Project Output To Solution Package
You add project output to your deployment using the package designer. However, when you add project output, make sure that the platform of the project is the same as one of the SharePoint solutions. We strongly recommend that you target any CPU device for assemblies that you actually want to deploy to a SharePoint server. For more information, see the Build page, the Design task (Visual Basic) , and the Advanced Compiler Options (Visual Basic) dialog box.
Warnings And Validation Errors
When developing SharePoint tools in Visual Studio, there are reconciliation steps to ensure that the deployment of the solution was created correctly. You can also create your own validation steps for your features and packages. For more information, see How to: Create Custom Component and Package Validation Codes for SharePoint Solutions .
Resolving Deployment Conflicts
If you are using a SharePoint solution, problems can arise if an item on the server has the same name, URL, or ID in an item in your solution package. You can modify the conflict resolution of your deployment to resolve, report, or ignore conflicts during modules, web parts, list instances, and topic content types.
The following table shows the settings associated with the Deployment Conflict Resolution property.
value | Description |
---|---|
Automatic | Detects failures and automatically resolves conflicts. Collisions |
Request | detects them and therefore reports them to the developer before conflicts are investigated. |
No | Does not detect collisions. |
Differences Between Deployments
If you are using Visual Studio with f5 to set up a SharePoint project for testing and debugging on a local SharePoint server, there are actually a few more steps that Visual Studio just goes through.
-
Reset IIS at stage timesrolling.
-
Automatically assign workflows.
-
Typically, the sequence for activating a function is determined based on the cardinality structure in the packaging constructor. May
You are adding commercial deployment steps to further change the behavior of F5. For more information, see How To: Create a Custom Deployment Step for SharePoint Projects .
Viewing a SharePoint page takes a long time when deploying a Visual Web object in a bin folder on Windows Vista, Windows 7, or Windows Server 2008. If you change files in a better top-level ASP.NET directory, such as a site in the bin directory, everything will be recompiled web application. This can potentially cause a delay of up to 15 seconds for the final rendering of the SharePoint page.
Error Message
Resolution
-
Install update KB967535 as described in Microsoft FIX Support article: Hotfix available to resolve two issues in ASP.NET on IIS 7.0 for Windows Vista and also for Windows Server 2008.
-
Add the following line – Web.File:
If the address of a SharePoint project item contains square brackets, its deployment fails with an actual error.
Error Message
Error during deployment phase Solution ':' Add CAB file to solution could not be retrieved.
Resolution
To work around the issue, in this situation, remove all parentheses in the names that refer to the elements of the SharePoint project.
Unable To Deploy A Robust Visual Web Part To One Site In Another Web Application
The first time you deploy a visual web part so that it becomes a new site in the web application than the one it is currently deployed to (by modifying the SiteUrl property of the visual web part), you will receive an exception error. ...
Error Message
An error occurred during the "Add Solution" deployment phase: Feature ID [#] was still installed on this farm. Use the force part of the attribute to explicitly override this feature.
Resolution
This error occurs because the Beauty Web Part functionality is being removed in SharePoint. To be successfulTo deploy the visual web environment, redeploy the solution by selecting each of our F5 keys.
Warning Will Be Displayed If Nested Visitor Controls Are Expanded
This warning appears if you are deploying a new SharePoint solution that has nested custom rules, such as a visual web part that contains a custom control, or a custom control that contains a visual web element or other custom control. This happens when you add a control to the designer by dragging and dropping it from the toolbar or using the @Register directive in source mode.
Error Message
Warning item 1 "[Control Name]" is not a known item. This can happen if the website has a receive error or if the web.config file is missing.
Resolution
If the Visual Studio system project doesn't know some of the nested custom controls, it won't be able to deploy IntelliSense and will display a preanticipation. The presentation system does not recognize a nested custom control if the project is not enabled and the designer is not closed and therefore reopened, or if the auto-delete option is still enabled, which will delete the custom control when debugging SharePoint Hive.
Updated
Are you tired of your computer running slow? Annoyed by frustrating error messages? ASR Pro is the solution for you! Our recommended tool will quickly diagnose and repair Windows issues while dramatically increasing system performance. So don't wait any longer, download ASR Pro today!
To suppress the warning, create and close each of our projects, then close the designer again, or turn off the auto-delete option for the project. To do this, the deselected checkbox "Automatically check out after debugging" is available on the SharePoint tab of the Project Lease dialog box.
See Also
Speed up your computer today with this simple download.
Comment Résoudre Les Problèmes De Déploiement De Sharepoint
So Beheben Sie Probleme Bei Der Bereitstellung Von Sharepoint
Problemen Met De Implementatie Van SharePoint Oplossen
Cómo Resolver Problemas De Implementación De Sharepoint
Jak Rozwiązać Problemy Z Wdrażaniem Programu SharePoint
Sharepoint 배포 문제를 해결하는 방법
Come Risolvere I Problemi Di Distribuzione Di SharePoint
Como Resolver Problemas De Implantação Do Sharepoint
Hur Man Löser Sharepoint-distributionsproblem
Как решить проблемы с развертыванием Sharepoint