SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been trying to create a simple Approval Workflow in SharePoint (MOSS 2007).

After going through the first screen where I type in the name, Task List, History List, startup params, etc. I go on to the next screen and it comes up blank but for a Javascript Error.

"Line 31 Char 73 Object expected"

which would be at the body tag doing the SharePoint Built in javascript like so:

<BODY scroll="yes" 
      onload="javascript:if (typeof(_spBodyOnLoadWrapper) != 'undefined') _spBodyOnLoadWrapper();HideSiteFeatures();">

The URL comes up like so, which looks legit:


I've tried this page with IE 6,7 and 8 and the error keeps coming up. Any suggestions? Thanks!

share|improve this question

As you have used it with various browsers it probably isn't the famous 'corrupt JavaScript file in the browser cache' problem.

Are you accessing SharePoint via a proxy server by any chance?

share|improve this answer
up vote 0 down vote accepted

Found it, apparently it was a Javascript corrupted by someone in the organization who was feeling brave in customizing the application.master file and I didn't realize it. Reset back to standard application.master fixed it...

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.