sharepoint

Cannot catch the SharePoint Access denied error

I am trying to access a sharepoint list programmatically in a webpart, like this. try { masterList = web.Lists[listId]; } catch(Exception e) { RenderExceptionMessage(e.Message); } The RenderExceptionMessage() method is supposed to show a user-friendly error message inside the webpart. But the problem is that I am not able...

Any problems upgrading TFS to 2008 if SharePoint already upgraded to 3.0?

I installed WSS 3.0 and pointed my TFS2005SP1 installation at it. I am planning my TFS 2008 upgrade. Everything I've read mentions migrating to WSS3.0 after the TFS upgrade. Are there any gotchas I need to be aware of related to the WSS upgrade already having been performed? ...

how to localise a sharepoint site for different languages

How can i localise a sharepoint site. i need it to copy any new content created in an english site to be copied into a german site. the actual translation is handled ok. i just need the creation of site/subites/content/pages to be copied from the english site to the german site ...

SharePoint - Web part to view remote list

Which web part and how to configure it to view a list from a different site collection? Please note that I do not want to view a page but a list. For example view Announcements from a different team site under a seperate site collection. Thank you in advance for your help. ...

Deploying Layouts in SharePoint

I am developing publishing site. I have some layouts that are pre-populated with web parts and have a problem when I need to make some change on the layout. Deployment succeeds but I still see old version. If make I change in SP Designer it is reflected OK but not if the change is done by the feature that is being deployed. It looks lik...

How to List SharePoint 2003 Site Administrators

Hi, I am SharePoint 2003 newbie. My organization has a approximately 75 individual SharePoint sites (for departments and teams). Most sites have unique permissions. I would like to build a .NET tool that would either take the URL of a SP site as input and have the app return the name of all users that have Administrator rights to t...

VSeWSS problems when creating a new base class which inherits from SPItemEventReceiver

I have tried to do the following: public abstract class MyItemEventReceiverBase : SPItemEventReceiver public class TestItemEventReceiver : MyItemEventReceiverBase It builds without a problem, but visual studio gives a error when I switch to the WSP View. The error is as follow: "Unable to load one or more of the requested types. Retr...

Has anyone successfully re-created the ECB menu on the Data Form web part?

I'd like to use the Data Form web part to display list content from a list in a different site. I'd also like to show the ECB menu as well to show view properties, edit properties, edit in Microsoft Word (if it is a Word document), etc. I suppose it is just an exercise in XSLT, but I'd like to know if someone has cracked this nut befor...

variations for site that already exists sharepoint

I have a site set up in sharepoint after root there is a subsite "English" I want to now create a variation for this, and set English as the source. Then I need to create a "German" version that has the exact same structure and pages as the english site. the problem im having is that the english site and structure is already set up ...

sharepoint variation nightmare

Im working with shareopoint variations and having trouble. In variation settings - variation home the location textbox/browse button are greyed out and there is a message "The variation root site cannot be modified, because variation hierarchies have been created." there was a "/" in that text box bu not sure why its no longer there. ...

Workflow: Pause for Duration SPD WF Action hangs...

Currently, I'm developing a SPOnline workflow trying to automatically assign a task monthly, quarterly, or yearly based on a drop down box value. From what I've been testing, the pause for duration, set at 5 minutes, seems to hang and does not resume the workflow after pausing. I have tried removing the pause for duration action and ha...

Async thread dies in SharePoint web part

I wrote a custom web part for SharePoint 2007 that loads an existing user control. One of the things the user control does is an asynchronous upload of a file via FTP. I'm using a third-party FTP library that has BeginUpload/EndUpload methods for async file transfer. I also have an update panel in the user control that I use to display a...

Sharepoint controls in ASP.NET application

Is there a way I can use the sharepoint controls in a ASP.NET web application like any other controls that come out of box for ASP.NET? If yes, what are the pre-requisites I need to install? Thank you, Harsha ...

How to accurately determine if an SPFile instance is a converted file?

I have been working on a document conversion feature for converting a docx file to a pdf file using MOSS 2007. The SPFile.Convert() call is being made in the ItemAdded event and the ItemFileConverted event is fired fine as well. The eventing seems to be working fine, but the IsConvertedFile and SourceLeafName properties of the converte...

Can a SharePoint list item have it's Targeted Audience calculated or otherwise automatically specified?

I want to show targeted (filtered) content from a list to users. I already have a column in the list that basically has the Target Audience value. This field is a multi-choice column (checkbox input) which I prefer over the current input field for Targeted Audiences. To get audience filtering to work I unfortunately need to have the T...

Best way to hide and show menues in Sharepoint

We have customized Sharepoint rather much and added new menuoptions for items. We have different usergroups that also are members in different audiences The matrix of menues to display or not will be based on 1) Role 2) Status of the item showing (that is part of the access rights) How should you solve this? I implemnted this in code...

SharePoint Sites.ExportWeb return values

I'm playing with the Sites.ExportWeb service in SharePoint, and I've gotten it to the point of returning an integer value. My problem is I can't find any documentation anywhere about what these return values mean! My C# code is below, the return value I'm getting is 5, but obviously I need to know what all possible return values mean :...

LDAP query in a webpart deployed in MySite throws an exception

Hi All, I designed a webpart that brings the employee info according to the EmployeeId stored in active directory, this webpart must be deployed in MySite for every user and then get the employeeId from active directory for the current user "mysite" owner, for testing purposes I deployed the webpart in the intranet site and logged in wi...

Copy document libary sharepoint 2003 include history

Hello, I've got a sharepoint 2003 document libary with 15000+ document. Now i want to archive it, for faster performance. How can i copy the document libary include content and history? I thought it was possible with stsadm, just like 2007. But that's not right. Is there anyone with experience for keeping the version history? Greetin...

Run Sharepoint 2003 on VMWare?

Our production Sharepoint server serves around 800 users and runs together with its SQL Server on a physical dual-core machine. The network guys now to put as much as possible on VMWare. The Sharepoint server and the SQL Server will be put on different servers. Does anyone have experience of running a production-level Sharepoint serve...