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


Post New Web Links

i am getting the error in when i deploy the webpart

Posted By:      Posted Date: September 29, 2010    Points: 0   Category :SharePoint
 

I am getting the below error in when i  deploy webpart

Error 1 Error occurred in deployment step 'Activate Features': Attempted to perform an unauthorized operation.
  0 0 VisualWebPartProject2newg


                Thanks in advance.

With Best regards,

Gopi

 




View Complete Post


More Related Resource Links

Error in / Application after adding employee search in webpart

  

Hello everyone,

I am working on sharepoint 2007 and I was editing the webpart of the software and after adding the predefined employee search table, the server has crashed while trying to access the server remotely with the following error message:

Error in / Application

However, while trying to login locally I have no problem and can easily login.

What will be the course of action in fixing this error.

Also the site is complaining of an invalid certificate even after adding an exception.

Any help would be greatly appreciated.


Thank You,

Chris Stanko


RSS Viewer webpart error

  
Hi, I am trying to add RSS feed to RSS viewer webpart, I got the following error ProtocolError occured trying to complete the request. The server returned a status code of : ProxyAuthenticationRequired and the status description is : "Proxy Authentication Required" Please any one can help me Thanks

Error when programmatically connect filter webpart with excel webpart

  
Hello, On MOSS 2007 SP2 64bit I am trying to programmatically connect a SPSlicerTextWebPart with an ExcelWebRenderer but I am getting the error: "The connection point "IFilterValues" on "g_046273fe_af27_4064_86b1_70f2c57c326c"(the excel webpart)   is disabled" and I can't find a way to enable it... I'm using the folowing code: using(SPLimitedWebPartManager webPartMgr = web.GetLimitedWebPartManager("Stats.aspx", PersonalizationScope.Shared)) { Microsoft.SharePoint.Portal.WebControls.SPSlicerTextWebPart filterWebPart = (Microsoft.SharePoint.Portal.WebControls.SPSlicerTextWebPart)webPartMgr.WebParts[0]; if (filterWebPart.ConnectionID == Guid.Empty) { filterWebPart.ConnectionID = Guid.NewGuid(); } webPartMgr.SaveChanges(filterWebPart); ProviderConnectionPoint providerCP = webPartMgr.GetProviderConnectionPoints(filterWebPart)[0]; Microsoft.Office.Excel.WebUI.ExcelWebRenderer excelWebPart = (Microsoft.Office.Excel.WebUI.ExcelWebRenderer)webPartMgr.WebParts[1]; if (excelWebPart.ConnectionID == Guid.Empty) { excelWebPart.ConnectionID = Guid.NewGuid(); } excelWebPart.AllowConnect = true; webPartMgr.SaveChanges(excelWebPart); ConsumerConnectionPoint consumerCP = webPartMgr.GetConsumerConnectionPoints(excelWebPart)[2]; TransformableFilterValuesToFilterValuesTransformer t = new TransformableFilterValue

MOSS 2007 SP2 Error after 3rd party Webpart uninstallation

  
To All Experts out there, How to remove the error message of the uninstalled 3rd party webparts from the WFE server ? I got this error message almost all the time everyday ?   ####################################################################################################################################################Log Name:      ApplicationSource:        Windows SharePoint Services 3Date:          8/09/2010 10:10:48 PMEvent ID:      7043Task Category: Web ControlsLevel:         ErrorKeywords:      ClassicUser:          N/AComputer:      MOSSDEV01.domain.comDescription:Load control template file /_controltemplates/BambooVisualIndicatorFieldEditor.ascx failed: Could not load file or assembly 'RadAjax.Net2, Version=1.8.5.0, Culture=neutral, PublicKeyToken=3f7b438d1c762d0b' or one of its dependencies. The system cannot find the file specified.####################################################################################################################################################Log Name:      ApplicationSource:        Windows SharePoint Services 3Date:          8/09/2010 10:09:40 PMEvent ID:      6611Task Category: RuntimeLevel: &nbs

Deploy Error on contentType.UpdateWorkflowAssociation(wfAssociation);

  
I am using vs.net 2010 and deploying my feature which includes a workflow. I am getting the following error "Error 5 Error occurred in deployment step 'Activate Features': There is already a workflow association with this name 'Test Level'" This error is occurring on the following line contentType.UpdateWorkflowAssociation(wfAssociation);  If I remove the attempt to update the workflow association it deploys ok.  Also, if i remove the deployment site and recreate it so that there isn't a workflow association it works ok as well. Why am I getting this error on contentType.UpdateWorkflowAssociation(wfAssociation) ??   thanksdave

Deploy Reports Error (VS2008) to 2005 ReportServer Db...

  
Hi, i'm trying to deploy a report made in Visual Studio 2008 to a ReportServer Data Base 2005, but a get this error...   Error 2 The report definition is not valid.  Details: The report definition has an invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2007/01/reportdefinition' which cannot be upgraded.    Is it posible to use a SQL 2005 DB with Rdl's reports 2008   thanks

Changing Properties/Attributes of a Webpart in inline code block - Error 'System.Web.UI.WebControl

  
I'm trying this code below, but gettting error: System.Web.UI.WebControls.WebParts.WebPart' does not contain a definition for 'FilterValue1' I need to change the value of the FilterValue1 properties of a content Query WebPart with title = Applicant Files. Thanks in Advance!
protected override void OnLoad(EventArgs e) {  base.OnLoad(e); SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite SiteCollection = new SPSite("https://somesite/")) { SPWeb myWeb = SiteCollection.OpenWeb(); myWeb.AllowUnsafeUpdates = true; Microsoft.SharePoint.WebPartPages.SPLimitedWebPartManager mgr = null; mgr = myWeb.GetLimitedWebPartManager("default.aspx",System.Web.UI.WebControls.WebParts.PersonalizationScope.Shared); foreach (System.Web.UI.WebControls.WebParts.WebPart myWebPart in mgr.WebParts) { if (myWebPart.Title == "Applicant Files") { myWebPart.FilterValue1 = "/13"; mgr.SaveChanges(myWebPart); break; } } } }); }

Report Viewer Webpart shows error

  
Hi Friends, I am Report Viewer Webpart in sharepoint 2010 when i provide the report1.rdl to this webpart it shows the error "SQL extension is not registerd on this web application" any help would be appreciated  

Unhandled Error in SL App...when trying to run SL4 app as a webpart

  
Hi, I've read about this issue in several places, but all the proposed solutions haven't worked for me. Here's the full error. Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729) Timestamp: Fri, 17 Sep 2010 19:12:09 UTC Message: Unhandled Error in Silverlight Application An exception occurred during the operation, making the result invalid.  Check InnerException for exception details.   at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()    at WOVM.WOWCF.MyFunctionCompletedEventArgs.get_Result()    at WOVM.MainPage.client_MyFunctionCompleted(Object sender, MyFunctionCompletedEventArgs e)    at WOVM.WOWCF.WOServiceClient.OnMyFunctionCompleted(Object state) Line: 1 Char: 1 Code: 0 URI: http://myvm:54321/default.aspx   So am I right to assume that the problem lies to the fact that the endpoint isn't relative? Either way, what can I do to solve it?     

Sharepoint - Webpart doesnt deploy - stsadm reports deployment 'successful'

  
Hi,

MOSS 2007 :)

I am having problems deploying a webpart..
This webpart was successfully installed and deployed on a similar environment with no problems. However when trying to deploy it in its intended site it's having some strange problems..

1. I installed the webpart to the server (through stsadm) - return message "Operation completed successfully."
2. I deployed the webpart to the intended site - return message "Operation completed successfully."
3. I performed an IIS reset and navigated to the 'site features' area to find no trace of the webpart to activate.

I ran the 'stsadm -o enumsolutions' command to view the solutions that are deployed, and I see my webpart here:
   
  <Solution Name="solutionname.wsp">
  <Id>ID-here</Id

Error calling a WebRequest.Create() from within a Sharepoint webpart

  

Hi,

 

I need to fetch data from a 3rd party URL (via a HTTP API call; different domain from where Sharepoint is hosted) to display inside a webpart. 

When I try to preview the webpart I get the following error:

Request for the permission of type 'System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

I've also added the following to my web.config. Tried with trust levels as WSS_Medium and Full with no avail.

Any ideas? The part of the code without the webrequest executes well.


dtutil won't deploy my package, "error 0xc0011008 loading from XML"

  

My package runs fine on the dev server with remote database.  SSMS deploys it to the msdb on the remote server, no problem, and it runs there with no problem.

But when I try to use dtutil from the command line to deploy it from a local .dtsx file to the remote server, I get the following message:

Microsoft (R) SQL Server SSIS Package Utilities

Version 9.00.1399.06 for 32-bit

Copyright (C) Microsoft Corp 1984-2004. All rights reserved.



Could not load package "foo.dtsx" because of error 0xC0011008.

Description: The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.

Source:

Dev system is using Visual Studio 2008 and BI Studio R2, database server is SQl 2008 but not R2.

I don't think that matters.

What might matter is that I have embedded spaces in the file names and package names - just renaming the file didn't seem to help, I think I'll try renaming the package, for lack of any better idea to try.

Or, could it be a 32bit/64bit thing?  I'm not sure who is 32bit and who is 64bits, actually.

Help!??!

Thanks.

Josh

 


SSIS 2K5 - Deploy SSIS Package with C# - Error File cannot be found

  

Hi,

I made a installer program in C# that deploy ssis package on a SQL server 2005. I have like 50 package that contain only dataflow to update a datawarehouse and create fact tables.

I made also one package that call all the other packages. When I try to deploy the packages on the SQL server with the command SaveToDtsServer, I receive an error BUT only on the package calling all the other SSIS package ?? All the other SSIS packages are deployed but the package that call other packages failed to deploy. Whats strange is that when I use the domain controler to deploy the package (I use Impersonation in my C# code) its all working fine, but if I use another user (like the computer admin account), I got the error only on the package calling other packages ???

Can anyone help me on that ? I really don't know whats happening ?

The error that i have is : The file can't be found. But like I said, when using the domain controler user for impersonation, its working ???

 try

   {

    imp = new Impersonation(session["DBMASTER"], session["DBMASTER_PWD"]);

    

Access Denied Error Message from Custom Webpart

  

Hi,

I am new to MOSS so can anyone please help me to solve this problem.

Problem:

I've a list in MOSS-2007, and a group of people with Read Only Rights so they cannot change any list item. But I want to give them access to edit one column (i-e Comments) in that list.

So I created a custom web part page and put a comments text box in it. At DispForm.aspx page of list there is a link which redirects to Custom page for adding comments and I am passing Item ID in query string.

But the problem is that when anyone adds the comment on custom page an ACCESS DENIED message appears. I've even set "web.AllowUnsafeUpdates = true" but didn't work

Code:

            SPSecurity.RunWithElevatedPrivileges(delegate()
            {
                SPWeb web = SPContext.Current.Web;
                SPList lstTIX = web.Lists["ListName"];

             &nb

Tag Cloud WebPart Problem - Error: The tagged items could not be displayed. There was a problem reac

  
When i click on the tag within the tag cloud. it transfers me to a page and says - Error: The tagged items could not be displayed. There was a problem reaching the search service. Please contact your system administrator for assistance.

please tell how should i resolve this problem.

error when deploy wsp to sharepoint

  

i try to deploy 2 files wsp to sharepoint i was deploy it to test server and it is ok now i try to proudaction server but it give me this errors

when i open sharepoint site i see this error:

Line 1: <%@ Page Inherits="Microsoft.SharePoint.Publishing.TemplateRedirectionPage,Microsoft.SharePoint.Publishing,Version=12.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" %> <%@ Reference VirtualPath="~TemplatePageUrl" %> <%@ Reference VirtualPath="~masterurl/custom.master" %>

 

and in Solution Management it give me this error :

Default Web Site : Error: The web.config is missing from this IIS Web Site: c:\inetpub\wwwroot\web.config

 

but the config file is in  C:\Inetpub\wwwroot\wss\VirtualDirectories\80

not in this path in error message

how can i resolve this problem


Thanks for any help :) my blog is: http://www.waelk.com

Error occured when using SPWeb or SPSite in webpart

  

I am creating a custom webpart, in which I have a label control. This label will display the current site URL and here is the code

protected override void CreateChildControls()
        {
            base.CreateChildControls();
            SPWeb wb = SPContext.Current.Web;
            string baseURL = wb.Url.ToString();
            Label lblTitle = new Label();
            lblTitle.Text = baseURL.ToString();
        }

But when I try to use SPWeb or SPSite within CreateChildControl method, I am getting an unexpected error occurred message. Also I have used "using Microsoft.SharePoint;" too.

If suppose I comment those two line my web part is displaying the properly. As below

protected override void CreateChildControls()
        {
            base.CreateChildControls();
            //SPWeb wb = SPContext.Current.W

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