Repeat Header / Keep Header Visible in Tables in RS 2008 – Advanced Reporting Serv

 
Talking about Repeat Header / Keep Header Visible in Tables in RS 2008 – Robert Bruckner’s Advanced Reporting Serv
 
 

TFS Team Foundation Services Installation

 
Not easy. Will not proceed if Frontpage Service Extensions are installed in IIS
In order to remove this go to Tools > Control Panel > Add Remove Programs >Add Remove Window Components > Double-click Application Server > Double-click Internet Information Services IIS > Uncheck Frontpage 2002 Server Extensions

Virtual Server 2005 “Error on Page”

 
Virtual Server 2005 x86 installs on a Virtual Server 2003 machine x64.
In IE8 may get "Error on page" need to enable compatibility view which is the button to the right of the address bar will then work

Recursive CTE – Bill of Materials – BOM View

 
Difficult but got there ! And worth it !
 
/*
Based on a table Product.Products and Product.BillOfMaterials.
*/
 
/*
SELECT * FROM Product.Products WHERE ID = 738
SELECT * FROM Product.vBillOfMaterials WHERE ProductAssemblyID = 738 ORDER BY BOMLevel
SELECT * FROM Product.vBillOfMaterialsName WHERE ProductAssemblyID = 738 ORDER BY BOMLevel
*/
 
CREATE VIEW [Product].[vBillOfMaterials]
 
AS
 
WITH BOM_cte 
AS
(
SELECT b.ProductID AS ProductAssemblyID, ID, ProductID, ComponentID, ItemNo, Quantity, LastUpdate, LastUpdateBy, AlternativeAccy, 0 AS BOMLevel 
FROM Product.BillOfMaterials b
UNION ALL
SELECT cte.ProductAssemblyID, b.ID, b.ProductID, b.ComponentID, b.ItemNo, b.Quantity, b.LastUpdate, b.LastUpdateBy, b.AlternativeAccy, BOMLevel + 1 AS BOMLevel
        FROM [BOM_cte] cte
            INNER JOIN [Product].[BillOfMaterials] b 
            ON b.ProductID = cte.[ComponentID]
)
SELECT BOM.* FROM BOM_cte BOM

Outlook Winword using resource and not closing in task manager

 
Outlook > Tools > Options > Mail Format > ensure that "Use Microsoft Word 2003 to edit e-mail messages" both boxes are unticked

Virtual PC

 
Using successfully 24-Mar-2010
Shared Folders between host and VMC OK
 
Trying out VS2010 RC on VMC

Microsoft Visual Studio 2010 Architecture Model Upgrade Tool(Free)

 
Visual Studio 2010 Beta 2 Architecture diagrams. (Not dgml). Need to be upgraded to use in Release Candidate.
Tool to do this is here:-
 
 
 

IIS – Server 2003

 
Start > All Programs > Administrative Tools > Internet Information Services Manager (IIS)

Team City – Continuous Integration and Automated Testing

 
If Team City returns "Failure" > "Build Errors"
error MSB4019: The imported project "C:\Microsoft.VisualBasic.targets" was not found.
Then Team City is not using Microsoft Framework 3.5
Then go to Project Settings > Runner >
If using Visual Studio 2008 for a project .proj file then use
MSBuild
Build Version 3.5
Tools Version 3.5
 

 
Sln2008 only for solution files
 

 
Move to Server
 
Download – install – choose port
Access from another computer by using server address : port no.
 

 
Using Microsoft SQL Server
 
 
In order to use Windows Authentication need to copy dll file. In my case was
…Microsoft SQL Server JDBC Driver\sqljdbc_2.0\enu\auth\x86\sqljdbc_auth.dll
into Windows\System32 directory
 
 
file database.properties was
driverName=com.microsoft.sqlserver.jdbc.SQLServerDriver
connectionUrl=jdbc:sqlserver://localhost:<port>;database=TeamCity;
connectionProperties.integratedSecurity=true
 
 
 
 
 
 
 

Object binding to a BindingSource (and probably a DataGridView) – Add New Item

 

Private Sub DecisionBindingSource_AddingNew(ByVal sender As System.Object, ByVal e As System.ComponentModel.AddingNewEventArgs) Handles DecisionBindingSource.AddingNew

Try
Dim dNew As New Decision
dNew.DateInput = Today
dNew.IsNew = True
dNew.StatusID = Decision.StatusIDEnum.Current

'Lambda
Dim dList As IList(Of Decision) = CType(DecisionBindingSource.DataSource, IList(Of Decision))
dNew.ID = dList.Max(Function(d) d.ID) + 1
e.NewObject = dNew

Catch ex As Exception
MessageBox.Show(ex.Message)
End Try

End Sub