"WebForm_PostBackOptions is undefined" and Son of SmartPart

I haven't experienced this problem myself, but there seem to be some people get this exception when they use Son of SmartPart to load ASP.NET 2.0 user controls in combination with the Web Deployment Projects add-in. Steve Hartzog blogged about the solution for this problem: add the WebResource.axd to the excluded paths in SharePoint Central Administration. If you want to know how and why, check one of my previous posts. If you just want to get it fixed, below is the summary. I'm going to include this step in the Installation Guide of the Son of SmartPart, once again thanks Steve for bringing this to my attention!

On your SharePoint server, open up the SharePoint Central Administration site from the Administrative Tools start menu group and click the “Configure virtual server settings” link. On the next page you will see a list of all your virtual servers, click on the one that you would like to configure (you have to repeat the steps for each virtual server). Next, click the “Define managed paths” link. In the “Add a New Path” section, fill out WebResource.axd as the name of the path, for the type select “Exclude path”. Finally click the OK button. Now you can use WebResource in SharePoint sites!


  • In my experience, they are not necessary... please correct me if i'm wrong!

  • Hi, I have tried Son of SmartPart but are still getting errors. Any fixes to Peter's post?

    Would this by chance fix the "Add Link to Site" problem in SPS 2003 running .NET 2.0

    I have tried but can't seem to get it to work still. Same with the add user. Error "Unable validate Data".

    Is there a solution to this?

  • The excellent site!!! Want you good luck and prosperities!!

  • I still get this message! I can't recolve this problem!

  • I am connected to centralserver administration page but ther is no option for “Configure virtual server settings” . I installed sharepoint v3. Am trying to chage the alrenate access URl but due to this error I cannot add it. Is there any alternate way to add a url from backedn or something like that ?

  • yes,I never thought of this, poor MS, it should do that int the sp2, maybe our guy upgrade the server with sp2 installed first, then change it to .net 2.0

Comments have been disabled for this content.