Tuesday, July 6, 2010

Windows 7 MKS ( Shell Scripting Issue )

Problems with MKS

Was spending time for running an existing script on windows 7


Its keep on prompting

C:\PROGRA~1\MKSTOO~1\mksnt

save: fork_level=1 SetHandleInformation() failed: fd 0 handle 0x3 type 2: The parameter is incorrect

It was a strange time to understand what is the exact problem with the parameter , tried a lot in net for getting a solution http://social.technet.microsoft.com/Forums/en-US/w7itproappcompat/thread/e6b9888b-1340-4e4e-96d1-2a9900649f69

Then started executing the shell script on MKS Rootdir ,some of the files got executed , still the actual files prompting the parameter issue

tried on mks tool kit site , so concluded that I may happening because of the exe which i installed on windows 7 .

Requested for new activation key for the version MKS 9.4 , it started executing the scripts :)

Thursday, June 17, 2010

Did You Tried Connecting with SQL2008?

Visual Studio 2008 and Visual Studio 2005 provide many tools to allow developers to more easily take advantage of many of these features. However, since these versions of Visual Studio were released before SQL Server 2008, the design-time tools cannot interact with SQL Server 2008
it is possible to programmatically access the data in a SQL Server 2008 database from applications written with Visual Studio 2008 or 2005. Microsoft will be releasing a set of updates for these versions of Visual Studio in order to enable the Visual Studio tools to connect and interact with SQL Server 2008

Connecting Existing Applications to SQL Server 2008
Before describing the updates to Visual Studio 2005 and Visual Studio 2008, and the functionality that they enable, it should be emphasized that existing ADO.NET applications that work against SQL Server 2005 can easily connect to SQL Server 2008, without the need for any updates. No changes need to be made to the connection string – all you need to do is to change the server name to the name of your SQL Server 2008 database server.

Visual Studio 2005
Even before applying the SQL Server 2008 support update, applications written with Visual Studio 2005 can programmatically connect to and access a SQL Server 2008 database. However, while this is an important element of a strategy to migrate an application from SQL Server 2005 to SQL Server 2008, such applications cannot take advantage of any of the new SQL Server 2008 data types from within the Visual Studio 2005 design-time tools. Once the SQL Server 2008 support CTP update has been applied to Visual Studio 2005, the Visual Studio Server Explorer, DataSet Designer, and other design-time tools can view and edit SQL Server 2008 database objects. However, the viewing, creation, and/or editing of table schemas will not be supported. It is recommended that developers use SQL Server Management Studio 2008 to create or modify the schema of tables in their SQL Server 2008 database(s).
The SQL Server 2008 support update CTP for Visual Studio 2005 can be downloaded from:
http://www.microsoft.com/downloads/details.aspx?FamilyID=e1109aef-1aa2-408d-aa0f-9df094f993bf

Visual Studio 2008
Note:
The SQL Server 2008 support update CTP for Visual Studio 2008 is no longer available. SQL Server 2008 support is available in Visual Studio 2008 Service Pack 1. For more information, see Visual Studio 2008 Service Pack 1.
Once the Visual Studio 2008 version of the SQL Server 2008 support CTP update has been applied to Visual Studio 2008, it will support the same features as described above for Visual Studio 2005 with its update applied This means that Visual Studio 2008 with the SQL Server 2008 support CTP update

Reference : http://msdn.microsoft.com/en-us/library/cc440724.aspx