moss

error while sending mail

I'm getting following error message when I'm trying to add a new user to site and trying to send mails to him. The Site is Intranet site as well exposed on internet via alternate URL mapping while adding users of local exchange group it does not give any errors but suppose that I add a user having gmail id expressed in his AD that throws...

SharePoint: Content Type ID differs form content type id attached to a list instance

Hi, I got a question regarding content types and their IDs and how to use them with the object model. First of all, I defined some site columns, a content type using these columns and a list definition using this content type via CAML. Each of the three components is realized as a feature. Another feature creates a list instance of th...

MOSS Web Solution Package breaks when moved

Hi I have moss .wsp that is installed on a single sharepoint server and works correctly when in preview mode. I have now moved the SharePoint site to another server and added/deployed the same .wsp but on this new server I get the following error when trying to preview the web part in the gallery: An error occured when previewing the ...

Web Part Not Showing In Add Web Parts Dialog...

I created a couple of web parts using the Visual Studio 2008 SharePoint Web Part template. However, when I deploy it says everything has deployed successfully but, when I try to add the web parts they are not available in the add web part dialog from within my portal... Any thoughts..? I did this with another web part project and didn't...

How to find default crawling account for all shared service providers in MOSS

what is the best way to find which are the default crawling accounts used for crawling for all the shared service providers in a Farm in MOSS i would prefer if any one can tell me using Shared Service Provider Database ...

Moss 2007 Re-Ghost Content Types

Say for example I have Content Type XXX. For some reason it has become unghosted on List A. We have changed the content type in our feature and re-deployed but obviously the content type on List A has not been updated. Is it possible to reghost this content type? ...

Programmatically creating a MOSS publishing page

I'm getting an error when creating a MOSS publishing page (this is a completely clean MOSS install, no site built into it yet). I'm using code which I've found on plenty of blogs, eg: var pubWeb = PublishingWeb.GetPublishingWeb(Site.RootWeb); SPContentTypeId ctId = new SPContentTypeId(contentTypeId); var layouts = pubWeb.GetAvailablePag...

MOSS - Site Level Anonymous Access Problem

I have a portal with a Subsite that should be displayed just for logged users. To accomplish that, I set Anonymous access to all my portal, but I set that no anonymous users can navigate to the sub site I want private. As far as I can tell, that is correct. I have FBA enable, and when a user is successfully authenticated it SHOULD dis...

SharePoint: How to determine a site's site directory programmatically

Is there a way to get a site's (site collection) site directory, the one which is defined within the web site collection setting of a collaboration or publishing portal? Of course I could iterate through all the SPWebs of the site collection but I hope there's a easier way to get the directory as the information seems to be already stor...

Problem: adding feature in MOSS 2007

Hi All, I have added a menu item in 'Actions' menu of a document library as follows(Using features: explained in MSDN How to: Add Actions to the User Interface: http://msdn.microsoft.com/en-us/library/ms473643.aspx): feature.xml as follows: <?xml version="1.0" encoding="utf-8" ?> <Feature Id="51DEF381-F853-4991-B8DC-EBFB485BACDA" ...

Dynamic SharePoint Navigation Link.

Inside of SharePoint under site settings >> look and feel >> Navigation you have the ability to throw down some link entries for navigation. My question is is there any simple way short of writing a feature, to somehow make the links dynamic so that they will append the query string of the current page that is being viewed? Edit: When y...

how to apply custom action in ECB only for document item

I have added a menu item in edit control block(ECB) in document library(using following msdn article http://msdn.microsoft.com/en-us/library/ms473643.aspx) Now i found that the custom action(menu Item) in ECB is displayed for both document item and document folder. So how to apply custom action only for document item? ...

how to get ids/names/guids of selected pictures in picture library

I have created a picture library and selected some pictures (through a check box). I have also added a menu item 'Download to my App' in the 'Actions' menu item in the standard toolbar. Now, on clicking the 'Download to my App' option, I want to download the selected pictures programatically to my application. So how can I get the ids/n...

SharePoint 2007: How can I perform a series of operations within a transaction?

I would love to know how to perform a series of operations in a SharePoint context within a transaction. For example, I would like to be able to do something like the following: context.BeginTransaction(); listItemA.Update(); listItemB.Update(); context.CommitTransaction(); I know this isn't possible with the OOTB APIs, but someone h...

Create a Custom Document Library which contain Chromed View

i want to create chromed view from allitems.aspx which just view the main placeholder for the web part without any left menu, header etc. Then i will access this page from CRM using iframe url everytime i create new document library. as you know, document library has AllItems.aspx DispForm.aspx EditForm.aspx Upload.aspx webfldr.asp...

Methods of running with Elevated Privilges in a MOSS Publishing Site

I am wondering why the two methods listed below do not give the same security trimming. Expected result: Both methods give full access to all content in the current site collection Actual result: Security trimming is occuring when using Method #1 Method #2 works properly for retrieving content from other webs, but Method #1 does no...

SharePoint and workflows

With MOSS 2007 (the question is probably applicable to WSS as well but I'm working in MOSS at the moment) is it possible to have the same Workflow on every Pages list within the site collection? We're deploying a site with a basic 2-stage approver workflow so I'm not developing a custom one, just using the existing Approver workflow but...

Packaging multiple features into a single WSP solution file

I am working on a sharepoint feature which includes a couple of list definitions, 2 webparts, a feature receiver assembly and an InfoPath form. I have to use WSPBuilder to package these, and the requirement is to package all these features into a single WSP solution file. Now, WSP builder requires the deployment files in a particular ...

SharePoint Navigation Menu - Multi Level

I'm looking into integrating some Telerik Components into our MOSS Installation. I'd figure I would kill a few birds with one stone and work on the Navigation Menu first. I'm slightly new to SharePoint, and pulling hair at some of it's oddities. We have some requirements for our Navigation menu: Security Trimmed Multi-Level Naviga...

Sharepoint DB Server Rename

Hi Guys i have one application server and one DB server i have installed MOSS on App server and its content DB is on the DB server. due to policy reasons i had to rename the Sharepoint database server now the problem is MOSS is not working. So how do i make it work thier is stsadm command renameserver but that is to change the host ...