Some notes on software development... RSS 2.0
# Thursday, 22 May 2014

When using Microsoft.Sdc.Common.tasks with MSBuild you may get a naming clash when using the Delete task. You receive the following: error MSB4062: The "Microsoft.Sdc.Tasks.BizTalk2004.Host.Delete" task could not be loaded from the assembly.

To resolve this you should remove the BizTalk XML elements from the Microsoft.Sdc.Common.tasks file being used:

image

Thursday, 22 May 2014 12:33:38 (GMT Standard Time, UTC+00:00)  #    -
MSBuild
# Friday, 02 May 2014

When using ASP.NET web services, if you see this error:

image

…it may be caused by the ISAPI & CGI Restrictions not being set correctly in IIS. From the root computer node in IIS manager select ‘ISAPI and CGI Restrictions’:

image

…and ensure that the .NET version you are using has the Restriction value set to ‘Allow’:

image

Friday, 02 May 2014 08:25:29 (GMT Standard Time, UTC+00:00)  #    -
ASP.NET | IIS
# Tuesday, 29 October 2013

I always forget the exact sql server commands for shrinking a transaction log file so, thanks to Pinal Dave, here they are:

USE DatabaseName
GO
DBCC SHRINKFILE(<TransactionLogName>, 1)
BACKUP LOG <DatabaseName> WITH TRUNCATE_ONLY
DBCC SHRINKFILE(<TransactionLogName>, 1)
GO

Links
Pinal Dave - SQL SERVER – Shrinking Truncate Log File – Log Full

Tuesday, 29 October 2013 17:54:04 (GMT Standard Time, UTC+00:00)  #    -
SQL Server
# Thursday, 19 September 2013

Download and install the latest version of DiffMerge 

From the Visual Studio 2010 menu select Tools->Options->Source Control->Visual Studio Team Foundation Server->Configure User Tools

Add the following…

Compare
Extension: .*
Operation: Compare
Command: C:\Program Files\SourceGear\Common\DiffMerge\sgdm.exe
Argument: /t1=%6 /t2=%7 %1 %2

 image

Merge
Extension: .*
Operation: Merge
Command: C:\Program Files\SourceGear\Common\DiffMerge\sgdm.exe
Argument: /m /r=%4 /t1=%7 /t2=%8 /t3=%6 /c=%9 %2 %3 %1

image

Thursday, 19 September 2013 08:54:26 (GMT Standard Time, UTC+00:00)  #    -
Source Control | Visual Studio
Navigation

Sign In
Extras
Statistics
Total Posts: 116
This Year: 0
This Month: 0
This Week: 0
Comments: 36
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2018
Hadrian Phillips

All Content © 2018, Hadrian Phillips
DasBlog theme 'Business' created by Christoph De Baene (delarou)