Friday, May 13, 2011

About Devenv /ResetSkipPkgs cmd

Well, After couple of days, back with one small information (but for me it's big matter), 
Coming to the topic..
I am working on one application which is in VS2008 and FW 3.5, all of sudden my laptop got many conflicts and could not able to open VS2005 TFS and 2008 application, while opening the 2008 application it's showing ' can't open the .csproj file...etc like that' and showing some error messages like 'package loading is failed..' like that which seems irrelevant to me , as i had worked before on 2008 application with the same system. Could not get the exact reason, uninstalled the framework 3.5 and VS 2008 and installed again. But no luck. Irritated, after couple of hours google help i got one command to execute at run prompt 'Devenv /ResetSkipPkgs' , surprisingly it works for me. After executing this command i could able to open my VS 2008 solution. Immediately i am putting information here hoping that will helpful to some one. (Just thinking  if there is no google how would be our situation ???)

Then started searching about this command Devenv /ResetSkipPkgs,

whats exactly its doing ?  It clears all SkipLoading tags added to VS Packages by users wishing to avoid loading problem VSPackages. Because of any improper installations or if any internal visual studio packages are got conflicted it failed to load the packages. And it could be cause for improper projects loading during open. In order to avoid this kind of problems. It just needs to re-enable package loading. So this command will re-enable every disabled/problem package.

See you with another information.


Thanks and Regards,
Ravikiran


Wednesday, May 4, 2011

LINQ Introduction Tutorial URL Sharing.

Learning LINQ, just watched one video for basics, its good. Thought of sharing. 
Though all can get from google, just it could be a quick reference for who are searching.
http://www.asp.net/linq/videos/how-do-i-get-started-with-linq




Ravikiran

Tuesday, May 3, 2011

About MySql Connector/NET

Well, I recently came across about 'MySQL Connector', thought to share this one also as my second technical blog. Basically i am in .Net technology now, probably many of my articles will be related to this only.

Let come to our today topic :
Generally the connector enables us to easily communicate between front end languages and back end data bases. For .net technologies we know it has Microsoft's own  connector procedures ADO.Net which can be act as a interface between .net (C#,VB.Net...etc) and its own data base SQL server. Here we don't bother about any additional drivers installation. Most common all .net projects are having SQL Server as data base. Not all, some .Net applications are communicating to
Oracle and MySQL also. In this kind of heterogeneous communication it needs an interface/driver to communicate front end languages to back end data base.  Assuming MySQL has a back end, it needs driver/connector called MySQL Connector to communicate. As MySQL connector here talking as a interface to .Net framework it used to call MySQL Connector/Net. And this connector/NET is fully managed ADO.Net driver which was written in C# only.
 
Recently i was working one application where front end is C#.Net and back end is MySQL.
When i was debugging the application i was getting errors as its unable to retrieve some data from data base , Infact there was no communication to data base. As i am a typical .net guy with traditional ADO.Net and SQL Server programmer, did not think about any drivers or interface. 
After couple of hours research finally came to know MySQL Connector has to be installed.

And versions information and all other relative information can be found at
http://dev.mysql.com/doc/refman/5.0/en/connector-net.html

Have fun.

Thanks,
Ravikiran








Monday, May 2, 2011

Finding the machine/system name with IP address

Welcome back, 
The information which i am updating at this moment, what i am learning in my day to day tasks.
Some of the things seem to be basics and known to all, but rewinding basics is not a bad thought, Is isn't?That's Good. 

Before going to my actual content for the day, thought to tell some thing. Some times motivation can come from surroundings, people, movies, videos...etc. But my actual inspiration to start my blog came from two sources one is   'abhijit jana'  , a .net specialist and the author of his own life and owner of great .net technical blog http://abhijitjana.net/ .  When ever i do browsing definitely i open this blog. The way he explains and works at article narration simply awesome. Luckily i met him when i was working in Noida he was my fellow team member for another project.  Now i suppose he is with Microsoft.

Second person is my technical manager who is  'thirst for knowledge', in this position and time also  i was wondering about him and the dedication he is having.  He knows in and out of all. By seeing all these kind of people i really wanted to do improve my self (Hope, some body may write my name in their articles as i am their inspiration,  Just kidding).

Let come to today's information, I would like to share one general DOS command to know the machine/system name with IP address.

Command :   
 nbtstat -a <IP Address>

Eg:    nbtstat -a 1.2.3.4
Sample out will be as follows,

VMware Network Adapter VMnet8:
Node IpAddress: [1.2.3.4] Scope Id:
VMware Network Adapter VMnet1:
Node IpAddress: [1.2.3.4] Scope Id: 

    NetBIOS Remote Machine Name Tabl

       Name               Type         Stat
    ---------------------------------------
    RAVI-PC        <20>  UNIQUE      Regist
    RAVI-PC        <00>  UNIQUE      Regist
    WORKGROUP      <00>  GROUP       Regist
    WORKGROUP      <1E>  GROUP       Regist

    MAC Address = < >

Wireless Network Connection:
Node Ip Address: [ ] Scope Id: []
Actually in one of my application which i am working wanted to know the machine name with the help of IP address for some particular configuration setting. It helped me to find out.  Hope it may helpful to some one.

Have  fun..

Thanks & Regards,
Ravikiran

Sunday, May 1, 2011

My First Blog

Feel happy to start my first blog . I wish could continue my blog to explore new-things and as well to share. 
I thought to share what i am learning in all aspects in my day to day life.....
All,  wish me good luck to my new way towards beautiful life.

Thanks,
Ravikiran