Monday, December 07, 2009

Now a Certified Scrum Master

Recently went Though the Certified Scrum Master Course and took up the Exam as well..

Now a Certified Scrum Master!!!

Sunday, July 12, 2009

Silverlight :Expander within AccordianItem with a theme Applied: sys.InvalidOperationException : AG_E_UNKOWN_ERROR

my team was working in a XAML where we need to add themes to a accordian items when there was Expander controls within the accordian..

whenever we applied themes to this partucular xaml we came across an err like :

sys.InvalidOperationException : AG_E_UNKOWN_ERR

Initially i thoughought this was a Silverlight 2.0 errr....but then started to see why this err occurs and jumped in to my task getting to the core of the xaml, removing controls one by one untill the issue was kicked off...

1. removed most of the controls in the xaml, and holded only the err prone controls.
2. removed the themes first - it worked.
3. added themes - err reproduced.

then thought of havinng the round abouts of making the controls invisible in the XAML And then make them visible during the run time in the C# code.

I drilled down and saw that Expanders inside the accordian got the errs when themes were applied.

i made the expander Visibility="Collapsed" and then in code behind made the visibility of the expanders

Now the err was not appearing ....this is one way of approach to remove errrs when we apply themes for expanders inside the accoridians in Silverlight

,,,
Senthil

Thursday, June 18, 2009

ms build missing reference

After my previous post of adding the explict declaration of the project dependencies ,there was one instance where the same problem was existing.

So this tiime i manually removed the reference of the dll, and then added again...it workd in all instances after this step.


So 2 ways here:
1. Either manually removing the dll ref's and adding again.
2. giveing the explicit declaration in the sln file as like the previous post will help!

Thanks
Senthil

Wednesday, June 10, 2009

msbuild missing reference ,msbuild wrong build order

MSbuild incorrect Build order ?

MSbuild reference missing Dll's ?

when we come across these kind of situations , the probable reason could be that the build order in VS2008 is different from the build oder which msbuild uses.

VS uses a build order and passes the same to msbuild. BUt when u directly call msbuild to build, there could be difference in the build order of the projects.

To over come the missing references in Msbuild and Build order add the below section to the *.sln file.
ProjectSection(ProjectDependencies) = postProject section

ex:

if there is Project B which is referecning Project A , and if Project B gets built without A then add the below :


Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "projA", "ProjA.vsproj", "{AAAAAA-F34D-430J-7C4-12343545G}"
EndProject

Project("{9BK9CEB8-123B-11DP-(8JU9-8989VC91BNJUI}") = "projB", "projB.vsproj", "{XY7HJ3D1-E2JU-41G7-HUA6-1E2556YUIA26}"
ProjectSection(ProjectDependencies) = postProject
{AAAAAA-F34D-430J-7C4-12343545G} = {AAAAAA-F34D-430J-7C4-12343545G}
EndProjectSection
EndProject

Thursday, April 09, 2009

RIA .Net Services Download Location

The RIA .Net Services can be downloaded @:

http://www.microsoft.com/downloads/details.aspx?FamilyID=76bb3a07-3846-4564-b0c3-27972bcaabce&displaylang=en

Friday, April 03, 2009

devenv.exe/installvstemplates - Missing the templates?

Today i came across a rare situation where i was installing/ uninstalling few visual studio pluggins, i was not able to see any of the Visual studio project templates.

When you are trying to create a new project and When u do not see the VS2008 templates getting loaded ,just perform the below actions:

1. Event log: check in the events log under the Application section if u see any errors.Check if there are erros and says to run devenv.exe/installvstemplates.

2. Now do not run the devenv.exe/installvstemplates.

3. Delete the itemcache folders under :Program Files\Microsoft Visual Studio 9.0\Common7\IDE

4. now open the vs command prompt and run devenv.exe/installvstemplates.

5. at this point the different project templates should be appearing.

Wednesday, April 01, 2009

Silverlight Client Framework- PRISM2

Recently started a new project in Silverlight and was looking for the same kind of CAB which was available in WPF.

For silverlight the client framework is named as : PRISM2.

PRISM 2 get started tutorials here.


The CAB Samples can be found here.

Sunday, March 01, 2009

WCF - Error in Accessing a IIS hosted svc

hi ,

WCF hosting -- First err...

I started with my WCF Project and the first err got was that when *.svc was asccessed in webpage the err was like:
"A Name was Started with Invalid character..<'%' "..

Tips to trouble shoot this err:

1. Check if u Have .svc extensions in IIS.check if this points to the aspnet_isapi.dll.

if not brwose for the location of aspnet_isapi.dll.

2. Still if u get the errr check if u have already ran servicemodelreg.exe which can be found under c:\
\microsoft .Net\framework\version\v3.0\wcf\. run this exe in the command prompt with the -i option.

3. restart the IIS once.

4. browse your WCF -- *.SVC location now , ur svc will now be available.

Sunday, February 08, 2009

Errors During VS2005 Installations & Uninstallations

Recently came across this task of Uninstalling and Installing VS2005. few of the errs took somne time for me to investigate.
All the errs are documented here which will save time for someone who reads this..

Errors occuring with VS2005 Uninstallations and Installations:

Recently i went through lots errors with VS2005 uninstall and trying to install again.

Brief:
The need for me to uninstall Vs205 was to move the install location from C drive to D Drive. to get more additional space in C Drive..:)
The uninstall was very smooth.
After that when i was in the install process i got the below scenarios:

1. VS2005 install package gets the list of items to be installed.

2. Completes Dotnet 2.0 install and when VS2005 part is in middle , start to get an error.

3. But even with an error in the vs2005 install part , the install pgm continues for the next item to get installed.

4. once i get a Installation Completed Successfully message , i tried to Open VS2005 IDE , it vanishes.

5. So i uninstalled once again , install again with an err and tried to open My ide, but this time it was asking for the Default


So my uninstall and install of VS2005 went for 10 times or so.
Digged more in to this problem.
when looking in to the Event Viewers the msgs were like:
1. .NET Runtime version 2.0.50727.42 - Fatal Execution Engine Error (7C81EB33) (800703e9)

So Googled more in this problem also after a uninstall of VS2005 i manually deleted all the files of VS2005 in my C drive and also in my D drive.
here is a Point : VS2005 stores its IDE settings in a *.VSSettings file. This will be located in

C:\Documents and Settings\$Your Logged in Prfoile Name $\My Documents\Visual Studio 2005\Settings

I also removed this file also in my machine.

This is the file which is used by VS2005 IDE to open up with the existing settings.
I also ran this command in my machine: devenv\reset cmd.
So after all my manual deletions of VS2005 related i installed once again. This time it asked for the default language to be selected.
and now there was a New direction to my Problem.

Previously in my machine i had all the workflow foundations loaded, and the previous VS2005 was loading with this. also i had Ajax in my machine.
So my current IDE was trying to load Workflow foundations, and Ajax.
The below errs occured:

Package Load Failure
Package 'Microsoft.workflow.VsDesigner.DesignPackage,Microsoft.workflow.VsDesigner,Versopm = 3.0.0.0,Culture=neutral,....Had failed to load Properly.

Please contact Package vendor for assistance.application restart is recommended , due to

Possible environment corruption.Would you like to disable loading this package i future?

You may use 'devenv'resetskippkgs' to re-enable package lodaing.
Package Load Failure:

Pcakage 'Microsoft.web.AjaxExtension.....has failed to load properly. Please contact package vendor for assistance.

Application restart is recommended , due to possible environment corruption. Would

Would you like to disable loading this package i future?

You may use 'devenv'resetskippkgs' to re-enable package lodaing.


After uninstalling all the workflow foundation related items and Ajax components my VS2005 successfully opened.

,,,
SenthilVel

Happy New Year 2009

Lets all hope the best in 2009 !!!

Am starting my blog this year a bit late from Feb!

Hope to have more posts in General Architecture, SilverLight, Lynq, Biztalk for this year !