Wednesday, July 22, 2009
MOSS Themes - Order of loading
However I want to give you some info on an issue I had not long ago.
Situation
Custom Masterpage
Custom Theme on Root site
Other Custom Theme on child that touches some similar styles with other colors
Problem
The last css to get loaded was the one of the parent theme
Solution
Moving this tag
<SharePoint:Theme ID="Theme1" runat="server"/>
to be in front of
<asp:ContentPlaceHolder id="PlaceHolderAdditionalPageHead" runat="server">
</asp:ContentPlaceHolder>
More Info
I used a custom masterpage together with a theme. Because I wanted to do all css with the theme I moved the tag to just in front of the tag.
However when you configure a theme on a subsite it gets placed in the "additional page head" wich caused the above mentioned caution.
Moral
When designing your custom masterpage, think twice when moving tags .. and test test test.
Kind regards
Steven
Tuesday, July 7, 2009
Going for MCPD Web Developer
If anyone has usefull tips about this examn, your welcome to post them here.
I'm planning on using the following book as the basis for my studies. Does it contain enough information combined with the test exam that comes with the book? Or is it required to consult some extra resources?
Thursday, July 2, 2009
Extracting assemblies from the Global Assembly Cache: The Options
There are several options:
- Command line copy
- Unregistering shfusion.dll
- Bypassing shfusion without unregistering
The last one is definetly my favorite, Just open the run command box (or quick search box in Vista) and enter the following:
%windir%\assembly\gac
This will open an explorer window while bypassing de shfusion.dll file that limits functionality
Monday, June 29, 2009
Exam 70-630: TS MOSS 2007, Configuration
If you need a quick moss certification this is certainly a recommendation. If you are used to working and configuring moss, you should have no problem passing this one.
This makes 2 in a month, I'm on a roll :). I'm not sure what the next one will be however.
Friday, May 29, 2009
Exam 70–528: TS: Microsoft .NET Framework 2.0 - Web-Based Client Development
Passing this one now makes me: Technology Specialist: .NET Framework 2.0 Web Applications
Next up will be the 70-630 and 70-542. I'm not sure about the order however :)
Monday, April 20, 2009
LL: Document Conversion in MOSS
2. If you convert using the object model, you will need the OOB transformer id's:
Docx: {6dfdc5b4-2a28-4a06-b0c6-ad3901e3a807}
Docm: {888d770d-d3e9-4d60-8267-3c05ab059ef5}
Infopath: {853d58f5-13c3-46f8-8b81-3ca4abcad7b3}
Xsl = {2798ee32-2961-4232-97dd-1a76b9aa6c6f}
3. Document does not work on old .doc-like files. It needs the new XML format of the Word 2007 files like .docx)
4. When configuring DC on your server, always start the Document Load Balancer Service before your Document Launcher service(s).
5. Some more lessons learned can be found here: http://raiumair.wordpress.com/2008/01/07/document-convertors-in-moss-lessons-learnt/
Friday, March 13, 2009
AssetPortalBrowser 403 Access Denied
The story:
Some user calls you up and tells you that when he wants to browse for an url, he gets this error page. As admin you can't reproduce the problem but with the reporters user account you can...
You say to yourself: No problem, It's jus a matter of giving the user some rights ... hmm but what rights?
The Solution:
Well for this, I make a separate Permission Level called "Browse". I do this because I don't want to mess with the existing levels, and I can decide in a flexible way who can browse what. This Permission Level has 3 Site Permissions flagged:
- Browse Directories - Enumerate files and folders in a Web site using SharePoint Designer and Web DAV interfaces
- View Pages - View pages in a web site
- Open - Allow users to open a Web site, list, or folder in order to access items inside that container
For the people who have a Dutch installation:
- Zoeken in mappen - Bestanden en Mappen van een website inventariseren met SharePoint Designer en Web DAV interfaces
- Pagina's bekijken - Pagina's weergeven op een website
- Openen - Stelt gebruikers in staat een website, lijst of map te openen zodat ze toegang hebben to items in dat onderdeel
You're feeling pretty good about yourself by now, so you apply the Permission Level to the group/person reporting the problem on that site. Problem fixed !?!
Or isn't it? Are you sure you applied the permission to the correct site?
There is a small gotcha here. SharePoint is so user friendly that it saves the last selected browse location on a per user basis. When you don't fill in the Selected URL textbox and just click on browse, SharePoint looks up that URL and tries to display the content.
Now if for any reason, the user lost rights on that site (maybe he moved to a different team), he is going to get the 403 Error.
A simple workaround here is this:
- Fill in the url of the current page in the textbox, and then click browse.
- You will see that Location (URL) points to the current page
- Click OK
- You've just overwritten the old invalid url! Job done, Go have yourself a cup of Tea/Coffee
Let me know if this helps any of you.
Greets Steven
Monday, January 19, 2009
Oracle DataPump INCLUDE/EXCLUDE Part 2
I ran into another little problem with the expdp utility off oracle.
For my purposes i called the utility with a parfile, this parfile was generated by another step in the scripting progress.
The oracle documentation listed that i could repeat INCLUDE statemets, so my script generates something like this:
INCLUDE=FUNCTION:"='FUNC_NAME'"
INCLUDE=FUNCTION:"='FUNC_NAME_OTHER'"
INCLUDE=FUNCTION:"='FUNCY_NAME'"
INCLUDE=PACKAGE:"='THE_PACKAGE'"
However when running this, i kept getting the error:
- ORA-39168: Object path function was not found.
It took a while but i finally found out that you CAN repeat include statements but you CANT repeat object paths.
above sample should thus be:
INCLUDE=FUNCTION:"IN ('FUNC_NAME','FUNC_NAME_OTHER','FUNCY_NAME')"
INCLUDE=PACKAGE:"='THE_PACKAGE'"
Here you go, Some more 'wisdom' shared with the internet-connected world
Friday, January 16, 2009
Oracle DataPump INCLUDE/EXCLUDE
I needed to create some oracle scripts for a project i am working on.
However when making my datapump scripts for the export I ran into some trouble:
ORA-39168: Object path function was not found.
After some searching I find out that I was using the wrong export type to be using that path.
The question is how did I find this out?
well ...
Just use the DATAPUMP_PATHS view in oracle !
It's a realy handy little thing :)
Edit: In Part 2 You can find another reason for this error ;)