sharepoint2010

SharePoint TimerJobs and threading....

Hi SO, I've written a SharePoint 2010 app that uses a TimerJob to trigger processing of some documents in a list. The timer is set to trigger every minute but the the processing may take more than a minute. I'm just wondering if the next trigger of the timer job will be started using a new thread, or will the timer service just wait unt...

SharePoint 2010: Possible to restrict PeoplePicker from displaying AD users in a claims-based web site?

I have a claims based site in 2010, using FBA (SQL), and AD. I would like when the forms users login to not see AD results in the peoplepicker. This was possible in 2007 using: stsadm -o setproperty -propertyname peoplepicker-nowindowsaccountsfornonwindowsauthenticationmode How can I do this in 2010? If I try to disable AD for ...

When is Sharepoint 2007 / Sharepoint 2010 suitable for Line of Business Applications?

From my experience, this is adding minor features at increased implementation and maintenance cost in comparison with using just "pure" Microsoft.Net, ASP.NET and IIS application. Sharepoint 2007 = ( no concept of deployment version control etc, narly css/skinning, weird cms features, sp webparts not recommended, very limited worfklow f...

Project Server 2010 installed with Sharepoint 2010 stand-alone

Could anybody offer any advice on a good book that would help me install Project server 2010 on Sharepoint 2010 standalone? Or any good Project Server book... Thanks ...

SharePoint 2010 - Access denied during ApplyWebConfigModifications()

I have SharePoint 2010 installed on a Windows Server 2008 R2 machine which is also hosting SQL Sever 2008 R2. I am attempting to deploy a solution that includes web parts in the 2010 environment that is working fine in MOSS 2007. The Web Part feature has a feature receiver that updates the web.config. When I try to activate the featur...

Removing Feature Receiver From Feature

Possibly a silly question, but I'm having no luck finding an answer. Using Visual Studio 2010 Beta 2, I have a SharePoint 2010 project with a feature defined, with that feature having an event receiver attached to fire some custom code. I'm now trying to remove the event receiver from the feature. I've deleted the event receiver code fr...

Sharepoint 2010 Replacable Parameter not working

I have an aspx page in _layouts that is part of a package. It contains : <%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %> This should be updated with the current assembly full name when I deploy - but it dont. Anyone got any ideas? ...

Business Data Connectivity Services in Visual Studio 2010

Hi, I am getting "Business Data Connectivity is configured incorrectly. Administrators, see the server log for more information" error. Any help I really appreciated . ...

Upgrading to Sharepoint 2007 to Sharepoint 2010

Have you anyone tried this so far? Did you find any issues? We thought of upgrading our SP server to SP 2010 since it provides many flexible development environment. What would suggest as best practice to do this? ...

Does SharePoint 2010 still have the complicated SPWeb.Dispose methods?

One of my gripes with SharePoint 2007 are the complicated SPWeb.Dispose rules that can either cause a big resource leak if you don't dispose what you have to, or all sorts of other weird issues if you dispose when you don't have to. Roger Lamb's Posting tries to summarize the madness. but I wonder if SharePoint 2010 improves this? I hav...

Unable to remove System Page fields from my content type with <RemoveFieldRef/>

Hi guys, I'm creating some content types in a feature for a publishing site in SP2010 RC using VS2010, and I am unable to remove the out-of-the-box Contact fields included in the Page content type with RemoveFieldRef. My definition looks like: <ContentType ID="0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF39...

Problem with DisplayPattern in SharePoint 2010?

I am adding a new field to a list using the AddFieldAsXML method of SPFieldCollection. The method executes fine with no problem. And the column header shows up when I view the list; however the value never displays in the column. Here is what the field looks like after it has been added to the list. This xml is a snipped from the lis...

Enabling publishing infrastructure feature in sharepoint 2010

Hi can I enable publishing infrastructure feature in sharepoint 2010 Thanks ...

How do I create a custom list definition based on a Discussion Board?

I've been trying to create a list definition based on the SharePoint Discussion Board in SharePoint 2010, but obviously not successful. I should note that I want to put this list definition in a Visual Studio 2010 SharePoint project. I've tried to save an existing list as a template, but didn't find any way to import that into the Visua...

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. ...

Create external list forms using infopath

I am trying to create external list forms using InfoPath. I have aready been able to do following in this process: 1. Create External Content Type using sharepoint designer 2. Create External List using sharepoint designer Now I am trying to modify forms (submit and retrieve forms) using InfoPath. I am following the following link http...

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...

Access information from one webpart and use it in another webpart in sharepoint 2010

My problem is this one, I am using Sharepoint 2010, I have a form created in sharepoint designer 2010, above that form I have a silverlight webpart. Now I need to be able to access information from the silverlight webpart when I click on it and insert that information in the form below it. Does anyone have any insight on how to do that?...

Testing Sharepoint 2010 Beta

Hi, I have a Virtual Machine with MOSS 2007 (Enterprise), VS2008 and SQL 2005. I want to start exploring 2010. I need to know what I need to get started. Can I donwload 2010 beta from Microsoft Site? Can I just install it without any conflicts with existing setup? Thanks. ...

Commonly Used Hidden Lists or Objects

What are few commonly used Hidden Lists and Objects that we should know of in Sharepoint? ...