Dennis Bottjer | ASP.NET + SharePoint Architect, Trainer & Speaker

"An Ounce of Prevention is Worth a Pound of Cure" - Ben Franklin
posts - 168, comments - 59, trackbacks - 41

My Links


Add to Technorati Favorites The views expressed in this blog are mine and mine alone, not that of my employer, Microsoft, or anyone else’s. No warrantee is given for the quality of any material on this site.

Tag Cloud


Post Categories


SharePoint 2010 Custom Master Page: Required Field Pop-Up

  Overview: Creating a custom master page provides the greatest flexibility for branding a SharePoint Implementation.  However, there are many hidden traps to be aware of when creating a custom master page.  For example, it is usually best not to start from scratch but to use a copy of the v4.master or starter master page created by Randy Drisgill. Lessons Learned: The v4.master is the new default master used for SharePoint 2010 and creating a new custom master from a copy of the original v4.master will ensure the inclusion of expected SharePoint 2010 User Experience...

posted @ Thursday, September 9, 2010 8:34 PM | Feedback (0) | Filed Under [ Debugging SharePoint Tips-n-Tricks ]

SQL Reporting Services Error Installing TFS 2010

Over the weekend I spun up a new virtual machine for a practice TFS 2010 Installation.  The TFS installation process is much improved.  It can loosely be broken into two phases which are installation and configuration.  The installation is the easy part which basically prepares the server and copies some bits to the drive.  The configuration is a little more difficult but provides some guidance to help make the important decisions.  During the configuration you make the following three key decisions. Install WSS 3.0 or use an existing SharePoint installation Install SQL Express...

posted @ Thursday, September 9, 2010 1:18 AM | Feedback (0) | Filed Under [ Debugging SQL & LINQ TFS 2008 Tips-n-Tricks ]

SharePoint 2010 Unable to Open Excel and PDF Documents

Issue: A client was experiencing very strange behavior following an upgrade from MOSS 2007 to SharePoint 2010 Server.  In a nutshell some documents such as Word (.doc and .docx) would open while others such as Excel (.xls and xlsx) and PDF documents would not open. Note: By open I mean when clicking on an Excel document, stored within a document library, it would not open in Excel installed on Windows 7, Vista, XP, etc. Furthermore, the file type icons that normally display next to familiar documents such as Excel were missing and a missing image red x...

posted @ Monday, June 7, 2010 9:54 AM | Feedback (2) | Filed Under [ Debugging SharePoint ]

Automated Web Testing with Visual Studio 2008

Tulsa Developers User Group | Automated Web Testing with Visual Studio 2008 (Review) Corey Roth presented tonight on automated web testing with Visual Studio 2008 at the Tulsa Developers User Group.  Visual Studio can be used to record an action such as logging into a web application.  Alternatively, users can inspect screen values for specific results.  The test would pass if the expect value is present and fail if the value is missing.  Visual Studio must be installed to execute the tests.   A tests project actually generates .NET Code (C# or VB.NET).  The tool can also be...

posted @ Tuesday, April 28, 2009 1:32 AM | Feedback (1) | Filed Under [ ASP.NET C# & .NET Tutorials Community & Events Debugging ]

Increase SharePoint execution Timeout

Execution Timeout Issue: After six minutes (360 seconds) of execution a SharePoint page will timeout.  Now for most situations a six minute execution timeout seems very generous.  However, it is likely that this default execution timeout may be reached during such tasks as Feature Activation.  Features are activated from a SharePoint Application Page and unless specially coded (not likely) a Feature will execute code in a synchronous manor.  Features containing code to create nested site hierarchies can be quite time consuming.  Solution: SharePoint uses a web.config located under: Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS to set the default executionTimeout.  The default executionTimeout (See Below)...

posted @ Tuesday, April 14, 2009 4:40 AM | Feedback (0) | Filed Under [ Debugging SharePoint ]

403 Error when accessing SearchSPSettings.aspx

Problem: We were installing code on a MOSS 2007 Medium Farm Deployment.  We noticed the servers were missing sever WSS/MOSS 2007 related patches.  We applied the missing patches but then realized Search was no longer functioning properly.  One of the most noticeable issues was we could no longer access the "Search Settings" page under the primary SSP.  Prior to applying the patches this page was accessible but now we just saw a 403 Forbidden Error.  The event logs and the SharePoint logs weren't much help either.  Basically, we knew the problem had something to do with permissions but we couldn't...

posted @ Tuesday, February 5, 2008 8:35 AM | Feedback (5) | Filed Under [ Debugging SharePoint ]

Error 1718. File FileName was rejected by digital signature policy.

Leveraging Virtual Machines is a great way to develop against SharePoint.  I was trying to update Visual Studio 2005 on a dev VM to SP1 and kept receiving "Error 1718. File FileName was rejected by digital signature policy."  The cause of this error is actually related to a lack of Virtual Memory.  However, I still received the error after increasing the virtual memory. The HotFix available in this MS Support Article resolved the issue.

posted @ Thursday, November 15, 2007 9:13 PM | Feedback (2) | Filed Under [ Debugging Tips-n-Tricks ]

PEX Dynamic Test Generation

Found this project, from MS Research which apparently dynamically generates tests and code analysis during active development.  Interesting way to enforce code quality and just prove requirements are being met.

posted @ Wednesday, November 14, 2007 11:16 AM | Feedback (0) | Filed Under [ Debugging ]

ASP.NET Debug=true Performance Considerations

I'm sure, like me, you've seen plenty of production web.config files with debug=true set.  Most senior ASP.NET developers will recognize that debug should be set to false for the production build.  However, this small detail is often over looked.  So what does this setting really do and does it have any significant impact on a production site? When debug is set to true, the following occurs: Pages are not batch compiled. Pages do not time out. When a problem occurs, such as a problem with a Web service call, the Web server may start to queue requests and stop responding. Additional...

posted @ Wednesday, October 10, 2007 8:36 AM | Feedback (0) | Filed Under [ ASP.NET Debugging Tips-n-Tricks ]

Thoughts On Recursion

Recursion is a computer science concept in which a method / function essentially calls itself until some condition is met.  Recursion can be an elegant solution to some logic problems.  However, I believe there are some potential dangers in using recursion that should carefully be consider.  Recursion is not an impossible concept to grasp it is just one that takes some thought.  The skill level of those maintaining an application should be considered before implementing recursion as it is a more advanced programming concept and could lead to serious performance issues of not implement correctly. namespace RecursionTest { class...

posted @ Tuesday, July 10, 2007 5:45 AM | Feedback (0) | Filed Under [ C# & .NET Tutorials Debugging ]

Full Debugging Archive

Powered by: