-
hey guys, The error described above is one of the common errors which we get when developing with SharePoint Object model. In my case the Error came up because of SPFolder "Update" using the "RunWithElevatePrivilege" method as below: SPSecurity.RunWithElevatedPrivileges(delegate{...
-
Hey guys, if you working with SPList object be aware of this. If you create a List over C# you only submit a name. But if the name of the List is too long then the url will be truncated. So you need access to a URL Property to get the right reference to the list! There are several methods: 1. Access...
-
Hey guys, this is just a short tip for you if you are working with SlideLibraries. The SlideLibrary is not a ordinary List or Doc Library for MOSS. Its not included in the SPListTemplateType Enumeration. So how could we add such a list. First of all you have to know that the SlideLibrary was published...
-
Hey guys, I have to write a little a tool which copies the files from one library to another. But the requirement was to copy the versions also. So I searched a lot and now I have a good logic to resolve this issue.
-
Hey guys, I had an strange behaviour in one of our customers portals. Today the customer told me, that when he try to access the Advanced Permission Page of a Site in SharePoint he get an error: Object reference not set to an instance of an object. at Microsoft.SharePoint.SPSite.get_IISAllowsAnonymous...
-
Hey guys, today I have a really strange issue. A customer reported that when he opens a document (ReadOnly) from a SharePoint Doc Library and try to print it, the fields in the Word Document disappear directly after pressing printing or print preview. I try to print the same doc in Win 2003 and here...
-
Hey Guys, Today I ran into an really stupid error. I have an Doc Library in a SharePoint Site, I create folders programmatically. Now I had the requirement to add MetaTags to that Library. After I added custom Columns to that Library my Code to Create a Folder in that Library won't work anymore,...
-
Hey guys, I ran through a new problem with MOSS and IIS 7. If you configure your Max Upload Size in the Web Application Generell Settings, this has no affect for the upload size. If you try to set this to e.g. 200 MB and then try to upload a file which has a size of e.g. 100 MB, you get a HTTP Error...
-
hey guys, It's not a secret that sharepoint can't handle different language templates, so what if you have e.g. a english template which you want to use on a german system!? Here is a workaround for you: The first thing what you have to do is to save the template on your local computer. Then...
-
Hey guys, today i will show you how you can modify the calendar view to display e.g. start and end time of an event. The default style is this: To display also the end time of an event or meeting you have to create at first a new column of type calculated (calculation based on other columns). Enter a...
-
Hey guys, if you execute a search query in your portal and the result list looks like the following picture, try the solution below: In this case the problem was the DOCICON.xml file. If you have added e.g. the pdf filter extension that please ensure that the file is correct and you not forget and end...
-
Hey guys, if you need a folder which includes MetaTags such as description then you can use this How-To. First of all you have to create a new Site Content Type: - Site Settings, under Galleries, click "Site Content Types" - Click "Create" - Give a name for this Content Type e.g....
-
Hey guys, if your receive an access denied error message when you try to crawl a content. And this has worked previously check out this: Disable the loopback check loadTOCNode(2, 'workaround'); Follow these steps: Click Start , click Run , type regedit , and then click OK In Registry Editor,...
-
Hey guys, If you receive a Service unavailable Error Message in IE please try the following steps which resolved the issue in my case. First of all run the Product and Configuration Wizard of SharePoint. After that the Central Administration should be available Set the support for 32Bit Application to...
-
Hey guys, In my last post I show you how to create a custom activity now I want to show you how can deploy a custom activity. The first step is to register the built assembly in GAC with gacutil. Then we have to configure the settings for SPD. The first step is to create a *.ACTIONS file in the 12 hives...