Questions tagged [sharepoint-2007]

SharePoint 2007 is a Server Product from Microsoft. It is an Application Development Framework that helps you create web applications in no time. It combines collaboration and web publishing, providing a wide palette of functionality (Content Management, Search, wiki, blog etc.) all under its stack.

For SharePoint-specific questions, please see the SharePoint Stack Exchange site.


SharePoint 2007 is a Server Product from Microsoft. It is an Application Development Framework that helps you create web applications in no time. It is used for collaboration, web publishing and file sharing as well as providing a wide palette of functionality: content management, search, wiki, blogs, etc.

Questions that suit this tag:

  1. Those related to the functionality of SharePoint.
  2. Specific help with code or debugging.
  3. Advice on best practices.

SharePoint 2007 is also known by the following names:

  1. MOSS – Stands for Microsoft Office SharePoint Server
  2. SharePoint – with the release of SharePoint 2010 this name has become ambiguous.

Frequently Asked Questions related to this Tag:

  1. Getting Started

Important Links that will help you:

  1. Trial Download
  2. Latest Service Pack SP2.
  3. Product site
  4. Product Team Blog
  5. Books you should read
3016 questions
8
votes
3 answers

Attribute not valid on declaration type

I have the following code but I am getting the following compile errors: Attribute 'WebPartStorage' is not valid on this declaration type. It is only valid on 'property, indexer' declarations. AND Attribute 'FriendlyName' is not valid on this…
Rob
  • 1,163
  • 2
  • 18
  • 28
8
votes
4 answers

SharePoint 2007 - RunWithElevatedPrivileges - Pitfalls of using this

I have a strong gut feeling that using SharePoint RunWithElevatedPrivileges should be avoided like the plague, but need to convince some others as to exactly why. Here's what I have. Spawns a new thread with elevated privileges Blocks other…
8
votes
3 answers

How to start learning SharePoint

I'm a fairly experienced developer (.NET, C#, XML, Webservices, HTML, Javascript, various databases etc.) who have been tasked with a new project in SharePoint. I know nothing about SharePoint. My question is: What is the best way for an experienced…
Torben Junker Kjær
  • 4,042
  • 4
  • 34
  • 33
7
votes
2 answers

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…
ashwnacharya
  • 14,601
  • 23
  • 89
  • 112
7
votes
7 answers

SharePoint ListItem Error: "Value does not fall within the expected range"

Hi I am developing using the SharePoint namespace and I ran into the following error when I try to retrieve a Title field from the list items. Value does not fall within the expected range I know however that the field exists because I printed out…
Ries
  • 2,844
  • 4
  • 32
  • 45
7
votes
1 answer

Why am I seeing a Byte Order Mark in my .NET Web Service all of a sudden?

I've written an ASMX web service, which has been running in production for years. Today, all of a sudden the Java clients are throwing errors when trying to parse the response. We tracked it down to a BOM (Byte Order Mark) appearing before the XML…
7
votes
9 answers

In SharePoint, what is the easiest way to create a custom list 'schema.xml' file?

Like many other SharePoint users, I've had to create a custom list definition. After much trouble, I've managed to create one (I think, let me get through all the errors first), but is there a "basic" schema out there I can start with, or a purpose…
tekiegreg
  • 1,667
  • 6
  • 25
  • 41
7
votes
4 answers

Programmatically setting field value for sharepoint listitem

I'm trying to simply add a simple text or hyperlink field to a list item in sharepoint 2007. I can add the field no problem: list.Fields.Add("MyField",SPFieldType.Text, false); And it shows up fine on my list items. However no matter which way I…
Dynde
  • 2,592
  • 4
  • 33
  • 56
7
votes
2 answers

Programmatically Set the Title of a SharePoint Page?

I need to set the page title (Page Title) of a SharePoint page in code. I have already tested this.Page.Title = "My Page Title"; But this does not change the title when the page loads. Can anyone offer any advise on how to do this? Thanks,…
Tangiest
  • 43,737
  • 24
  • 82
  • 113
7
votes
1 answer

Get a List using its ID

I'm trying to get a list using it's ID, however it's not working and I can't work out why This works without a problem... using (SPSite site = new SPSite("http://example.org/sites/specific/staffhandbook")) using (SPWeb web = site.OpenWeb()) { …
Rob
  • 1,688
  • 4
  • 30
  • 43
7
votes
1 answer

Best Practices for Deploying Timer jobs in Server Farm Environments with multiple WFE

i have a timer job which i want to run only once per day, for the entire farm. How do I Deploy it in a multiple WFE environment? Do I run the stsadm -o deploysolution command in every WFE, or just the one where I want to run it? Where should i…
ashwnacharya
  • 14,601
  • 23
  • 89
  • 112
7
votes
2 answers

Custom Action Menu for particular Sharepoint List

I want my Custom Action Menu to be applied to particular list; currently its specified with the following XML and it gets applied to all the lists! More specifically speaking; I even want this custom action to be applied to a particular view of the…
Khurram Aziz
  • 1,480
  • 5
  • 15
  • 24
7
votes
7 answers

What SharePoint development concepts are the hardest for ASP.Net developers to understand?

I'm trying to put together SharePoint 2007 (and, eventually, 2010) training materials for experienced ASP.Net developers, and having done SharePoint for years, I don't really remember where the worst sticking points were at the beginning - not to…
Greg Hurlman
  • 17,666
  • 6
  • 54
  • 86
6
votes
3 answers

How can I automate the process of deploying an InfoPath Form to SharePoint Server 2007?

It is a real pain to deploy my InfoPath 2007 Forms from the designer into our development environment's SharePoint server. All of our forms require "full trust" since they include business logic written in C#. Here are the manual steps: 1) Run the…
Saul Dolgin
  • 8,624
  • 4
  • 37
  • 43
6
votes
5 answers

Allow Content Editor Web Part

Using SharePoint 2007, how could I allow the adding of CEWP's to the selection menu of an "Add a Web Part" dialog while in Edit Page mode? As of the moment, I can only add Announcements, Calendar, Links, Shared Documents, Tasks but I do not have the…
Johnathan1
  • 2,241
  • 5
  • 23
  • 24