Posts

Showing posts from April, 2012

Error when Installing SQL Server 2008 R2 Management Studio

Yesterday, I downloaded and tried installing the 64bit version of the Sql Express Mangement Studio, but I received the below error message   Another version of Microsoft Visual Studio 2008 has been detected on this system that must be updated to SP1. Please update all Visual Studio 2008 installations to SP1 level, by visiting Microsoft Update This message was particularly baffling since my laptop was a new build and I had installed VS 2010 only. On further investigation I found that one of the software installation that I did had installed VS 2008 components. The Add Remove programs in Control panel wasn't helpful. I used the VS2008 uninstall tool from microsoft site http://go.microsoft.com/fwlink/?LinkId=105801 This removed the VS2008 instance completely. I reran the setup for Management Studio and all worked well. To do it manually try http://blogs.msdn.com/b/joy/archive/2008/10/21/how-to-remove-visual-studio-2008-manually.aspx Hope it works out for you..

How to get Ajax webmethods to work on Sitecore

Recently I created webmethods on my aspx page and called them using jquery ajax. But they returned a 401 error message. after further investigation using Fiddler I realized that Site core intercepting the ajax calls and throwing error messages. Once I found this, the idea was to stop sitecore from intercepting the ajax request. To do this, I tracked the setting node called "IgnoreUrlPrefixes" in web.config and added the webpage name which contained the webmethods. The IgnoreUrlPrefixes node tells sitecore to ignore the urls (separated by pipe). So my web.config read as <setting name="IgnoreUrlPrefixes" value="/sitecore/default.aspx|/trace.axd| pagewhichcontainswebmethod.aspx </setting>  Happy coding