Dec
21
2012

Cannot use a leading .. to exit above the top directory.

Cannot use a leading .. to exit above the top directory

Problem ASP.Net application throws “Cannot use a leading .. to exit above the top directory” server error.    Solution Change “..” into “~”. For example, from: <link rel=”stylesheet” href=”../css/style.css” type=”text/css” media=”all” /> to: <link rel=”stylesheet” href=”~/css/style.css” type=”text/css” media=”all” />   Explanation This problem occurs if the web page is referring to content which is in the folder one level up from the website’s root folder. Since the page itself is in the root folder of [...]

Dec
21
2012

User.Identity.IsAuthenticated always True

ASP.Net

Problem User.Identity.IsAuthenticated always returns True, and thus ASP.Net’s Forms Authentication doesn’t work as expected.   Solution Set mode=”Forms” in the <authentication/> section of web.config as shown below: <authentication mode=”Forms”>  <forms loginUrl=”~/Admin/LogIn.aspx” timeout=”2880″ /> </authentication>   Explanation Ignoring the “Forms” mode uses “Windows”  mode, because it is the default authentication mode in ASP.Net. Thus, showing the logged in windows account.    

Dec
12
2012

Unable to build: the file dx.jar was not loaded from the SDK folder!

Android

Problem While trying to run Android applications using eclipse IDE, the following build error occurs: Unable to build: the file dx.jar was not loaded from the SDK folder! Solution Quick fix is to Right click on project -> Properties -> Java Build Path (From Left List) -> Libraries (Tab) -> Add Library (Button on right) -> JRE System Library -> Next -> Workspace default JRE -> Finish Permanent fix is to install latest Java SDK.

Dec
12
2012

An error was encountered. Please return to the previous page and try again.

Website Administration Tool - Error

Introduction Though I’ve been working with ASP.Net & Visual Studio for more than 5 years, this error puzzled me up, today.   Problem ASP.Net Web Site Administration Tool doesn’t launch automatically when you click  Build->ASP.Net Configuration from an ASP.Net Web Application. When we try to launch it manually by double clicking the Web Server icon in Window’s System Tray (See screenshot), and clicking the link on the ASP.Net Development Server Dialog, ASP.Net Web Site Administration Tool [...]

Oct
10
2012

Speech Recognition in Windows 7

Windows7

Speech Recognition in Windows 7 is a pretty handy feature, though it is not perfect. It recognizes voice commands, types text and thus makes our lives easier. To start Speech Recognition, go to Control Panel -> Ease of Access -> Start Speech Recognition You can know more about Speech Recognition in Windows 7, here: http://www.youtube.com/watch?v=N3VZnyKViC4

Oct
10
2012

WebPlatform Docs

WebPlatform.org

WebPlatform is an open community of developers building resources for a better web, regardless of brand, browser or platform. Anyone can contribute and each person who does makes us stronger. Together we can continue to drive innovation on the Web to serve the greater good. WebPlatform.org is convened by W3C and is made possible by the support of the Web Platform Stewards such as Adobe, Apple, Facebook, Google, HP, Microsoft, Mozilla, Nokia & Opera. Web [...]

Jun
19
2012

Sony Xperia S – PC Connectivity Issue

sony-xperia-s

I came across an issue with my new Sony Xperia S. All of a sudden I was unable to access my phone from my Windows 7 64 bit PC, when connected through USB cable. I got the following error:   “The device cannot start code 10″   I was afraid that my expensive phone needs to be replaced!! If your case is something similar, don’t panic. It’s just a matter of driver/software issue on your [...]

Apr
8
2012

Thank You Jesus

Thank_You_ Jesus

I thank God for making my dream come true by enabling me to create this blog. Throughout my career, He has given me wisdom and guided me. I thank each of you who contribute your technical knowledge to the community. I have learned a lot from the community, and now I feel that it is good time to pay back the community what God allows me to do.   Do you know that we are [...]

Categories

Tags