moss

MOSS 2007 Server hanging problem - AppDomainUnloadListener.RegisterSelf() & PublishingHttpModule.Init()

Hi, Recently Sharepoint server getting hung now and then; when I see the Logs, I found lots of entries like this, 04/17/2009 10:07:09.51 w3wp.exe (0x11C0) 0x0CF8 CMS Publishing 8zug Medium PublishingHttpModule.Init() calling AppDomainUnloadLis...

Support for Long Running Operations using the MOSS Publishing Infrastructure

I have used the Long Running Operation capability within the Publishing Infrastructure within MOSS (SharePoint) in the past, and am curious if anyone knows if this is a supported technique for having custom long running operations within SharePoint. When using this technique, you inherit from Microsoft.SharePoint.Publishing.Internal.Lon...

Considerations for Upgrading SharePoint 2003 to 2007

Thanks in advance! I was wondering if you SharePoint architects/experts out there could help me nail down the specifics and concerns around upgrading an existing SharePoint 2003 deployment to SharePoint 2007. I know this is general and vague and the steps/problems will depend greatly on the current SharePoint deployment. Any help woul...

Metadata for uploading Document in MOSS 2007

Hi all, how to add custom Metadata for document while uploading into the document library.i added some custom metadata for the Doc libray, but it asking metadata after you uploaded the document into the library and once again MOSS is asking the check/in screen to complete the upload functionality because versioning is enabled. so its as...

MOSS - Nested Master Page Problem

I have created a child master which references a parent master. I have deployed this as a feature and stapled the feature to many site definitions. When I turn on the feature, both my parent and child masters are rendering correctly - everything is as it should be. However, when I open up SharePoint designer and customize child.master...

How to change Virtual Directory Local Path for a MOSS WebApp?

I have a MOSS web site with its virtual directory in IIS. That VD maps to a folder in certain location in the C: disk. I need to move that folder to the same location but in the D: disk. If it were a common web app it is no problem, just change the "Local Path". But as it is a MOSS website... I think that this will break that MOSS webs...

ListTemplateOwner

I’ll keep it short and sweet. Does anyone really know what the "ListTemplateOwner" tag of the elements.xml's "Receivers" node really means? From Microsoft’s site: http://msdn.microsoft.com/en-us/library/ms431081(loband).aspx ListTemplateOwner: Optional Text. Specifies the GUID of the list template owner if the list template is regis...

How do I handle SharePoint exceptions?

Hello. I`m new to SharePoint, so I guess how do I need to handle exceptions? When I write custom code do I have to check for them or maybe, if they are thrown, they automatically get logged and don't break the app? If not, then how do I log them? Thank you! Edit: And how should I log those exceptions? ...

Move Sharepoint Wiki between site collections

I've got two sharepoint site collections. Now i have a Wiki in one and i want to move it to te second one. I did the move with creating a template and import it into the new one. The problem í've got now is the links. The Wiki links are refering to the old location. Does any one a solution for this? ...

Best practice with SharePoint feature deactivation

I have a custom SharePoint solution which requires several list instances on a particular site (SPWeb). Now some of these lists are generic, for example a 'Pages' document library, wheras others are highly specific custom lists. My question is which (if any) apsects of customisations should be cleaned up on feature deactivation. My in...

Scope of a timer job feature

I am writing a timer job for the first time. I am following the examples that can be obtained by googling as my reference. In many such articles, I am coming across the timer job features being activated to the Site Collection level or the Site level. I feel this is weird, since there can be only one instance of a timer job for a parti...

DataView component in SPD attaches needless strings to field values.

Hello. In SharePoint Designer I use some lists as sources and then link them together with an operation GetListItems (I fetch items from multiple lists on different site collections for rollup/aggregation): Now something is fine as I managed to get the result: But the strings that are attached to field result (6;#, 2;#) is... distu...

How to programmatically destinguish between WSS and MOSS

I need to know if I am working with SharePoint Services or SharePoint Portal Server when using the SP API. Is there a way to do this in code (C#)? ...

Viewing files in a remote FTP folder from a webpart

Hi there, We're looking to integrate a file/folder view of a FTP share in a SharePoint portal. We recon the best solution would be to create a webpart that reads the contents of the FTP share and displays it in the portal. Is there any third party solutions for this? Has anyone done anything like this before.. and might be able to giv...

Saving a document to SharePoint brings up "Web File Properties" dialog with incorrect metadata

Situation: A custom "Master Document" content type inherits from Document The "Master Document" content type has five additional choice fields There are five custom "Document Template" content types that inherit from the "Master Document" content type Each of the "Document Template" content types uses a different Word document template...

How to update a field of type spFieldUserValue from SharePoint web services

I am trying to update a field of type spFieldUserValue, you know a, PeoplePicker. The relevant code is batchElement.InnerXml = "<Method ID='1' Cmd='Update'>" + "<Field Name='ID'>1</Field>" + "<Field Name='APersonField'>32;#This is pretty much ignored</Field>" + "<Field Name='Title'>Wow edited!</Field></Method>"; result = l...

Can I add object field to SPItem, to attach some kind of object to item?

Hello. I have an SPListItem object. Can I add a field to store some kind of object like ArrayList or Dictionary, or whatever? Thank you. ...

Filterable SPFIeldUrl in default view.

I`v added a hyperlink (SPFieldUrl class) column (field) with GUI to my list. Pity, but I cannot filter those values when viewing the list. (It reads that you cannot filter this column type) Is there any way to have it easy filterable with clicking on columns besides creating a custom view? Thank you. ...

SharePoint Solution Package Deploy Random Failures

I keep seeing this error sporadically during solution deployment and/or feature activation... Copying of this file failed . This operation uses the SharePoint Administration service (spadmin), which could not be contacted. If the service is stopped or disabled, start it and try the operation again. The following is the PowerShell scri...

Using ELMAH in a Sharepoint environment

Has anyone intergated ELMAH into their sharepoint environment? I suppose it's possible as it's all ASP.net but I just wondered if anyone had done it and if there's a walk through on how to achieve it. ...