Cascade Skyline - with Microsoft Logo and Project Support header - author Brian Smith

  • Brian Smith's Microsoft Project Support Blog

    Update to OLAP Issue: February release of SQL Server Management Objects works with Reporting Services add-in for SharePoint

    • 0 Comments

    If you are a regular reader you may remember that the loading of the Microsoft SQL Server 2005 SP2 component "Reporting Services Add-in for Microsoft SharePoint Technologies" broke the OLAP cube builds as it removed a required component when used on an aplication server that was not the SQL Server host too.  Well if you load the February update to the SQL Management Objects (rather than the November issue) available as part of the Feature Pack release then this problem is resolved!

    Feature Pack available here

    Microsoft SQL Server 2005 Service Pack 2  available here

    Don't forget (like I did) to load the add-in for SharePoint on your web front ends as well as your app server - or you will see an error as your front end web.config will be referring to a component (RSSharePointSoapProxy) that your web front end knows nothing about.

    Technorati Tags: Project Server 2007

  • Brian Smith's Microsoft Project Support Blog

    Update to the Project 2007 SDK Now Available!

    • 0 Comments

    Online at http://www.microsoft.com/downloads/details.aspx?FamilyId=2672F6F9-7028-4B30-99A2-18CB1EED1ABE&displaylang=en you can now download the latest SDK with plenty of new content.  The online version will also be updated in the next day or so.  New topics for this April 2007 release are:-

    · XML Schema References for Project (15 topics; includes the ChangeList Schema Reference)

    · Changes for Custom Project Guides 

    · Custom Fields in OLAP Cubes (in the Local and Enterprise Custom Fields topic)

    · How to: Generate ChangeXML for Statusing Updates

    · Project Server Report Pack (9 topics)

    · Walkthrough: Creating a PSI Extension 

    · Walkthrough: Develop an Impersonation Web Application

    Other updates include enumeration descriptions, PSI method permissions, TimesheetDataSet properties, and a VBA sample for Project Deliverables.

    The online Windows SharePoint Services 3.0 and MOSS 2007 SDKs will also be updated by the end of April.

    Great work Jim and the team!

    Technorati Tags: Project Server 2007

  • Brian Smith's Microsoft Project Support Blog

    SQL Deadlocks and the Project Server 2007 Queues

    • 2 Comments

    I had a question from my blog (thanks Alex!) on SQL deadlocks and error messages like the following on a busy server.

    System.Data.SqlClient.SqlError: Transaction (Process ID 84) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

    You will also see error id 7747 in the application event log.

    This can be an issue with systems that are quite stressed and in all cases I have seen relates to the process that selects the queue jobs for processing. It does not break anything as such and no data is lost – but processing of queue jobs is delayed (but as the system is very busy they probably wouldn’t have processed quickly anyway!).

    Deadlocks occur when two transactions interact in such a way that one requires a resource that the other has locked, and vice versa. Because neither task can continue until a resource is available and neither resource can be released until a task continues, a deadlock state exists. SQL Server selects one of the transactions as the victim and ends it – and posts the above error.  See the SQL Server Books Online for more details.

    In Project Server 2007 you can monitor activity using perfmon, and the counters include SQL retries per minute for both the Project and Timesheet queues. You can also modify the queue settings which can reduce the occurrence or behavior of the deadlocks. We don’t have any prescriptive guidance yet on suggested changes, but certainly reducing the number of threads, increasing the polling interval, or increasing the SQL retry intervals would likely reduce the number of deadlocks you see. However, these changes will also reduce the throughput of your queue – particularly when processing light weight jobs. If you see the deadlock behavior at specific time of day only – and want to change queue settings to suit workload you could even use the QueueSystem web service to change the settings (using the SetQueueConfiguration method).

    I’m not sure if anyone will really want to micro-manage their queue in this way – or what the overall throughput benefits would be – but the option is there.

    Technorati Tags: Project Server 2007

  • Brian Smith's Microsoft Project Support Blog

    Another way to troubleshoot Unknown Errors

    • 0 Comments

    I had a comment posted by Vince Rothwell of a suggestion for troubleshooting the type of errors described in my last posting and thought it was worth a full posting rather than getting lost in comments.  Vince gave me a link to his blog at http://blog.thekid.me.uk/archive/2007/02/15/a-solution-to-quot-an-unexpected-error-has-occurred-quot-in-wss-v3.aspx where he describes making some changes to the web.config file for the application giving the error - so that you get a less generic error message.  I tried this on one of my servers where I could "force" some typical errors of this type.  Instead of the "unknown error" you get a stack trace which may give good clues to finding the true problem.  In my cases one of the issues caused by some unexpected NULL values coming from the database gave a good indication that this was the problem - next step would be tracing where the bad data is.  In another case I could see a "GeneralUnhandledException" so still needed to dig deeper.  The final case gave me a specific GUID identifying the problem data element.  So all in all a good way to troubleshoot these types of errors.

    A couple of words of warning though - you probably don't want to do this for a public facing site - and even exposing your users to these types of errors is best avoided.  One way to limit the viewing of these errors is to set custom errors to "RemoteOnly" rather than Off - which would then only give the full error details on the server (assuming you can repro on the server).  The stack trace errors could tell a potential hacker more about your back-end systems than you would want them to know!

    Thanks again to Vince - and please do visit his blog - a great source of excellent information on SharePoint!

    Technorati Tags: Project Server 2007

  • Brian Smith's Microsoft Project Support Blog

    An Unexpected Error Has Occurred, or Unknown Error in WSS 3.0

    • 23 Comments

    With Project Server 2007 being a WSS 3.0 application you may come across either of these error messages.  The Unexpected error can appear on web part pages, and the Unknown error is more likely on pages without web parts.  The two errors are really telling you the same thing - This page (or web part) needed some data - but the data doesn't fit what I was expecting.  If you get this then you probably need to raise a support call (see http://support.microsoft.com for options available to you) - or search through the KBs to see if there is a fix for the specific problem you are seeing (depending when you read this there may or may not be fixes up there right now).

    But for some potential immediate relief from the problem here are a few tips that may at least get that page displaying again.  The problem could occur on a number of different pages - but just to give some context lets talk about the "My Tasks" page.  This will be displaying the "My Assignments" view by default, but in fact as this web part loads the SQL stored procedure behind the scenes will be bringing in data for any of the views that a specific user has access to from the drop down of views.  So even if "My Assignments" is the default - if you also have a custom view in the list that perhaps includes some custom fields then this data will also have been retrieved (and could be the culprit!).  So identifying the bad data will help us with your support call and also hopefully get that page working again.  Thinking in rows and columns - any customization will be changing the columns - and the rows will depend on things such as date ranges, tasks and assignments.  So things you can try:-

    • If it is a web part page then go to the Web Part Maintenance and either reset the part - or remove it and then add it back again.  This will have the effect of defaulting the web page settings and if the bad data happened to be beyond the "current tasks" range or other filter specific to the part this may get things working.  This isn't a fix - just avoiding the bad stuff for now.
    • If you have customized then try removing any additional custom fields or other added fields from the view.  Again this isn't a fix, and certainly the customizations shouldn't lead to errors - but it may at least allow you to continue working.
    • Try removing some rows that could be causing the problem - so any recent assignments would be targets - or if timesheets are the problem removing some added task lines might help. 

    None of these are meant as long term fixes - they are really just avoiding the issue until a fix can be found - which either the support call or KBs will help you achieve.  But hopefully it will give you an understanding of what might have led to the issue - and could get your resources back up and running while together we solve the deeper problem.

    Technorati Tags: Project Server 2007

Page 84 of 91 (452 items) «8283848586»