sharepoint

WSS 3.0 : Retrieve user permission rights

Hi all, may I know how can i retrieve user's permission rights from its userid and group name. Help urgently needed. Thanks in advance! ...

SharePoint setup best practices with ISA

Can anyone guide me on the best way to implement SharePoint with ISA? I'm interested in setting up a basic SharePoint farm. I have tried numerous times with mixed results and I am still not sure of the best way to go. When it is initially set up you are prompted to create a web app, but then when you go to create the ssp admin site it w...

how to delete entry in content database while delete list item

When I delete a list item from a web site based on MOSS 2007, the content database will set its DeleteTransactionId instead of deleting it. That's a waste of space for me because I won't use thes item anymore. Is there any way to delete a list item from the list and the content database in the same time? thanks. ...

Log Error: Failed to create list

Hi, I have a Site Template with few customized lists and customized pages. I create new webs when ever needed using the site template. After creating the web, I also set up a theme and unique permissions to the web using C# code itself, then I redirect the page to the newly created web URL. My code runs within a Long running operation. ...

SharePoint problem using a Feature with AllUsersWebPart node

I have a SharePoint feature that installs a new page layout. A requirement for this feature was to install the page layout with a default web part, so that when the user runs through the 'Create Page' action, the page is created with a web part already on the page. So, I've tried adding a AllUsersWebPart node in the Elements definitio...

WSS and OpenID

I have configured WSS with OpenID to enable FBA authentication. I have added a custom login page. Im able to authenticate using the OpenID account, however when i return back to the default.aspx page i get the 'Access Denied' page. The Question is how can i tell WSS to allow OpenID authentication into the web application? I have used ...

what would I have to do to get the new HTML Editor ajax control to work as a sharepoint content editor webpart?

Microsoft have just released a few new ajax controls including an ajaxed up HTML editor control. http://www.asp.net/learn/Ajax-Control-Toolkit/tutorial-50-cs.aspx I would like to try this in sharepont (as the built in sharepoint one is awful (no cross browser at all and flaky on IE) I tried the Telerik free one but it was not very sta...

Sharepoint OnWorkflowItemChanged before/after properties lists

I would like to use the OnWorkflowItemChanged event in a WSS 3.0 State machine workflow to check for changes made to the list item that kicked off a workflow. The properties of this event include before and after change properties and I can bind to the after properties with no problem and get a property set with the changed values of the...

How do I solve this error, "error while trying to deserialize parameter"

I have a web service that is working fine in one environment but not in another. The web service gets document meta data from SharePoint, it running on a server where I cant debug but with logging I confirmed that the method enters and exits successfully. What could be the reason for the errors? The error message is, The formatter th...

SharePoint: Need Help with calculated/Lookup fields:

Need Help with calculated fields: Activity_List : ActivityID, ActivityName, ActivityPerson (This list is used as template to prefill the projectList columns. i.e) ProjectList: ProjectID, ActivityID, ActivityName, ActivityPerson. As soon as you select ActivityID, it prefills the ActivityName and ActivityPerson. How do i do this is in ...

Sharepoint Calculated column formula for date-time comparison

Hi, I have two columns C1 and C2, both of type date and time in a document library. Now i want to create a calculated column C3 using which i could know which column(C1 or C2) is having greater value. I tried following formula for calculated column IF(C1>C2, 1,0) it works perfectly fine, but if i replace C1 with 'Modified' column it doe...

SharePoint List access across Application Pools

I have a requirement where I need to be able to access a list which sits in Central Administration from an Application Page which sits on my Web Front End (WFE). The issue I have is that the Application Pool User for my WFE does not have access to the SharePoint_AdminContent database so I get access denied, they both have their own App P...

Modifying SharePoint app Web.config file with Forms Based Authentication

We have a SharePoint application where we want the user to be able to modify the web.config by activating a feature. The application is extended, so we have an AD based web application and another that uses Forms Based authentication (FBA), with the FBA application being the "main" user application. We use the SPWebConfigModification cl...

DataFormatString in my Gridview does not work in SharePoint

I have a ASP.NET GridView that i created on a page through SharePoint Designer 2007. For some reason it just does not want to work, why is that and how can i Fix it? Funny thing, it worked on another SharePoint Server but not on the one i am working on now, so i know my code is fine, it must be something ells on the SharePoint Server ma...

Did ASP.Net AJAX make it into WSS3/MOSS Service Pack 1?

There were a lot of promises and hopes, but did MS actually get around to including ASP.Net AJAX in either WSS3 SP1 or MOSS SP1? None of the release notes mention it... ...

WebPartTitleID differences between ASP.NET webparts and Sharepoint webparts

when I reference Microsoft.SharePoint.WebPartPages.WebPart the WebPartTitleID is generated on pages in the following format. WebPartTitleWPQ2 when I reference the System.Web.UI.WebControls.WebParts.WebPart the WebPartTitleID is generated on pages like the following WebPartTitlectl00_m_g_cfe73da2_e9aa_44e3_aa10_b8a300837217 is t...

SharePoint - Site.RootWeb.AllUsers not returning all users

I have a SharePoint site that I created some custom web parts for. One of them requires getting the list of SharePoint site users so I can assign different properties. The code: Dim Site As New SPSite(SPContext.Current.Site.Url) Dim AllUsers As SPUserCollection = Site.RootWeb.AllUsers Dim u As SPUser For Each u In AllUsers 'SOME C...

Sorted gridview selects wrong row

Hi.. I have a gridview (actually a SPgridview) And i made the columnname clickable so the users can sort the rows using the data. And that works fine. The problem occurs when users try to select a row after they sorted the data. I can see that the gridview kinda "forgets" how the rows were sorted and selects the row that was at the cl...

What are you doing to prepare for SharePoint 2010?

What best practices are you following to make sure that the eventual release of SPS 2010 doesn't cause major rewrites of your applications? ...

How to automatically sort SPListItems based on a field

I have a requirement that a SPList should be sorted by the "Priority" field (number field, no limits) when a ListItem is added or updated. The sort should work as this: Original Inserted item Modified 1 1 2 2 2 3 ...