by Dominic Zukiewicz
2. February 2010 22:49
When trying to connect to TFS 2008 on VS 2008, I had this error: The path xxx is already mapped in workspace xxx It turns out that when using my VPC, it was cloned incorrectly. Someone else had created a workspace using their credentials, cloned the VPC for my use and then when I logged on using the same account name, I got this error message. The way to allow you to continue is to close VS 2008 and then rename the settings file with a .bak extension located at: C:\Documents And Settings\<current user>\Local Settings\Application Data\Microsoft\Team Foundation\2.0\Cache\VersionControl....
[More]
by Dominic Zukiewicz
26. August 2009 09:18
A colleague of mine had some problems after recently upgrading an EPiServer site developed in Visual Studio 2005. The site he was developing was brought up to date by using Visual Studio 2008.
After changing the web project build framework to .NET 3.5, the development machine compiled the site no problem. However the problem was that the STAGE Web.config file had not been updated with some extra entries that the upgrade wizard had put in.
The error he was getting was highlighting the “this PageData data”, saying “Type expected”.
public static class EPiServerExtensions
{
public stat...
[More]
by Dominic Zukiewicz
8. October 2008 15:13
When writing stored procedures or views, I always create them in Visual Studio (2005/2008) and then run them on a specified database. When using "SELECT *", it is compact, but obviously does not help you find the columns of the table or view.
When using the IDE, I added a new SQL Script for Stored Procedures, and then I typed:
SELECT *FROM Customers
and a blue box surrounded the statement. I right-clicked -> Design SQL Block.
The designer then listed all of the column names for me, and when clicking OK, instantly put them back into the SQL script I was creating!
SELECT CustomerI...
[More]