DotNet Development, SharePoint Customizing, Silverlight, MS Infrastructure and other tips and tricks

Posts Tagged ‘Administration’

Receive a detailed Error Message from a SP MasterPage

Posted by PANVEGA on July 9, 2009

By default you receive an “An unexpected error has occurred” in your MasterPage when you try to make any special changes. However this gives you not the information you expect when customizing your Master Page.

What to do:

Enabling stack traces and disabling custom error pages in web.config is a great way to help you diagnose the specific problems.

You can do this by setting <customErrors mode="Off" /> in web.config and

the CallStack="true" property in the <SharePoint><SafeMode> tag in web.config.

More Information about custom Error Messages:


Posted in Administration, MasterPage, MOSS | Tagged: , , | Leave a Comment »

Adding a Property to the Advanced People Search and a Column to the People Result Webpart

Posted by PANVEGA on June 9, 2009

A customer asked me to adding a Property Field called “Manager”  in the People Search Advanced Mode. For this demonstration I added  custom property called “Manger” to the profile properties, and in the following walkthrough I will show how to add searching on that property to the advanced search screen of the people search. In addition how to add this new field the your Search Core Results Webpart results. Tis how to is devided in 2 main parts. Read the rest of this entry »

Posted in Administration, MOSS, WebParts, XML, XSLT | Tagged: , , , , | 6 Comments »

Dual Authentication Providers in SharePoint 2007

Posted by PANVEGA on March 17, 2009

In a production environment, I would opt to install both on to a machine even though it will be primarily Internet\Extranet facing, even if it is using the local directory services.  This gives a backdoor to managing the site should you have problems with the forms authentication mechanism (or other).

In order having many different third party authenticatin providers for your SP application you can solve this problem in SharePoint 2007. In the new version different authentication providers are supported. In fact, different providers can be used together for the same site! A major improvement which will make a lot of people very happy.

A single web application only supports a single authentication provider, such as Windows, Forms, etc. That mean, you can not use one application (Domain namsepace) for 2 or more authentication providers. Read the rest of this entry »

Posted in Administration, ASP.NET, IIS, Infrastructure, MOSS, Security, SQL | Tagged: , , , , , | 2 Comments »

How to apply Digital Signature in a InfoPath formular?

Posted by PANVEGA on March 3, 2009

When creating a InfoPath template you can trust with Digital Signature in 2 ways.

  1. When developing an IP template you can add a certificate to your XSN template and publish and apply it on your server. So that every client knows that the formular comes from a trusted location.
  2. The other Certification procedure is a client site created certificate which should be send to the  server CA (Certificate Authority). This is very usefully when many e.g. employees travel and work remotely, the forms must be available to be completed and signed in a Web browser or IP CLient form. Read the rest of this entry »

Posted in Administration, InfoPath, MOSS, Security | Tagged: , , , | 3 Comments »

Streaming RealMedia Files (RTSP)

Posted by PANVEGA on February 10, 2009

RTP does not operate on assigned or standardized TCP or UDP ports. However, usually it uses even port numbers. RTCP uses the next higher odd port number. Although there are no standardized recommendations, RTP is often configured to use ports 16384-32767, but may be observed frequently outside this range as well.

The streams controlled by RTSP may use RTP, but the operation of RTSP does not depend on the transport mechanism used to carry continuous media. RTSP is intentionally similar in syntax and operation to HTTP/1.1 so that extension mechanisms to HTTP can in most cases also be added to RTSP. However, RTSP differs in a number of important aspects from HTTP: Read the rest of this entry »

Posted in Administration, Multimedia, Streaming, XML | Tagged: , , | 1 Comment »

Changing the My Links Policy and customize the QuickLinks.aspx PageLayout

Posted by PANVEGA on January 26, 2009

the goal is to make in the custom quicklinks.aspx the fields Privacy and Grouping invisible by customizing the aspx offline. Howver you can not delete these two fileds, because they are mandatory fileds when creating a new QuickLink instance in the SP Object Model. See the Screen below. In the next step I wanna change the default Privacy value from Everyone to Only Me.

Customizing the quicklinks.aspx view

Eg.  QuickLink ql = qlm.Create(title, sLinkUrl, QuickLinkGroupType.General, strGroup, Privacy.Private);

You find the page in the and add a new Link. You will be navigated to the quicklinks..aspx (see below). Read the rest of this entry »

Posted in Administration, MOSS, My Links, My Site, Security | Tagged: , , , , | Leave a Comment »

Introduction in Custom WF Activities

Posted by PANVEGA on January 20, 2009

Microsoft Office SharePoint Designer 2007 allows non-developers to create custom workflows in a straightforward way by using the workflow designer it provides. During the process, the user “glues” together different activities that represent the steps for the workflow. There are numerous activities one can use and the list is extensible. Developers can use Microsoft Visual Studio 2005 to build additional activities and deploy them, so that they are available in Office SharePoint Designer 2007.

My example in the post extendes the default out of the box Activity in the SP Designer (Copy List item). In the default activity you can only copy an item in the same site. I added a new attribute DestinationListUrl which copies the select item from the root list by using the SP Object Model to the destination list in an other site collection.


On Codeplex you find some useful custom SP Activities Read the rest of this entry »

Posted in Administration, C#, Deployment, DotNet, MOSS, Object Model, SPDesigner, Workflows, XML | Tagged: , , , , , , , , | Leave a Comment »

MyLinks without MySite

Posted by PANVEGA on December 1, 2008

In this post I am gonna show you how to manage the global MyLinks for users without activating the MySite.

The goal is that every user can admin his own custom links (Like in the MyLinks) without having access to the MySite. In addition the user should see all his personal links in a webpart in the Startpage.

Read the rest of this entry »

Posted in Administration, MOSS, My Links, My Site, Security | Tagged: , , , | Leave a Comment »

SharePoint using a Warm Up Script

Posted by PANVEGA on November 13, 2008

Ever had to wait a long time before a SharePoint page loads the first time? You really want to have the pages load fast if you click through a SharePoint page. When I hit my SharePoint site it takes 30 seconds to load, then after a refresh it goes sub second, even clearing their cache the page is fast.

Why is that so slow?

So, the curse of the .NET web applications (and then some blessing) is the JIT that impacts the performance for the first -unfortunate- user to access the application first time in the morning, or just after an inconsiderate administrator/developer installed something on the server.

Read the rest of this entry »

Posted in Administration, Infrastructure, MOSS | Tagged: , , | 2 Comments »

How to access the MOSS UserProfile through the ProfileManger

Posted by PANVEGA on November 7, 2008

To those doing software development for a Sharepoint environment, user profiles can be a mysterious and confusing area. This post will detail some of the basics, and outline some snafoos you may run into if you find yourself doing software development that interacts with the Sharepoint user profile information.

First, it should be explained that the user profile setup differs depending on whether you are operating in a full MOSS environment, or simply using the basic WSS structure. In the full MOSS environment, user profile information is stored in a central database, and profile information is shared across site collections that may be hosted on your server. This profile info can be read and/or edited via the UserProfileManager class within the Microsoft.Office.Server dll.

Read a little deeper about Profiles administration in more in one of my previous posts

Read the rest of this entry »

Posted in Administration, Field Types, Infrastructure, MOSS | Tagged: , , , | 1 Comment »

Introduction to User Properties in the SP Central Administration

Posted by PANVEGA on November 5, 2008

User profile properties define a portal user’s individuality. These properties store all essential information, such as contact details, distribution list memberships and colleagues. All can be retrieved from Active Directory and LDAP; from external data sources such as databases and legacy applications; and through the use of the Business Data Catalog (BDC) or from the SharePoint Profiles data store itself.

User profile properties are not limited to those that are created by default during the creation of the Shared Services Provider. Custom profile properties can be created in SharePoint and mapped to AD properties to accommodate situations when Active Directory is being used to track all possible information about a user. But they can be maintained independently of the AD account properties as well.

The set of properties that are included in the user profile might not contain all of the information about users in your organization that you want to include on the site. You can add new properties to enhance those included in the user profile.

You can also edit existing properties to change how those properties are displayed in the user profile.

You can also map properties to properties in Active Directory directory services.

Note When you add or edit a property mapping, you must run a full import before the changes take effect.

My Scenario:

I created a custom people picker field type, where I should retreive some User Properties into a SP List. By default only some fileds are shown in the PickerEntity properties. Hence I have to map some new fields to the user profile through the AD and have to make a full import after the changes (MOSS way). Down below I explained it a little deeper.

Read the rest of this entry »

Posted in Administration, Field Types, Infrastructure, MOSS | Tagged: , , | Leave a Comment »

Updating Files after IIS Application Pool Recycling

Posted by PANVEGA on October 21, 2008


Sometimes you have to update some files in you SharePoint 12 Folder. However it is not always possible updating files while someone access the application file. You can only access via read permission.

I have a custom webpart that accesses some XML files. However the XMLs should be updated via Webservice once a day.

Read the rest of this entry »

Posted in Administration, IIS, Infrastructure, MOSS, WebParts | Tagged: , , , , | Leave a Comment »