As Part of MSDN Webcast series today i hosted my third webcast on “ Unit Testing Databases Using VSTS DB Edition”.
you can download my presentation from following link…
As Part of MSDN Webcast series today i hosted my third webcast on “ Unit Testing Databases Using VSTS DB Edition”.
you can download my presentation from following link…
It now more than a month Microsoft announced CTP of SQL Azure… SQL Azure a service to host full RDBMS database on Cloud. currently this service is available as CTP, so have very limited access and less features, but still it is a SQL server running there at cloud and very soon we can expect all SQL server features on SQL Azure.
Today when i started working on it, the best thing i found in it is, “you can access SQL Azure from your machine using your favorite SQL IDE tool, i.e. “SQL Server Management Studio 2008”.
But very first time when i tried to access it, i got a nice error but thanks to my friend Jacob, he redirected to me to a site where that author mentioned a small but funny trick to use it.
so what i did -
I simply open SQL Server management studio 2008 from start menu, I entered full server name as “servername.ctp.database.windows.net”, my login name and password. and said connect. a simple and standard process which we follow every time to access SQL Server database.
this Error saying “Invalid Object name sys.configurations. (Microsoft SQL Server Error: 208)”
now how to connect to SQL Azure, i asked one of my friend Jacob who is a SQL MVP, and thanks to him he redirected me to a nice site where athlete gave one funny trick to make it work.
basically what you have to do is when you start SQL Server Management studio it prompt you a Connect to Server Windows (like this)
Now don’t Enter SQL Azure server name and login details here… simply say cancel
and now say “New Query” it will again open a similar windows like previous one. now click on option button.
Now at login tab enter full server name, then select authentication type as SQL Authentication as SQL Azure only support SQL authentication and the Enter you login and password.
after this move to connection Properties Tab and Enter Database name which you created at SLQ Azure portal http://sql.azure.com
Please note this is important to enter this name as, SQL Azure don't allow you to connect Server, it allow you to connect to Database.
after your enter database name them simply click “connect”
if everything goes right then you will prompted with following error message
“Unable to apply connection settings, The detailed error message is “ANSI_NULLS” is not a recognized SET option.
don't worry about this error, simply click “OK” .
Now you are ready to run your queries. try and Enjoy SQL Azure.
New version (0.1.1) of SQL Azure Explorer, an Add-in for VS2010 has been released with better UI performance
you can download new build at http://sqlazureexplorer.codeplex.com/
some of features mentioned on CodePlex site about SQL Azure Explore
(TechStart: Microsoft Windows Azure Training Program )
This article explain you about installing and configuring your machine for Windows Azure development. I was preparing a help file for TechStart-windows Azure Program students so that they can prepare their PCs/Laptops for windows Azure development on their own, same article am sharing with you all. please note this document was written for students.
I will be publishing this in 3 separate posts, first for beginners where we will start from installing windows vista, VS, SP1, SQL Server , KB patches , Azure SDK etc. later on second post for Windows 7 with VS 2008 and third one for all OS and VS versions.
now lets start with first one - fresh installation on vista machine. I assume that you have a good configuration machine / laptop with at least 1 GB of RAM.
so lets make a list of all required software
that's all what you need to keep ready before you start preparing your machine.
so very Important thing is we are going to do a fresh installation of Windows Vista, either on your default C drive or on another drive of your hard disk. so before we start take a backup of your data on external device or another drive of your disk.
Installing Windows Vista
Now Put Windows vista DVD in your DVD ROM and reboot your machine from DVD. it will automatically start the Windows vista setup from DVD. Ref following screen. if you don't know about operating system installation then you can read more detail steps about how to Install windows vista at http://support.microsoft.com/kb/918884
follow the instructions in setup wizard carefully and complete the installation. It may take around 30 minutes (depend of your machine configuration) and on completion it will display login screen. ( Ref. following ) which means you can done with Vista installation.
now provide the password and enter into the system.
after that Next step is install Windows Vista Service pack 1.
after installing Service Pack 1 it may ask you for reboot the system. reboot the system to complete the installation.
ones you are done with Service Pack installation then next step is
Enable IIS7 with ASP.NET and WCF HTTP Activation
start -> Control Panel -> Programs -> Click on Turn windows feature on or Off. it will show a security confirmation window , say Continue to that. it will open another windows just like this.
Under Microsoft .NET Framework 3.0, select Windows Communication Foundation HTTP Activation.
Under Internet Information Services, expand World Wide Web Services, then Application Development Features, then select ASP.NET and CGI.
then click ok to Install the selected features.
Next step is Installing Visual Studio 2008 and SQL Server
Put Visual Studio 2008 DVD (Professional edition Trial DVD) in DVD Rom and start the setup. follow the wizard to complete the setup.
(Note: as I am using Team System edition it shows Team system, following screens may differ depend on your Visual studio 2008 edition.)
it will complete installation of Visual Studio 2008 and SQL Server 2005 Express edition.
if you noticed in above screen that Microsoft SQL Server 2005 Express edition is selected by default, so Now you don't need to to install it separately on your machine, only if you are installing Visual Studio Web developer Express edition then only you need to install SQL Server Express edition separately.
ones you are done with Visual Studio 2008 Professional edition Trial or Visual studio visual web developer express edition then start installing Service Pack 1 for Visual Studio 2008.
many times this take more than 30 minutes, so sit back and have some snacks :)
after installation of SP1 for VS2008, time to install some important Hot fix for Vista and VS2008
Install the Hotfix: Native Debugging Improvements (KB967631 - update for VS2008 SP1 debugger)
Install the Hotfix: Support for FastCGI on the Development Fabric (KB967131 - Update for Windows Vista)
Install the Hotfix: Improve Visual Studio Stability (KB963676)
after installing Hotfix for windows vista it will ask you for reboot, reboot the system.
Now system is Ready to install Azure SDK and its tools for VS. since we downloaded Windows Azure Tools for Microsoft Visual Studio July 2009 CTP, we DO NOT NEED to download and install Azure SDK July CTP separately. SDK is part of same installer.
installing Windows Azure Tools for Microsoft Visual Studio July 2009 CTP
ones setup complete open Visual studio 2008 from start menu, go to new project and check if Cloud service template is available or not, if its available then you are done with your installation and ready for Azure development. now how to write hello word program that we are going to see in our first lecture. till that you can go through http://www.azure.com and read about azure development.
If you are using MS SQL Server 2005 standard edition or enterprise edition this remote connection feature is enabled by default but for SQL Server Express edition by default this feature is disabled , if your application need to connect SQL server express database remotely then you need to enable remote connection manually, here are those 8 simple steps to enable the feature and allow you application to connect remotely
1. Go to start menu, browse to Microsoft SQL Server 2005 – > Configuration Tools –> and open SQL Sever Surface Area Configuration
2. Click on “Surface Area Configuration for Services and connections”
3. Select “Remote Connection” , you can see there the option “Local connection only” selected as default selection.
4. change this to Local and Remote connections.
5. it will show you a message windows indicating that this change need SQL Server restart. say “OK”
6. now again Browse to main menu-> Microsoft SQL Server 2005 –> Configuration Tools-> and select SQL Server Configuration Manager
7. In SQL Server Configuration Manager Select Protocols for SQLEXPRESS and double click on TCPIP Protocol.
8. Open IP Address Tag in IP One set Enabled as ‘Yes’, enter IP of you machine in IP1, and select TCP Port as 1433 ( you may use other port, 1433 is default port on which SQL Server communicates") in all IP section you can set same port no as 1433. ( no need to set dynamic port values, leave them with default values)
Click Apply and then ok, you are done with settings, now in SQL SERVR 2005 Services node right click on SQLEXPRESS and say restart to restart SQLEXPRESS Service.
Now from remote machine simply Enter IP address of this machine on which you did above configuration as a Server name, you don't need to specify instance name if it is default instance. Enter SQL Server Login name and password to connect to database.
On October 17th, Microsoft SQL Server 2008 Report Builder 2.0 was released as part of the SQL Server 2008 Feature Pack.
Microsoft SQL Server 2008 Report Builder 2.0 provides an intuitive report authoring environment for business and power users. It supports the full capabilities of SQL Server 2008 Reporting Services. including:
The download provides a stand-alone installer for Report Builder 2.0
Download here: http://www.microsoft.com/downloads/details.aspx?FamilyID=9f783224-9871-4eea-b1d5-f3140a253db6
Source: www.microsoft.com