sharepoint

ASP.NET/SharePoint master page issue

Hello everyone, I am using SharePoint Server 2007 + C# + .Net 3.5 + VSTS 2008 + ASP.Net. And I am using collaboration portal template. I am developing a custom aspx page and put it in _layout folder of a site and I want to apply default.master of the SharePoint site to this aspx page. Any samples about how to achieve this goal? thanks...

Cannot access site groups with user with manage hierarchy permissions

Hi all I have a custom form that lists the site groups and the users in each group. the form has twi drop down lists: one to display the site's group and the other to display the users in that group. when I log to the form with the administrator user it works fine. But if I log in with a user with manage hierarchy permission level, i...

Why does Sharepoint 2010 Web Reference work, but Service Reference does not

Sharepoint is setup to use NTLM authentication. When I reference http://myserver/Sites/Ops/_vti_bin/Lists.asmx?WSDL as a Web Reference, I can call the methods and get valid responses. When I reference the same url as a Service Reference, the server throws an exception when calling methods. My account is admin on the Sharepoint Farm. ...

Customizing SharePoint Breadcrumb Navigation

Hello All, I need help trying to customize the Breadcrumb navigation displayed by SharePoint. I have created two .aspx pages in the Pages Library named search.aspx and products.aspx. A link from search.aspx leads to the page products.aspx, and I want the breadcrumb navigation to reflect this structure so that the breadcrumb looks as fol...

how to hide webpart from a group?

can i hide (not by code) a webpart ONLY from a specific group? ...

SharePoint 2007 - Current Timer jobs?

How to find the currently running SharePoint 2007 Timer jobs using STSADM? ...

Setting regional settings in new sharepoint site collection

When I create a new sharepoint site collection, is there some way I can automatically set the regional settings to my local settings as part of the creation process? In particular, I want to set the default date/time format to be non-US. Thanks ...

SharePoint - Unable to complete this operation. Please contact your administrator

When I try and save something to my list in SharePoint I get the following error: Unable to complete this operation. Please contact your administrator. at Microsoft.SharePoint.Library.SPRequestInternalClass.PutFile(String bstrUrl, String bstrWebRelativeUrl, Object varFile, PutFileOpt PutFileOpt, String bstrCreatedBy, String bstrM...

Permissions problem after SP1 on SharePoint Server

You do not have permissions to do this operation. Ask your website administrator to change your pemissions and then try again, or log on with another account that has this permission. To log on with another user account click ok. I need some help regarding the above error. After applying SP1 pack on our SharePoint Server...

OnWorkflowItemChanged for document library item - determine if metadata or file has changed?

In SharePoint Workflow - for a document library how do I determine if document metadata or document itself has changed? Both SPListItem.Versions and SPFile.Versions are added when i only change metadata (like file title). Also SPFile.Length changes if I only change metadata. ...

SPPersistedObject and List<T>

Hi I want sharepoint to "persist" a List of object I wrote a class SPAlert wich inherit from SPPersistedObject : public class SMSAlert: SPPersistedObject { [Persisted] private DateTime _scheduledTime; [Persisted] private Guid _listId; [Persisted] private Guid _siteID; } Then I wrote a...

Move SharePoint Designer workflow from one document library to another

Hi, I built a sharepoint workflow for a "test" document library. I would now like to move this workflow to a "prod" document library. I copied the workflow in sharepoint designer from one document library to the next successfully. However when I bring up the wizard and try to change the document library the workflow was made for I am ...

Cannot cancel deletion in List Item event receiver ItemDeleting method in CMSPUBLISHINGSITE#2

Using the SharePoint 2010 RC I am having issues canceling the deletion of a list item using event receivers. My code is firing, setting the cancel property of the SPItemEventProperties, setting an error message, and throwing an error back to the calling thread. This approach works fine in the adding/updating methods, however, when used i...

Sharepoint webpart-page versioning

On webpart-pages it is possible modify the contained webparts over the Web by using Site Actions->Edit page. Is there a possibility to view the version history of such a page? ...

Adding Web Part with Stapling Feature

Hi, I have a problem adding web part to a blog default.aspx with stapling Feature. this is my code: try { SPWeb web = (SPWeb)properties.Feature.Parent; //SPFile thePage = web.RootFolder.Files["default.aspx"]; SPLimitedWebPartManager wpm = web.GetLimitedWebPartManager("default.aspx",PersonalizationScope.Shared); ....... but every tim...

How should I organize SharePoint Event Receivers in Visual Studio?

We have several custom lists, each of which has several event receivers associated with it (although only a couple have actually been written as of now). This event receivers handle a mish-mash of individual events and perform various bits of functionality. My question is how to organize them in a Visual Studio solution/project in a way ...

Archiving sharepoint site instead of deleting

I have a sharepoint site. This contains site nubmer of sites and sub sites collections in it. There are few sites that are created and are not in use. Now my question is how can I find out these old sites and before going deleting it i need to archive it first. Can any one tell me what is the best possible approach to do it? ...

Cannot debug when logged in as a user other than the administrator

Hi all I have acustom sharepoint page. on my machine I can debug the code normaly by attaching to the w3p process when I'm logged in as the administrator user. when I log in with another user and try to debug I always get access denied page in the sharepoint and the dubug exists. is there a way to debug the code while logged in with ...

Creating installers in .net

I want to create a installer which would just dump few files and folders at a location specified by user. But the problem is these files are required to be picked up from a fixed source folder and then the installer is build. Also, these files may change any time and then again a new version of the installer is require...

MySite - Personal Documents Automatically added to Outlook Why?

MySite - Personal Documents Automatically added to Outlook. Can anyone tell me why the personal documents folder from a users mysite is automatically added to a users "SharePoint" lists in outlook? I know how I can remove this from the list, and how I can make it never show up again. I am just wondering what the process is for Outlook ...