moss

People Picker AllowEmpty Property

Hello All, I am using the people picker user control of SharePoint in my aspx page. I have set the AllowEmpty property of people picker control as false. But, still the required field validation is not occurring for the control. I don't want to use a required field validation control explicitly for validating this. Any insights? Rega...

Programmatically Set the Title of a SharePoint Page?

Hi, I need to set the page title (Page Title) of a SharePoint page in code. I have already tested this.Page.Title = "My Page Title"; But this does not change the title when the page loads. Can anyone offer any advise on how to do this? Thanks, MagicAndi ...

Webpart: Impersonation / RunWithElevatedPrivileges

Hi, I am using MOSS 07 & VisualStudio 07 (c#) on a WindowsServer2003 My Problem is that I want to have access from one Sharepoint to another. In SharePoint_1 is a SPList I want to read out from SharePoint_2. The results of my research are IMPERSONATION and RUN_WITH_ELEVATED_PRIVILEGES. With impersonation I can read out the html code o...

MOSS Site Collection Documents - Restricting special characters in a filename

I am trying to block users from entering square brackets ([]) or other charcters to a filename while uploading a document. Is there a way to block this in SharePoint Central Administration or is there settings that I can change? ...

How to register dll in sharepoint?

How can register the dll in the sharepoint. There is any tool or command available?. please provide the details like source location ...

LookupFieldEditor.ascx in SharePoint 2007/2010

I have searched for LookupFieldEditor example but I could not find any sample code or markup using this control. I want to know how should I use it in a web page in my SharePoint site. ...

Sharepoint: Add List from another site

I am trying to add a List on the root site to a sub sub site. Tried with Sharepoint Desginer but get the could not be opened error message. ...

SharePoint Managed Properties (Mappings) - Multiple Site Collections

Have mapped properties for custom fields used in multiple site collections. The property is also used to display additional information on the search results page if it contains information. The search results work fine as content from each site collection is returned, but the managed property only contains data for content found on on...

Concurrent Excel Workbook connections over the internet?

Hello everyone, Essentially I have an Excel file that is going to need to be worked on concurrently for a prolonged period of time. In the past I would simply 'Share the Workbook' and this would allow users on the network to view/change the file at the same time as other users on the network but in this particular instance everyone i...

SharePoint critical error

This page has encountered a critical error. Contact your system administrator if this problem persists. Line 1: <%@ Page Inherits="Microsoft.SharePoint.Publishing.TemplateRedirectionPage,Microsoft.SharePoint.Publishing,Version=12.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" %> <%@ Reference VirtualPath="~TemplatePageUrl" ...

Sharepoint: Access SQL sharepoint files

I have the Sharepoint Intranet server on the same nework as the Internet PHP Web server. I would like to know if via PHP SQL code I can access a collection list of PDF files from the intranet so it can be viewed on the Internet site. ...

SharePoint 2007: Activating feature through code not calling featureactivated event.

I am trying to activate a SharePoint feature through code. SPWeb.Features.Add(new GUID("XXXXXX") This above line is written in featureinstalled event handler where I am reading all the sites on the farm and activating the feature on each site. But upon activation it is not calling / trigger the featureactivated event handler where I ha...

Update feature.xml without re deploying the whole wsp package

I have a webpart deployed as a feature. Upon activation reads a value from feature.xml property bag. Lets say in future I want to change the value in the feature propery bag and update the web part. Is it possible to do it without undeploy the whole package update the feature.xml and re deploy the wsp. All I want to do is update the feat...

Access denied on Microsoft.SharePoint.ApplicationPages

On our MOSS Enterprise environment, we have a strange problem. From time to time, people get this error message when they try to create a new site collection or navigate to their mysite: ‘Could not load file or assembly 'Microsoft.SharePoint.ApplicationPages, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' o...

Sharepoint 2007: Multi tiered top navigation

I have a site within a site and would like to see this site appear as a drop down menu in the top menu bar (ID="TopNavigationMenu"). In the default.master page I have edited the following: StaticDisplayLevels="2" MaximumDynamicDisplayLevels="3" In the Menu Navigation I added the top site to the global navigation area, but it does...

Deactivating web part feature in sharepoint

Hey guys. I've developed a web part using the wspbuilder tool (Web part with feature). When deployed (to a site collection), you have to activate the feature in order to use this web part - so far so good. However, when deactivating the feature, the web part remains on any site where it's been added, and furthermore, it's still availa...

Non-SharePoint site redirects to SharePoint login screen when accessed over SSL

I have a MOSS 07 FBA site at https://fba.mydomain.com. I have a classic ASP site on the same server at https://asp.mydomain.com. When I access https://asp.mydomain.com in the browser, it redirects to the login form at https://fba.mydomain.com/_layouts/login.aspx. This is very strange. The two things are completely different sites in IIS....

How to Obtain SharePoint List Field Value

I'm trying to get the value of a list field using the SharePoint object model. Problem is that what should be the value is coming back as the field name. Code snippet below. The value is coming back as "City" instead of the actual city name. I know the value is not "City" because I checked it in the SPListItem Xml property. I have ...

How to programmatically check view permission to a url in SharePoint?

I am displaying a list of popular public bookmarks to the logged-in user. Some users dont have access to these bookmark-urls and I want to suppress the results so that only accessible urls are shown to the user. I tried to use the DoesUserHavePermissions method, but the problem is that I am not sure what object does the url points to (...

Can I change server authentication to mixed mode in sharepoint 2010?

I want to know weather I can used mixed mode authentication on sql server instance being used for SharePoint2010 installation; without breaking the licence terms for SP2010. ...