Friday, March 13, 2009

AssetPortalBrowser 403 Access Denied

Are You familiar with the following Screenshot:


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:

  1. Fill in the url of the current page in the textbox, and then click browse.
  2. You will see that Location (URL) points to the current page
  3. Click OK
  4. 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

Hi all,

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

Hi

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 ;)

Tuesday, June 24, 2008

SharePoint: Content Deployment Paths and Jobs

Today I was using the content deployment functionality of SharePoint. All configuration seemed to go well but when i started the Job it just kept hanging on Preparing.

After a simple google search I found out that many people had ran into this problem, but most had not found an answer.

For some it was the Windows SharePoint Timer Service that had to be started, for some it was the target Site collection that had to be created based on a Blank Site template ...

For me however I only got it working by changing the "Content Deployment Settings" on both servers so that in the "Connection Security" part both had the "Do not require encryption" functionality selected.

Maybe this can help somebody, someday, somewhere ;)

Monday, June 9, 2008

For a good start ...

I'm going to try something new for myself, and that something is ...

yeah you guessed it! It's writing a blog :)
Because I don't believe you can start off with the serious stuff all of a sudden, I'm going to start of with something easier. Last month a colleague stumbled upon the movies of 'Greg the architect'.

For people in the IT business, I certainly recommend having a look. Me and my colleagues had a good laugh with them.

www.gregthearchitect.com


Cya next blog

Search This Blog