UPDATE
Hotfix 950279 is available via contacting MS Support. After some "wrangling" ... this worked for us.
Overview
If you have just ran an "all content" deployment successfully ... don't start celebrating yet. Sure, it may have taken over a week with a hotfix or two to get it working. Just keep in mind that you will most likely want to setup deployment on a schedule for "only new, changed" content. That process turns out to be just as fun.
Issue
The first attempt at running a "only new, changed" content deployment (after a successful "all content" deploy) ended quickly with the following error:
Violation of PRIMARY KEY constraint 'PK__#ExportObjects____2F364608'. Cannot insert duplicate key in object 'dbo.#ExportObjects'. The statement has been terminated. at ...
Solution for pre-SP1 installations
Hotfix 936867 will fix this issue IF YOU HAVE NOT INSTALLED (the SP1s).
No Solution Yet for SP1 ...
If you have installed the SP1s, there is a much more drawn out solution. If you have previously installed 936867 and you install SP1 after ... your error will most likely return. Microsoft claims in their description of the MOSS SP1 ("2007 Microsoft Office servers Service Pack 1") that 936867 is included in the SP ... and this is it one of the "Issues that the service pack fixes" ... um LIE!
Great discussion about this issue here on MS's SharePoint forum.
April 18, 2008
April 15, 2008
Reporting Services ... Customizing the RSViewerPage.aspx Page
Overview ... Monday morning QB
Upon installation of Reporting Services there is a ReportServer folder created under the LAYOUTS directory that contains the .aspx files necessary to display reports. The primary file used for the display or reports is RSViewerPage.aspx. This page contains a large web part called ReportViewerWebPart. This web part includes both the toolbar/actions menu of the report, the report itself, and the parameters pane ... all in that one webpart. Mistake #1 by MS.
Another fun fact I noticed is that these pages are not child pages of a master. They are just stand alone .aspx files. Mistake #2 by MS. Hints, these pages do not include the global placeholders/navigation of the default.master nor the neighboring application.master (also found in the LAYOUTS directory).
When you deal with MS support these are they types of answers you get when you bring up such issues ... basically, wait till the next version.
Goal
Since by default the RSViewPage.aspx does not contain the global SharePoint navigation ... let's take a look at how to include it in the report page.
Solution
1. Make a backup of RSViewPage.aspx
2. Register the following at the top of the page:
3. Inlcude the following references inside the HEAD tag:
4. Place the following OnLoad event inside the BODY tag:
onload="javascript:if (typeof(_spBodyOnLoadWrapper) != 'undefined') _spBodyOnLoadWrapper();
5. Add the folowing lines of code:
That should do it!
I ran into some other issues that were installation specific ... so don't expect this to work perfectly for everyone ... but it will get you at least 90% of the way there.
Upon installation of Reporting Services there is a ReportServer folder created under the LAYOUTS directory that contains the .aspx files necessary to display reports. The primary file used for the display or reports is RSViewerPage.aspx. This page contains a large web part called ReportViewerWebPart. This web part includes both the toolbar/actions menu of the report, the report itself, and the parameters pane ... all in that one webpart. Mistake #1 by MS.
Another fun fact I noticed is that these pages are not child pages of a master. They are just stand alone .aspx files. Mistake #2 by MS. Hints, these pages do not include the global placeholders/navigation of the default.master nor the neighboring application.master (also found in the LAYOUTS directory).
When you deal with MS support these are they types of answers you get when you bring up such issues ... basically, wait till the next version.
Goal
Since by default the RSViewPage.aspx does not contain the global SharePoint navigation ... let's take a look at how to include it in the report page.
Solution
1. Make a backup of RSViewPage.aspx
2. Register the following at the top of the page:
3. Inlcude the following references inside the HEAD tag:
4. Place the following OnLoad event inside the BODY tag:
onload="javascript:if (typeof(_spBodyOnLoadWrapper) != 'undefined') _spBodyOnLoadWrapper();
5. Add the folowing lines of code:
- The ms-globalTitleArea TD class will contain the background image for the theme.
- The Logo.gif image represents the site logo
- Use id=onetIdTopNavBarContainer and class=ms-bannerContainer for the TopNavBar
- The wssuc:TopNavBar is the SharePoint top navigation.
I ran into some other issues that were installation specific ... so don't expect this to work perfectly for everyone ... but it will get you at least 90% of the way there.
Subscribe to:
Posts (Atom)