sharepoint2007

Setting ModerationInformation.Status from Approved back to pending removes

Seeing if anyone else has had this problem and a resolution to it. I have a visual studio sequential workflow on a list (not a library) which does NOT use tasks, the approval process is done through the Approve/Reject OOTB buttons on the list item. The approval is a 2 stage approval, whereby if the 1st stage is completed (via clicki...

File Attachments in Lists in SharePoint 2007 - how can I limit what kinds of files users can attach to list items?

Hello all, I am working with a custom anouncements list, and I am allowing users to upload documents as file attachments to list items (pretty standard SharePoint functionality, I know). What I would like to do is limit the kinds of files a user is able to attach to a list item. Specifically, when a user makes a new anouncement, I only ...

How to add an Exit popup window in MOSS 2007

I need to show an "Exit" popup window in MOSS pages. How can I achieve this? ...

WSS 3.0: showing wrong server as Configuration Database Server

after moving my configuration db to a different DB server I had some difficulties to get the farm up and running again. now my eventlog is full of errormessages, that the config-db is not reachable on my old db server. Operation / Servers in Farm ... /_admin/FarmServers.aspx is still showing the old db server as config db server I coul...

How to prevent VSeWSS 1.3 from adding assemblies to the solution manifest

I recently upgraded my SharePoint development machine to VSeWSS 1.3 and have noticed a behavior that I didn't think existed before. I have two custom web parts that use several common assemblies, and both will live in the same site. I'm trying to create a third 'common' web part that copies these files to the Bin folder and adds safe con...

How to design form template with the help of MS Excel database?????

Hi To All, I have forms to that contains large number of fields that need to enter by use after publishing it on the server. But it is tedious to create 100 to 200 variable for infopath database. I want to use excel data for use of these form template. Please reply me steps if having ...... Also how I can use the Sql server database f...

create a web part which takes input from a tasklist

hi, im inneed of creation of a web part which takes input from a task list and changes the color of the tasklist based on the datas in the task list can anyone help me in this problem. In can write coding in visual studio 2005... my question is how to take input data from the list ...

Browsing a SharePoint publishing page returns a 404 error message

I've changed the master page on a publish site collection. When I browsed back to the start site to check the new master page the browser just returned a 404 error, telling me that the page could not be found. But when I open the site collection with the SharePoint Designer every thing seems to be ok and in its place. All pages are as ...

Sharepoint 2007 'Approval Status' does not update

Sharepoint approval status stopped working for some reason. When approving an item posted to a Sharepoint calendar, the item does not appear. If you open the item, it still shows 'Pending' even though it was approved by authorized person. Standard workflow was configured, but maybe it requires a custom workflow using Sharepoint Designer?...

Sharepoint SPWeb rename - Exception SPException - The security validation for this page is invalid.

When attempting an SPWeb rename I receive the following SPException: Exception SPException - The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again. - Failed to create workgroup registration entry Any idea what might be the troubles here? Here is the relevant ...

Using your SharePoint site Master Page on all application pages

Hi, I am new to share point. i would like to add custom .aspx pages in share point. this i was able to do it using this blog http://chiragrdarji.wordpress.com/2007/10/12/add-aspx-page-to-sharepoint-2007/#comment-3540 .. now i would to inherit the share point's master page in my asp.net application and implement some controls. can any one...

How to extract a SharePoint list items into GridView

I need to extract the data from a SharePoint List and view it in a GridView ASP control or any other data table control, how to use the SharePoint API to extract the items from the SharePiont list and demonstrated in a ASP control ...

Sharepoint asks for authentication while processing a web service call

In sharepoint my web part is calling a web service. This web service does some heavey processing in the background. On large data sets the page asks for your username and password after a certin period of time before a response is returned. It seems to be timing out. What setting timing out and where do I change this limit? ...

SharePoint "Thread was being aborted" looping through a SPListItemCollection

I have a SPListItemCollection with ~500 items in. I am looping through using a for each loop, each time grabbing the file and writing it out to a pdf document. I am getting the error "Thread was being aborted". It looks to be a time out issue but I dont know how to fix it? Collections with 200-300 items work fine. Is there any way I can ...

Access denied runtime error when connecting a SharePoint custom filter web part to a list view web part

I make a custom filter web part using the example from MSDN (http://msdn.microsoft.com/en-us/library/bb457205.aspx). The custom web part is a provider and has selection buttons. Each button has multiple values attached to it when clicking on the button. So, AllowMultipleValues is true. When clicking the button, the property ReadOnlyColle...

Access denied when trying to read information about SharePoint groups

I am trying to get the membership of a group in WSS 3.0. I am doing this in an elevated permissions block. Here is the code: SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite site = new SPSite(SPContext.Current.Site.ID)) { using (SPWeb rootWeb = site.RootWeb) { SPGroup gAdmins = rootWeb.SiteGrou...

Getting error while modifying custom web part in MOSS.

I have a custom web part on a web part page. When I try to edit that web part directly(not selecting site settings -> edit page option) via "modify shared web part" option it gives error in the web part properties tool pane as "a web part you attempted to change is either invalid or has been removed by another user". If I Select Site Set...

Sharepoint 2007 placeholder issue

I've created a simple placeHolder for some extra javascript in jQuery - The issue is that the placeHolder is within some script tags and therefore isn't recognized by Sharepoint designer. The page works correctly, so it hasn't bothered me until now, since you can't touch any part of the design view, without fixing the issue. My code l...

Sharepoint 2007 Data view Webpart custom parameters

I'm sort of new to the custom parameters that can be setup on a DataView Webpart. There are 6 options: - None - Control - Cookie - Form - QueryString - Server Variable I think that None, Cookie and QueryString speak for themselves and are pretty straightforward. The issue comes from the other 3. There isn't much documentation as to wha...

Left Navigation Box pointing to old Project Server after Migration

Hello All, I have migrated the Project Server using the method shown here. I am able to see all the data. However the Navigation box is pointing to the old Server. [Like the Server Settings, Personal Settings etc] Is there a way to tell the new server to look into its own data and not to the old server. Please help me. Is there any ...