Blog to help every programmer to learn good stuff about programming and keep them updated with the latest trend that is happening in the IT industry
Saturday, June 23, 2012
Issue installing Packages from Android SDK Manager
Thursday, June 21, 2012
Eclipse TFS Plugin Source control issue
Saturday, June 16, 2012
Debugging Android Application directly from Android Mobile
Saturday, June 09, 2012
Simulating an Incoming Call in the Android Simulator
Wednesday, June 06, 2012
Eclipse displaying error icon on Android Project
Returning back we learn that our R & D team have implemented the complex functionality and now we decide to get rid of the downloaded java file. We move to the src folder location using windows explorer and delete the file. (Note that this file was added using the eclipse studio and on top of that the downloaded file had errors). Now we open the eclipse studio and notice that there are no error icons displayed for any files but the android project.
We try the following ways to get rid of the error but all goes in vain:
1. Clean the project but still the error remains
2. Refresh the project but still the error remains
3. Fix Project Properties from Android Tools but still the error remains
The fix that worked in our case is removing the .metadata folder from the project root location. This folder seems to hold reference to all the files added using eclipse studio.
Friday, June 01, 2012
Android ~ Facebook login issue from Android application
Wednesday, May 30, 2012
Eclipse & TFS ~ Ignoring file from commit
Generating Hashkey for Android Facebook Application Integration
Friday, May 25, 2012
Android ~ Manually terminating an application or an activity
Android LogCat does not show anything !!!
Thursday, March 29, 2012
Deploying WCF Service on IIS 6.0
After deploying WCF service to IIS 6.0, we will notice that the page will not load when requesting http://mydomain.com/myservice.svc instead we would get 404 page not found exception. If you place a sample HTML file in the same directory and try to visit the page, the page will show up.
After googling, I learnt that after installing .NET Framework 4.0 Client Profile redistributable in the server, by default the ASP.NET 4.0 ISAPI extension is not enabled. This can be determined using the following command in the command prompt:
C:\>cscript c:\WINDOWS\system32\iisext.vbs /ListFile
Executing the above command will list all the extension files of IIS as
Status / Extension Path
------------------------
0 C:\WINDOWS\system32\inetsrv\httpodbc.dll
0 C:\WINDOWS\system32\inetsrv\ssinc.dll
0 C:\WINDOWS\system32\inetsrv\asp.dll
1 C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll
1 C:\WINDOWS\system32\MQISE.DLL
0 C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll
From the above listed extension files, you will see that the status is 0 for aspnet_isapi.dll of ASP.NET Framework 4.0. This means it is not enabled and this is preventing ASP.NET 4.0 processing your request. To enable the extension use the following command:
C:\>cscript c:\WINDOWS\system32\iisext.vbs /EnFile C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll
Once the above command is executed successfully, you should be able to see your WCF service coming up in the browser.
Monday, February 27, 2012
Sql Server 2008 Express SP1 installation on Windows XP SP 3
Hi Guys,
I was working with my team creating setup package using VS 2010 for a desktop application. The requirement is to install Sql Server 2008 Express Edition with SP1 along with other tools. The setup was working fine Windows 7 and Windows XP. But with Windows XP SP 3 64 bit machine, we started facing issues installing Sql Express 2008 SP1. We were getting the following exception log message:
An error occurred attempting to install SQL Server 2008 Express Service Pack 1
Installing using command 'C:\DOCUME~1\TICKSE~1\LOCALS~1\Temp\VSDB.tmp\SqlExpress2008\SQLEXPR32_x86_ENU.EXE' and parameters '/q /hideconsole /action=Install /features=SQL /instancename=SQLEXPRESS /enableranu=1 /sqlsvcaccount="NT Authority\Network Service" /AddCurrentUserAsSqlAdmin /skiprules=RebootRequiredCheck'
Process exited with code -2067922433
After lot of googling and with help of my team, I got the following link that discusses about addressing permission issue with the registry key “Microsoft Sql Server”. We tried the option and bingo!!! It worked. Here are the steps if in case you are stuck with similar issue.
Steps
1. Located HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server in registry
2. Right click and go to Permission
3. Click on Advance
4. Tick on both check box (I. Inherit from parent the permission... II. Replace permission entries on all child objects...), click OK
5. Click OK again
Tuesday, January 31, 2012
Programmatic SiteMinder 2.0 authentication and getting the FedAuth cookie to access SharePoint 2010 service
", request.RequestUri));
", stringData));
", response.StatusDescription, url));
", request.RequestUri));