After attending last year’s ITCamp oganized in Cluj-Napoca, Romania, I was definite that I would attend this year again, even though I will have to leave for Cluj-Napoca on my b-day party (which I absolutely hate, because in the last 6 years, faith made it like that the my b-day would always find in a foreign city or country).

Anyway, back to ITCamp 2013. ITCamp is a developer and sysadmin conference where Microsoft technologies (and related to Microsoft technologies – such as Linux :) ) are presented by industry experts (technology gurus, MVPs, Microsoft Evangelists, ex-Microsoft employees, technology enthusiasts etc.). On their agenda you will find things like ‘Building Elastic, Autoscalable Solutions with Windows Azure‘, ‘Developing for Windows 8 with F# and WebSharper‘, ‘MVC – Common pitfalls and how to resolve them‘, ‘Transact-SQL from 0 to SQL Server 2012‘, ‘Kinect for Windows – Designing Software for Gesture & Voice Controlled User Interfaces‘ and so many other cool things you might actually be interested in!

Last but definitely not least, Richard Campbell and Tim Huckaby are also among the speakers!

Do google ITCamp or go straight to http://itcamp.ro, check the agenda out and register asap: seats are already filling up :)

Alex

I just had this scenario, when I would add whatever action control on a page and set its PostBackUrl property to another page. I would do this because I wanted to send some data from the current page (more like a view, where you input stuff) to another page via the POST method. However, for some super perculiar reason, I kept missing something, because whenever I would hit the control that did the POST action via the PostBackUrl property setting, the Request.RequestType that was incomming to the destination page was GET instead. Obviously, the Request.Form property didn’t containt any collections from which to extract the expected data from. After loosing precious time around this matter, I just realized that the ASP.NET WebForm template I was building the project upon had the preview of the FriendlyUrls NuGet package installed. What is FriendlyUrls? Basically, it’s a Microsoft signed NuGet package that handles your website in such a manner that your URLs become friendly: e.g. http://localhost/Default.aspx can also be visited through http://localhost/Default (which apparently is friendly). Don’t get me wrong, it’s not that FriendlyUrls has something against Posting via PostBackUrl property. It’s just that the template I was building the project upon had the 1.0.0-alpha1 version of FriendlyUrls installed rather than a final release of the package. After updating the package to its final release, I was able to POST via forms using the PostBackUrl property just fine. Hope this helps other outside there! A.

So my previous configuration was this:

  • TFS 2010, running on the same machine with a WSS 3.0
  • SCVMM on the same machine
  • SQL Server 2008 R2 databases on the same machine

Almost everything was running smoothly, except for some people-picker issues that I had on the team project site permission page.

Anyway, I decided to upgrade the TFS server to TFS2012. In order to do that, I first backed-up everything, both using the backup utility that comes along with TFS and also using a mirorring RAID configuration. I did an in-place upgrade for TFS. After upgrading it, everything worked fine. However, since I didn’t like to look and feel of WSS 3.0 sites, I decided to do an in-place upgrade of SharePoint as well, and I upgraded to SharePoint Foundation 2010.

In-place upgrade worked like a charm, except for the fact that I had to manually install a prerequisite because it wouldn’t download it from the web for some perculiar reason. Once the installation was complete, I came across my first error with SharePoint 2010 Foundation, namely a very generic “server error: <help link>”. Unfortunately the help link only suggested I download the updates, so I downloaded and installed SharePoint Foundation 2010 SP1. After installing it, SharePoint services worked, but TFS no longer worked. I found out that the prerequisites installed actually installed .NET Framework 4 as well and that the applicationHost.config file was updated to use specific assemblies from .NET Framework 4 as well. Unfortunately, one of the updated entries from the applicationHost.config file was not correctly updated, meaning that the runtinme version was not mentioned to be v2.0, thus the runtime it was running on was 4.0. I had to manually correct the applicationHost.config file. Afterwards, everything worked like a charm.

This was just a short introduction of some of the problems I ran across when I updated my TFS. Today I came across another strange thing. When I create a new project collection, I apparently cannot create any SharePoint site for the project collection, and thus for any team project. Specifically, I get the following error when I create the project collection: “tf252005: Configuration of SharePoint Products failed with the following error: Server was unable to process request. —> Cannot retrieve the information for application credential key..”

Moreover, I realized that I cannot change any site collection administrators in SharePoint Central Administration either, having returned this error: “No Results matching your search were found.” (which apparently is quite common to SharePoint users).

The things you would want to check out are:

  • check if the TFSService account (whichever that is) is a farm administrator as well
  • check whether the service accounts are domain accounts, rather than local accounts
  • check whether the application pool credentials the TFS’s site collection and Central Administration run under are set to a domain account
  • check if SharePoint 2010 has set an app password (use the stsadm -o setapppassword -password [yourpasswordhere] command)
  • check if SharePoint 2010 Central Administration is configured to search the correct AD forest(s) (use the stsadm -o setproperty -pn peoplepicker-searchadforests -pv “[yourdomain],[yourusername],[yourpassword]” -url http://[yoursharepointserver] command)

I found that the solution for me was to configure the app password. Using peoplepicker-searchadforests command without running the setapppassword command returned this error “Cannot retrieve the information for application credential key”. Moreover, keep in mind to run the setapppassword command on all front web servers before doing anything else, and also keep in mind to use the same password on all front web servers.

There’s a lot to say in very short time:

  1. Attended Build 2012 in Redmond! Awesome!!! I really have to tell you more about how well MS organizes such events!
  2. Passed the Professional Scrum Master I assesment! Here comes # 2!
  3. Passes 70-483 exam from Microsoft. And if you’re wondering, the answer is no. They didn’t publish the preparation materials yet, nor the self-paced training kits nor anything! And for the sake of writing some more stuff here, of course I didn’t study for a minute for this exam, since I took it while attending Build 2012 :)
  4. Last but definittely not least, I got married too!

As for Build 2012, I had the chance to talk to Mark Russinovich, the guy responsible for Sysinternals and one of the guys on the Azure team (for two years already), who had an extraordinary talk on the internal stuff regarding Windows Azure, with Scott Guthrie, the Microsoft corporate VP for the Developer Division who had some great talks on Windows Azure and with lots and lots of developers on the Microsoft campus about Windows 8 (regarding Store apps, ReFS, power management etc.), Azure Storage, SQL Databases on Windows Azure, VS 2012 and also to some MS Parterners.

I absolutely loved the conference and I’m definittely willing to tell you more about it, if you want! Just contact me and we’ll gradly chat about it!

BR,

Alex

WP_20121101_014[1]