Quantcast
Browsing all 54 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

SSRS Report – Matrix Only Show Footer and Header On First Page

If footer is in a square box, make the square box visibility properties as like this:   =iif(Globals!PageNumber = 1, FALSE, TRUE) If all controls are not inside the square box, male all indivisual...

View Article


Image may be NSFW.
Clik here to view.

VS2013 An exception occurred while initializing the database

I’m doing a code first Entity database {“An exception occurred while initializing the database. See the InnerException for details.”} It was working fine, but I decided to delete the physical database...

View Article


Image may be NSFW.
Clik here to view.

MS SQL add Update Statistics job (Schedule) to get better performance (...

/****** Object: Job [Update CRM Statistics] Script Date: 05/01/2017 09:43:42 ******/ BEGIN TRANSACTION DECLARE @ReturnCode INT SELECT @ReturnCode = 0 /****** Object: JobCategory [[Uncategorized...

View Article

Image may be NSFW.
Clik here to view.

Update Statistics Manually. Re-indexing manually

DECLARE @tablename varchar(80),@shemaname varchar(80) DECLARE @SQL AS NVARCHAR(200) DECLARE TblName_cursor CURSOR FOR SELECT t.name,s.name FROM sys.tables t join sys.schemas s on...

View Article

Image may be NSFW.
Clik here to view.

List all SSRS subscriptions

USE [ReportServer];  -- You may change the database name.  GO    SELECT USR.UserName AS SubscriptionOwner        ,SUB.ModifiedDate        ,SUB.[Description]        ,SUB.EventType...

View Article


Image may be NSFW.
Clik here to view.

SSRS: Repeat rows of a table, if they break across a page

how to repeat rows of a table, if they break across a page.  In the grouping section/pane, turn on advanced, so you can see the static lines: When you select one of those, you will see the border...

View Article

Image may be NSFW.
Clik here to view.

Protected: Rebuilding Indexes using the SSMS Database Maintenance Wizard

This post is password protected. You must visit the website and enter the password to continue reading.

View Article

Image may be NSFW.
Clik here to view.

Rebuilding Indexes using the SSMS Database Maintenance Wizard

Usually I do all 3 job under one single task but with separate schedule for each of them:   Reorganize_Index Rebuild_Index Update_Statistics   Details can be found here:...

View Article


Image may be NSFW.
Clik here to view.

Select backlog navigation levels for your team in Visual Studio Team Service

  From your team’s backlog page, click the  (gear icon) to open the common configuration team settings. Click the Backlogs tab and check the boxes of those backlog levels you want your team to manage....

View Article


Image may be NSFW.
Clik here to view.

Error TS2415 Class ‘Subject’ incorrectly extends base class ‘Observable’.

After you setup angularjs 2 in your visual studio 2015, if you get this error:   Severity Code Description Project File Line Suppression StateSeverity Code Description Project File Line Suppression...

View Article

Publish API Web Service to IIS using VS2015

View Article

How to set .net Framework 4.5 version in IIS 7 application pool

Go to “Run” and execute this: %windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -ir NOTE: run as administrator.

View Article

WPF C# Make ListBox items have a different value than item text

In XAML : <ListBox x:Name=”lstboxCabinet” HorizontalAlignment=”Center” Height=”156″ Margin=”58,68,530,0″ VerticalAlignment=”Top” Width=”426″ DisplayMemberPath=”Text” ItemsSource=”{Binding}”...

View Article


Image may be NSFW.
Clik here to view.

Create Simple Windows Service And Setup Project With Installation

Create Simple Window Service Open Visual Studio 10 then go to File > New > Project. That will open a dialog box for a new project then select “Window Service” and click on the OK button. After...

View Article

Get the column value of the selected row in wpf listview

<TabItem x:Name="HistoryTab" Header="History" Style="{StaticResource TabStyle}"> <Grid> <ListView x:Name="HistoryTabLv" HorizontalAlignment="Left" Height="164" Width="275"...

View Article


Angular Cli base href

To change base href from root folder to a subfolder:   In root level index.html change <base href=”/MFGlist/”> Run the project using this command: ng serve -o –base-href /MFGlist/

View Article

Image may be NSFW.
Clik here to view.

Deploy angular Cli app to IIS

If not installed, install urlrewrite for IIS from here: https://www.iis.net/downloads/microsoft/url-rewrite You may need to reboot your computer. step 1: Build angular application Option 1: If you want...

View Article


Image may be NSFW.
Clik here to view.

deploy web service to IIS

Build your VS solution and copy the published files to a specific folder. and add a new website in IIS and set the destination to that folder Change connect as your authentication details to that...

View Article

Angular CLI create new component command

ng g c employees/listEmployees –spec false –flat true   this will create all required component inside the employees folder.

View Article

Delete duplicate records in SQL Server?

Use this script at you own risk. I am not responsible for any accidental mass amount of your data get deleted. Always use begin tran and rollback tran to make sure you know what are you deleting....

View Article
Browsing all 54 articles
Browse latest View live