Good Bye Visual Studio Installer Projects

December 27, 2012 2 comments

As Microsoft had announced on 2010 , Visual Studio Installer Projects have been removed with latest Visual studio release. (VS 2012).  Recently i was trying to convert our existing VS 2010 solution to vs 2012, got the problem. All the other projects on the solutions were converted successfully and Setup project gave error as project type not installed. At first i thought that i have to create all the setup project from the beginning.  But with few steps, could convert all to ‘InstallShield Limited Edition’ projects.

  1. InstallShield Limited Edition is not installing when we install VS 2012. (I am not sure with other versions, but i use VS 2012 ultimate and it didn’t had InstallShield Limited Edition installed)
  2. Even after installing InstallShield Limited Edition, those setup project will not convert by opening it. (which i thought that way would work)
  3. First open the Vs 2010 solution with VS 2012, it converts all other projects with error of setup project cannot convert.
  4. Remove existing setup project from solution.
  5. open add new project dialog for solution. select the ‘Other project type’ and select the ‘InstallShield Limited Edition Project’
  6. It should not be installed if you didn’t install it previously. so when you try to open the project it will show a message on browser to download the InstallShield Limited Edition
  7. Follow the instruction and download the InstallShield setup. they will send the key to activate to entered email address.
  8. After install, you might have to restart the VS. enter received serial no and activate
  9. Now same as step 5, add InstallShield setup project and on the InstallShield menu on main menu, select ‘Visual Studio Deployment Project Import Wizard…’
  10. Select your vs 2010 setup project file.  Hopefully it will convert without error. i didn’t had to do any changes on converted project.

 

Advertisements

How to avoid ‘WebForms.PageRequestManagerServerErrorException’ error

December 9, 2012 Leave a comment

This error i got suddenly, when i use partial post back to server on Asp.net aspx page. this page was working perfectly for months and today only i got this.  After looking into this sometime, only thing has changed here is now i have more data on the page.  But there is no way to catch the error and visual studio is returning this error when i click any control on the page.

WebForms.PageRequestManagerServerErrorException

When i look on the windows event log, exception was logged there as,

Operation is not valid due to the current state of the object.
at System.Web.HttpValueCollection.ThrowIfMaxHttpCollectionKeysExceeded()
at System.Web.HttpValueCollection.FillFromEncodedBytes(Byte[] bytes, Encoding encoding)
at System.Web.HttpRequest.FillInFormCollection()

What has happen was because of more data on the page, It is generating  “ThrowIfMaxHttpCollectionKeysExceeded” error.

To overcome this issue you have to add following key to web.config as follows,

<appsettings>
   <add key=”aspnet:MaxHttpCollectionKeys” value=”2000″></add>
</appsettings>

P/S : After looking into this issue on the web, i found this information,

 Microsoft released a security update KB2656356 / MS11-100 for ASP.NET to address a potential Denial of Service vulnerability.  In the update, Microsoft introduced a limit to the number of data elements on an ASP.NET form.   The default limit is 1000 data elements.   Exceeding the limit will cause a ThrowIfMaxHttpCollectionKeysExceeded error.

After applying the patch to your webserver, forms that exceed the limit will generate the following error when posting:

Categories: Career, Technical

Programming in HTML5 with JavaScript and CSS3 (Exam 70-480)

November 27, 2012 Leave a comment
If you are interested to complete above mentioned exam, this is good chance.   is offering a free exam voucher for this. Bellow i have added the voucher code and some information.  you can go to their web site and get more information if needed.
FREE EXAM VOUCHER FOR 70-480! | Register now to take Exam 70-480 Programming in HTML5 with JavaScript and CSS3 for FREE! Just use this voucher code when scheduling your exam: HTMLJMP (voucher code available through 3/31/2013 or while supplies last.)
This is very latest exam which was published on august. So cannot find much resources and even still microsoft have not provided official book for this exam .(according to my knowledge) but most of people using “Microsoft_Press_eBook_Programming_Windows_8_Apps_with_HTML_CSS_and_JavaScript_Second_Preview_PDF” ebook and Pluralsight Videos.
I have gone through some of the available materials, seems to be very interesting because HTML 5 is new trend on the industry.  I will list some other links, which i am referring.  Go through those and register for the exam if you are interested.

What’s New in Visual Studio TFS 2012

September 9, 2012 Leave a comment

While playing with new TFS which comes with visual studio 2012, i got to know that it is now having more support for agile methodologies.  Rather writing my own post about new TFS 2012, i found a very good and organized article, which describe everything with TFS 2012.

http://mohamedradwan.wordpress.com/2012/05/30/whats-new-in-tfs-2012-management-tool/

Before buy it, you can try it with http://tfspreview.com/ . Site itself explaining new features and how to use it. i created test project under TFS Preview, created few test tasks, added few classes on VS under that task, used code review, TRIED with creating with build. Just simple test. but feel new TFS is awesome.

Windows 8

September 8, 2012 Leave a comment

I was using win 8, when they released first developer preview and uninstalled it after few weeks. Reason was it had to be improved lot. lack of usability, poor performance (even though it boot up within few seconds), etc.

recently i had to install Win 8 again for the ‘Win 8 Boot camp’ and used final release of it. (windows_8_x64) Well.. happy to say there is nothing to complain for me. it is awesome. Super fast. (i heard Microsoft rewrote the OS completely). And i was warring about removing the start button. But now i feel it is good change.  Just think how many of you guys use Start menu and go to relevant program and click it.  i have not done this for years. what i really do is click start menu and type the first few letters of what i want to open and press enter. And mostly  used apps like ‘VS’, ‘Chrome’, ‘SQL management studio’, ‘media player’ are already pinned on task bar. So no need to gor for start button. This is the reason they have removed start button and menu. So for me it is good change.

It is true that it is better with touch screen. But still without touch screen, it is not much different and not difficult to use.

There are several improvement i noticed compared to previous version of windows OS. Most of them were already available on Phones.

1. Windows Store – Similar to app store and google play

2. User login – this is bit similar to Android phones login. same as it ask for google account, Win 8 is asking microsoft user login (may be it can skip and use normal user login and password, i used my outlook login). after that same as latest smart phone works, win 8 is syncing with entered login (and if we link FB, G+,.. it will sync those all) and collecting all the contact. Those will display on people app.

3. Improvement on windows explore

4. Reset option

5. Short boot time

6. Changed task manager

I feel that future OS are more focusing in to mobile devices. Currently i am writing my first test App for win 8.

In to Thirties

September 1, 2012 Leave a comment

It is 30th birth day of myself. Not like any other birthdays or any other life events i passed, i am feeling about my parents today.

How many things they have done, they have compromise for me for these 30 years. Actually that is what they still do. (Letting their children to go away for their good, without saying any single word is the best sacrifice a parent can do, as i think).  Sometimes that sannasgala’s famous article about his mother is coming in to mind. As he explained, is this the ‘Missing time’ of anyone’s life. According to my knowledge, only what they want is been with their children. hmmmm

The idea of this post is to say

Amme, Thaththe….

I,m glad that you both are the best parent in the world i could have,   If i have succeeded in any thing i have done during last 30 years, it is all because of you and your support, kindness, patience, guidance , understanding (very specially). I am really sorry for not been with you and at least not been able to stay in the country where you are. I know, it is unfair to say “Thank you” for the effort you put to grown me up to 30 years. But… Thank you for been my parents and taking care of myself this far and expecting to be taken care of you two as your “Chooty Putha“, every day…’

 

 

 

Categories: Personal Tags: ,

Error 1001 while uninstalling/reinstalling Windows service

This is a good tool to resolve ‘Error1001  An exception occurred  while uninstalling. etc…  install/un-install issue’. i got this while trying to re install a windows service and even reboot the system does not solve the problem.

what you have to do is just download the tool, run and follow the instructions. it worked for me.

http://support.microsoft.com/mats/Program_Install_and_Uninstall

 

 

Categories: Software, Technical