Pages

Friday, June 27, 2014

Step by Step installation to install report builder 3.0 for sql server 2014




Uninstall the standalone version of Report Builder


To uninstall the standalone version of the Report Builder  ...
  • Navigate to Control Panel->Add/Remove Programs.
  • Do a quick search for the Report builder and select the report builder to highlight the uninstall option as shown below.
  • Click the uninstall button.
  • Confirm the uninstall by pressing Yes in the pop up box as shown below .This will uninstall the tool completely.


Friday, May 23, 2014

The prefix "util" for element "util:set" is not bound.



If you get the following error in while executing a Spring program.Following are the steps to resolve it.

Add the namespaces (the ones that are highlighted below in your spring configuration file)

<beans xmlns="http://www.springframework.org/schema/beans"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"   xmlns:util="http://www.springframework.org/schema/util"
  xsi:schemaLocation="http://www.springframework.org/schema/beans
  http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
  http://www.springframework.org/schema/util
  http://www.springframework.org/schema/util/spring-util-2.5.xsd">

This will resolve the issue
    public class HelloWorld {
       private String message;
     
       public void setMessage(String message){
          this.message  = message;
       }
     
       public void getMessage(){
          System.out.println("Your Message : " + message);
       }
    }



How to install adventureworks2012 database



  • Download the zip file at link.

Unzip the folder .The folder contains  two files with .mdf and .ldf extension.Login to SQL Server using the management studio.Right click on the databases and select Attach.It opens a dialog box as shown below.



Click on the ADD button of the dialog box and give the path of the mdf file . Click OK . The mdf file gets attached. Click OK to close the dialog box as shown in the below.

Below is the screenshot after the database gets sucessfully attached.



Wednesday, May 21, 2014

How to create a java project in eclipse




  • Create a java project by selecting File->New->Java Project.It opens a window as shown below.
  • Fill in the name of the project and the location (if you want to change)



  • Click on Next and then Click on Finish .If it asks for perspective change click on yes.This creates the HelloWorldSpring  java project.

Set the libraries:

Configure the build path.To do this,go to package explorer view ,right click on the project ,select build path  ->Configure Build path->select Libraries tab and select add external jars.





Monday, April 7, 2014

How to display line numbers in visual studio






  • Click on Tools tab and click on options .It opens a window.
  • Expand the text editor node and select the language(For Ex:C#) for which the line numbers have to be displayed or select All languages if you want to apply the settings to all of the languages .
  • I wanted to change it for C# so expanded C# node and clicked on General. Check the line numbers option and click OK as shown in the below screenshot.


Saturday, April 5, 2014

eclipse installed but cannot start java returned exit-code = 1



I have got this error in the Android Sdk .The following Fix worked for me.

Edit the eclipse.ini file .Point the vm to the correct jdk.In my system i had two versions of jdk installed. I have pointed it to the initial installed version. Please see the highlighted code in the below screenshot.