sharepoint2007

Meaning of the workflow Event Log?

What is the meaning of the below sharepoint 2007 log? Log: The previous instance of the timer job 'Config Refresh', id '{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}' for service '{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}' is still running, so the current instance will be skipped. Consider increasing the interval between jobs. ...

SharePoint XSLT Problem -

Hi there, I am trying to do some highlighting on some SharePoint XSLT Results. BElow is the XML that i am getting. The Problem that i am getting is that the Template Match blocks are not matching the child nodes of UM If someone can see where i am going wrong that woould be great. Thank you Chhris <rows> <row> ...

Sharepoint, Sharepoint Designer, and Source Control

I am learning Designer and Sharepoint. What is the recommended way to use source control when making a Sharepoint internet site. I am used to having a sandbox locally, then making and editing files, then pushing out to a server, but this does not seem to be the case for Sharepoint? ...

SharePoint get the size of individual web sites using API

Right now all I am using to calculate the size are the files in the folders. I do not think this is all of it, because the content database size is about 15gb. When I calculate the size of all the files I get around 10gb. Does anyone know what I may be missing? Here is the code I have so far. using System; using System.Collections.G...

Debug a WebPart Error in a SharePoint Page Layout

Hi, I have a page layout that I use in my SharePoint solution when I programmatically create a new publishing page. There is an error with one of the web parts that is included in the layout, so that when I am try and create the page, the operation fails. Can anyone suggest a way of debugging the error with the web part? Thanks, Ma...

Issues while downloading document from Sharepoint using JAVA

I am trying to download a file from Sharepoint 2007 sp2 document library using GetItem method of the Copy webservice. I am facing the following issues : In the local instance ( Windows Vista ) I can save only 10.5 Kb of any file. The webservice is returning only 10.5 Kb of data for any file. On the production server, I am able to List...

Solution Package - List Synchronization

How can we use Solution Package (WSP) MOSS 2007 to synchronize lists from one server to another? ...

Sharepoint HelloWorld Feature

I just built a HelloWorld Feature, and deployed it. I am able to see the Feature to activate it. This feature is to just add a link to the Site Actions drop down menu, a code example from the book Windows Sharepoint Services 3.0. The link is not showing up after I activate the Feature, and obvious beginner mistakes that I probably made? ...

Key File, GAC, DLL...WTF!

I'm doing my first DLL, a simple HelloWorld SharePoint Feature. The Feature has an event handler, therefore code beside a feature.xml and elements.xml file. I can build the solution fine, and I have a post build script that calls gacutil.exe. Then I added a key file, I chose a random name, and added it the solution. In the feature.xml i ...

ViewFormPagesLockDown and excluding specific lists/pages

I am working on a public facing MOSS 2007 site that uses the ViewFormPagesLockDown feature to stop anonymous users from accessing the standard list forms. I don't want to lose the additional security this feature provides, but there are a few lists where anonymous users should have access to the forms. Is there anything I can do in the...

Automatically authenticate a user in Sharepoint without showing the browser dialog box

I am developing a J2EE web application using spring. I need to integrate access to Sharepoint. I am able to list the folders and documents in a document library using the various webservices exposed by Sharepoint. I want to download a document directly from the Sharepoint Document Library using the URL of the document. When I try to do...

Sharepoint SPFile - Get File Type

Hi, I am using SPFile to display a list of files and I want to display the type of file, as a string, so PDF, Word, Excel etc. Looks like: FileABC PDF FileDEF Excel I have got the icon back using "ListItem.File.IconUrl", ListItem is SPListItem But I would like to get the f...

Publishing Toolbar Missing when trying to set page permissions for single page

Hello, I am trying to set-up a user to only edit one page within an intranet and not edit/publish any other page. I originally tried to set-up the custom permissions but no joy, so then I setup custom permissions with all options ticked, the user is able to edit the page but not publish it, ie the Publish Button is missing, or the whol...

Custom STSADM command using wspbuilder

Hi I'm using wspbuilder to create a .wsp package that will deploy a custom stsadm command. I need the .wsp to include an .xml command file: <commands> <command name="mycustomcommand"....../> </commands> This file according to technet http://msdn.microsoft.com/en-us/library/bb417382.aspx needs to be added the the 12/CONFIG folder. I t...

HelloWorld.dll SharePoint Feature Activation Error

I am now able to use gacutil.exe and sn.exe to get my HelloWorld.dll into GAC, and get it uploaded to SharePoint. I can see it in the Features list. However, when I try to activate it, i get: Feature '79bc44ea-93f5-4886-8784-8f3fbd1dfa48' could not be installed because the loading of event receiver assembly "HelloWorld, Versio...

The SharePoint Search Dropdown shows only This site as the scope.

Hi All, I have a team site in which the Search scope dropdown only shows This site and it doesn't show All Sites and People in the dropdown.Any one knows why? I have not enabled Custom scopes in Search settings for this site because I don't have Search Center created. If I create search center and specify as a custom scope in this site...

How To Change SharePoint Document Library View On The Fly Using Code

For example, I have a document library that hold contracts for multiple projects. So: DocLib Contract_For_Project_A.pdf (metada: code: PRJA) Contract_For_Project_B.pdf (metada: code: PRJB) etc. In requirement term, maybe something like "I want to store project specific document like contracts in any document library belongin...

Upload to Sharepoint using FrontPage RPC

Hi, I am trying to upload documents with their metadata to sharepoint using the RPC method. well it is working fine except some type of files like docx, xlsx.. I don't get any errors or exceptions, they are(docx, xlsx.) uploaded to sharepoint correctly but without the associated metadata. How can i fix this problem? Below is the code i...

Dealing with Sharepoint locked Site Collections

I am playing with an application that can crawl the contents of sharepoint server. But I got a problem while working with Locked Site collections. There are some methods that cannot be used with locked site collections. It throws an exception telling me the contents are blocked. So I want to handle this more gracefully by checking whe...

Under what circumstances does SiteLogoUrl work?

Of all the times I've set the SiteLogoUrl attribute of the Project element in the onet.xml file, I think it has only worked once without my giving up and setting SiteLogoUrl in a Feature Receiver. What's the secret? AlternateCSS works as expected, why not SiteLogoUrl? ...