The type or namespace name ‘LayoutsPageBase’ does not exist in the namespace ‘Microsoft.SharePoint.WebControls’ (are you missing an assembly reference?)
Posted by Dave Mellors | Filed under SharePoint, Software Development
After creating an empty SharePoint 2010 solution in Visual Studio 2010 I added an Application Page to the project but compiling failed and gave me the following error: The type or namespace name ‘LayoutsPageBase’ does not exist in the namespace ‘Microsoft.SharePoint.WebControls’ (are you missing an assembly reference?) Using the object browser in Visual Studio I [...]
Tags: error, SharePoint 2010, Visual Studio 2010
SharePoint Designer 2010 loses my changes when using Customize XSLT
Posted by Dave Mellors | Filed under SharePoint, Software Development
Having created a view in SharePoint 2010 I now wanted to modify the way the groupings were displayed. Opening the view in SharePoint 2010 I could see a ribbon option labeled Customize XSLT which enabled me to edit the way that the view was displayed by editing the XSL and in SharePoint Designer 2010 everything [...]
Tags: SharePoint 2010
Debugging mode in SharePoint 2010 – set customerrors mode to off in web.config
Posted by Dave Mellors | Filed under Fixes to problems, SharePoint, Software Development
Whilst trying to debug a Feature Receiver in Visual Studio 2010 I kept receiving the standard application error suggesting that if I wanted to view the details of the error that I set the customErrors to Off. That’s odd I thought I had already done that and a visit to the web.config in c:\inetpub\wwwroot\wss\VirtualDirectories\80 showed [...]
Tags: error, SharePoint 2010, Visual Studio 2010
The form has been closed / The specified form cannot be found – SharePoint 2007
Posted by Dave Mellors | Filed under Fixes to problems, SharePoint, Software Development
Having created my InfoPath 2007 Form, created my workflow in Visual Studio 2008 and clicked Deploy I found that my workflow went to In Progress but the Instantiation Form never displayed in SharePoint and all I got was a message “The form has been closed” on the screen. Looking in the log files I could [...]
Tags: infopath 2007, sharepoint 2007, visual studio 2008, workflow
The importance of a good installer
Posted by Dave Mellors | Filed under Software Development
Years ago I used to get all the computer magazines and install all the applications on the cover disk but I no longer buy computer magazines and instead spend half my life installing applications found on the Internet and then the rest of my life is divided between trying to get the applications to work [...]
Tags: Add new tag, Opinion
Example: Updating a remote customer database schema
Posted by Dave Mellors | Filed under Software Development
Overview A common use of the Red Gate SQL Comparison SDK is to package up the latest version of a database schema and send it to customers as an executable. This example demonstrates how easy it is to use the SDK to do this. NOTE: SQL Comparison SDK is to be the new name for [...]
Tags: .net, Red Gate Software, SQL Comparison SDK
SQL Toolkit introduction
Posted by Dave Mellors | Filed under Software Development
In my last post I talked about writing an example application using the Red Gate SQL Toolkit but it occurred to me that I ought to mention a bit more about what SQL Toolkit is and what it can be used for.
Tags: .net, Red Gate Software, SQL Comparison SDK, SQL Server
Red Gate SQL Toolkit: SQL Deployment example
Posted by Dave Mellors | Filed under Software Development
We are getting a lot of customers interested in using SQL Toolkit for deploying database updates to remote customer sites. Using SQL Toolkit you can distribute a single executable to your customers and use the Toolkit to do a schema comparison and then automatically update the customers database with the differences between a snapshot from [...]
Tags: .net, Red Gate Software, SQL Comparison SDK, SQL Server
Visual Studio development web server dynamic port numbering problem
Posted by Dave Mellors | Filed under Software Development
The problem I had this problem in Visual Studio 2005 and now I have it in Visual Web Developer 2008 express edition where when debugging a web application using the development web server the dynamic port number used by the server didn’t match what Visual Studio had used for the web browser. It was always [...]
Tags: ASP.NET, Visual Studio
Profiling with ANTS Profiler and MSTest
Posted by Dave Mellors | Filed under Software Development
Had a question today from a customer interested in profiling his unit tests using MSTest which is part of the testing element of Visual Studio Team System. As I hadn’t used MSTest before I decided to take a look and see if you could use it with ANTS Profiler. After my first attempt at profiling [...]
Tags: ANTS Profiler, Red Gate Software