.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
SP
satyapriyanayak
Subhransu Sekhar Jena
abhays
DotnetUser
Post New Web Links

Error occurred in deployment step 'Retract Solution': Attempted to perform an unauthorized operati

Posted By:      Posted Date: September 01, 2010    Points: 0   Category :SharePoint
 
Hi, Is there any reason why I got the error above in my dev machine? It works perfectly fine if I login using the service account. So permission do I need for a regular account? Thanks in advance.


View Complete Post


More Related Resource Links

Error occurred in deployment step 'Activate Features': Attempted to perform an unauthorized operat

  

Hello All,

I had developed a custom web part in SharePoint 2007 using VS 2005 and VSeWSS 1.2

I have upgraded this custom web part to SharePoint Server 2010 using VS 2010 by using the

"VSeWSS Import Tool For VS 2010" from here: http://code.msdn.microsoft.com/VSeWSSImport

For this upgrade tool,I referred this article: http://msdn.microsoft.com/en-us/library/ee662217.aspx

The custom web part got imported successfully and the build was also successful.

But its deployment gives me this error: Error occurred in deployment step 'Activate Features': Attempted to perform an unauthorized operation.

I am running administrator privileges on my Windows Server 2008 R2.

Any ideas why this is happening?

Thanks.


Regards.

Error occurred in deployment step 'Retract Solution': The language-neutral solution package was no

  

I've got the same error as those who opened this thread, but I'm looking for the cause of this error rather than deleting the solution file from SP2010 Server over and over again. 

I was developing and deploying with VS2010 and SP2010 Enterprise Edition just fine for over three month now and out of nothing this error pops up again and again for the same solution. I can't tell what I've changed or which software I might have installed in the meantime, so I can't give any hints what causes the errormessage. Which might be interesting: I installed my SP2010 Enterprise Edition in english and installed the german language pack afterwards. Kind regards, Andreas


Getting Error " Error occurred in deployment step 'Add Solution': Exception from HRESULT: 0x810702

  
i'm getting the following error when deploying my sharepoint project i've created 3 site templates by adding according to this article http://www.sharepointbits.com/blog/sharepoint-2010-custom-site-templates.html but when i deployed my project i got the following Error occurred in deployment step 'Add Solution': Exception from HRESULT: 0x8107026E

Error occurred in deployment step 'Add Solution': Failed to load receiver assembly

  

Guys,

I've created a VS2010 sharepoint project and added a feature event receiver to my site definition. When I try to deploy it show me the error bellow:

Error 1 Error occurred in deployment step 'Add Solution': Failed to load receiver assembly "SiteDefinitionProject2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a693a58979940483" for feature "SiteDefinitionProject2_Feature1" (ID: 9dce3ed9-5eb0-4bea-b42d-4dad84559a36).: System.IO.FileNotFoundException: Could not load file or assembly 'SiteDefinitionProject2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a693a58979940483' or one of its dependencies. The system cannot find the file specified.
File name: 'SiteDefinitionProject2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a693a58979940483'
   at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
 

VS2010 RTM bug?? Error Occurred in deployment step 'Add Solution': Value cannot be null. Parameter

  

I'm getting this error with Visual Studio 2010 (RTM) deploying to SharePoint 2010 (also RTM).

An "Empty SharePoint Solution" project with an OOB "Module" item added. Try to deploy and I get:

Error Occurred in deployment step 'Add Solution': Value cannot be null. Parameter name: s

The account I'm developing with has:

  • Domain Admin
  • Local Admin
  • SharePoint Farm Admin
  • Site Collection Admin
  • SQL "sysadmin"
  • SQL "DBOwner" on all config / content databases
  • UAC is disabled

The WSP package is created successfully, and if I roll it out using STSADM then it works perfectly. For some reason though Visual Studio 2010 thinks that it cannot be deployed!

Any ideas??


regards
Martin Hatch
MCPD .Net Web Development
MCTS WSS 3.0 | MOSS 2007
Visit my Blog - www.martinhatch.com

Error occurred in deployment step 'Add Solution': An object of the type Microsoft.Office.InfoPath.

  

While trying to deploy custom SharePoint workflow solution in VS 2010, along with InfoPath custom task edit form, I ran into the following error message.

Error occurred in deployment step 'Add Solution': An object of the type Microsoft.Office.InfoPath.Server.Administration.FormTemplate named xxx already exists under the parent Microsoft.SharePoint.Administration.SPFarm named xxx Rename your object or delete the existing object

How can I resolve this problem? I have did some research but none helpful so far.

Thanks.


Blog: http://convergingpoint.blogspot.com/

Error occurred in deployment step 'Add Solution': Operation is not valid due to the current state

  

Hi all,

    I am trying to deploy my first Visual Webpart from Visual Studio 2010 to SharePoint 2010. It contains simple 'Hello World!' message. The project builds successfully, but when I try to deploy it, it gives "Error occurred in deployment step 'Add Solution': Operation is not valid due to the current state of the object"

I have enabled SharePoint Server Publishing Infrastructure in the site collection and site.  

Help please. 

 


Problem when deployind ContentType: Error occurred in deployment step 'Activate Features': Field t

  
Im getting this error when i try to Deploy my ContenType: Error occurred in deployment step 'Activate Features': Field type GUID is not installed properly. Go to the list settings page to delete this field Does someone know how to fix this error? The ContentType is defined as: <     Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <!--Site columns--> <Field Name="Test" DisplayName="Customer Subject ID" ID="{38A9E5BA-62FF-4F3B-90E3-F9961FEABE20}" Type="Text" Required="FALSE" /> <!--Parent ContentType: Item (0x01) --> <ContentType ID="0x01004317ec735b25468583d7470aa17c36ae" Name="NextContentTypes - NextCustomerContentType" Group="Next Content     Types"Description="NextCustomerContentType" Inherits="TRUE" Version="0"> <FieldRefs> <!-- References to field difinitions --> <FieldRef ID="{38A9E5BA-62FF-4F3B-90E3-F9961FEABE20}" Name="Test"></FieldRef> </FieldRefs> </ContentType> </     Elements>

Error occurred in deployment step 'Activate Features': Invalid field name.

  
Hi, I've a empty sharepoint project where i've added a content type that looks like this: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Field ID="{45067EC7-078C-46A1-A075-E422C000215E}" Name="Schedule" DisplayName="Schedule" Group="Custom Fields" Type="Choice" Required="TRUE"> <CHOICES> <CHOICE>Minute</CHOICE> <CHOICE>Hour</CHOICE> <CHOICE>Day</CHOICE> </CHOICES> <Default>Hour</Default> </Field> <Field ID="{938CAAA4-C1AD-4E39-93D8-9C463391E006}" Name="Interval" DisplayName="Interval" Group="Custom Fields" Type="Integer" Required="TRUE" /> <Field ID="{3AD33CEA-6382-4BEE-8BB2-1C0902F13472}" Name="LastRun" DisplayName="Last Run" Group="Custom Fields" Type="Text" MaxLength="255" Required="FALSE" ReadOnly="TRUE" ShowInDisplayForm="TRUE" /> <!-- Parent ContentType: Document (0x0101) --> <ContentType ID="0x010100c293443c01ed4ac893ea199180df0244" Name="My Content Type" Group="Custom Content Types" Description=&quo

Error occurred in deployment step 'Recycle IIS Application Pool': Provider load failure

  

Hello,

I am using Visual Studio 2010 to create page layouts and preview images(http://blog.beckybertram.com/Lists/Posts/Post.aspx?ID=71). I was successful in creating page layouts but the image was not coming properly.

So I decided to change the path of image and deploy the project (Empty SharePoint project). But this time, I am getting an error
Error occurred in deployment step 'Recycle IIS Application Pool': Provider load failure
I am sure there is no relation between changing image path in elements.xml and this error.

I also browsed through and found some related issues, but they are not specific to VS 2010 or SharePoint 2010. And I am apprehensive of implementing them.
http://msdn.microsoft.com/en-us/library/bb961987(VS.90).aspx

1. The logged in user is site collection admin and local admin
2. Windows Management Instrumentation service is running
3. App pool's identity is configured to the local admin & password has not changed.

Thanks in advance

_____________________________
Vighnesh Bendre
http://markviky.blogspot.com

 


Error occurred in deployment step 'Activate Features': A duplicate field name "OrganizationTaxHTFi

  

Guys,

Trying to deploy a feature to a Content Type Hub site with three Content types and about 15 fields. I have two managed meta data fields that is part of the base Content Type that I "connect" with the meta data store with a feature receiver. Now, first time I deploy it (from VS 2010) it works fine but if I retract and then to do it again I get the follwing error message,

Error occurred in deployment step 'Activate Features': A duplicate field name "OrganizationTaxHTField1" was found.

(The field name "OrganizationTaxHTField1" is the name of one of the Note fields. My understanding is that you need a corresponding Note field to each Taxonomy Field, or?)

Anyone knows whats wrong and have a solution? To me it looks like the field doesn't gets removed when I retract but I can't find the field. Have checked the UI, the hidden meta data list and in SP Manager.

 Cheers,

Calle

 

 

 


Error occurred in deployment step 'Activate Features': Unable to cast object of type

  

I keep getting this error when trying to deploy a feature to use a customizable master page>  I verified that I my scope is at the web level.

Error 43 Error occurred in deployment step 'Activate Features': Unable to cast object of type 'Microsoft.SharePoint.SPWeb' to type 'Microsoft.SharePoint.SPSite'.
  0 0 FsMECCMaster

 

using System;

using System.Runtime.InteropServices;

Error_1_Error occurred in deployment step 'Upgrade solution': Command ID 'Contoso.Commands.IsSolu

  

When following this article for creating a Custom Deployment Step for SharePoint Projects i get the following error. (MSFT Article: http://msdn.microsoft.com/en-us/library/ee256698.aspx)

Error: Error 1 Error occurred in deployment step 'Upgrade solution': Command ID 'Contoso.Commands.IsSolutionDeployed' is invalid.

I have gone through the article two times and each time it does the samething. Any reason why it can't see the Command ID?


Attempted to perform an unauthorized operation Error when customizing theme of a new site

  

I am just trying to change the color of the site.  when I click apply, i get this error.

 

Error

Attempted to perform an unauthorized operation.

 

Troubleshoot issues with Microsoft SharePoint Foundation.

Correlation ID: 6164e755-f413-4e3b-a79b-be7bf7739f42

Date and Time: 11/23/2010 1:18:20 PM

 

Any help will be greatly appreciated


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend