Wednesday, January 18, 2012

Email sending problem on godaddy shared hosting server

Include below namespace

using System.Net;
using System.Net.Mail;
using System.Net.Configuration;

C# Code Here

string strFromEmail= "";
string strToEmail = "";
string strSubject= "";
string strBody= "";

MailMessage mailMessage = new MailMessage(strFromEmail, strToEmail, strSubject, strBody);
mailMessage.IsBodyHtml = true;

SmtpClient smtpClient = new SmtpClient();
smtpClient.Host = "relay-hosting.secureserver.net";
smtpClient.Port = 25;
smtpClient.Credentials = CredentialCache.DefaultNetworkCredentials;
smtpClient.Send(mailMessage);

Thanks

Sunday, September 25, 2011

Unable to login from google toolbar in firefox

Its coming due to google has been changed the login from

www.google.com/accounts

to

accounts.google.com

Solution: Open up toolbar.js with in some editor.

Find: www.google.com/accounts

and replace ALL with: accounts.google.com

Restart Firefox

Login through the toolbar.

-----------------------------------------------
You can find toolbar.js file on below location.

->open run command
->go to %AppData%\ location
->search toolbar.js

----------------------------------------------

Have fun :)

Monday, August 15, 2011

invalid command-line parameter: Files\Android\android-sdk\tools/emulator-arm.exe. Hint: use '@foo' to launch a virtual device named 'foo'. please use -help for more information

Problem :

invalid command-line parameter: Files\Android\android-sdk\tools/emulator-arm.exe.
Hint: use '@foo' to launch a virtual device named 'foo'.
please use -help for more information

Answer : You can fix with by changing SDK path

just change SDK location in eclipse preferences: C:\PROGRA~1\Android\android-sdk

Thanks

Monday, July 4, 2011

Google Plus threat to Facebook, Twitter


That is, of course, only one way of looking at Google's labour of over one year, when the team guys sat writing codes, eager to make as big an impact in the social media sector as in the mail, search, photo and document storage domains.

This time, they were also hoping to do one better than Orkut, which was literally steamrollered by Facebook in popularity and functionality, and certainly better than its disastrous Wave. The idea, one supposes, was to create a product that would make a mash of its prime competitors Facebook and Twitter and wipe them out. Will Google + do that?

Google + is still in its snooty, exclusive, I-will-call-you-don't-call-me phase, but let us remember that was Mark Zuckerberg's strategy initially as well. Facebook was the privy of exclusive Ivy League schools in the U.S. and the U.K. until the blitz happened. So, invitations are still scarce to come by, not all those in the Plus can extend invitations to friends who are still nonplussed. However, for sure, there are many more being added to my circles every night, nearly thrice the number than I started off with.

But when you are in, you may not notice this; it automatically signs you in on a secure (https) server, significant if you consider the recent controversies over Facebook taking liberties with users' privacy. So far, so good.

for more View

Thursday, June 30, 2011

Microsoft launches Office 365 in India

Microsoft has announced commercial availability of Microsoft Office 365 in India. Offering attractive prices starting $2.0 per user per month, (excluding applicable taxes) this will allow SMBs and enterprise customers to access Microsoft’s popular e-mail, collaboration, conferencing and productivity capabilities online.

Wednesday, February 16, 2011

microsoft.com, msdn sites are not opening

Below step will solve this problem:

1. Go to ControlPanel
2. Click Administrative Tools
3. Click Services.
4. Right Click on DNS Client service and STOP it.

It worked for me.

Wednesday, December 15, 2010

An unhandled win32 exception occured in svchost.exe[1008]

Getting following exception on my machine form few days

OS: Window XP with SP3

An unhandled win32 exception occured in svchost.exe[1008]
An unhandled win32 exception occured in svchost.exe[1950]


Please help ?

Sunday, July 11, 2010

Debugging is not working in VS 2008 Project

You may have accidentally changed your Web Site configuration from Debug to Release. Change it back and debugging should start work again.

- Click Build and select Build in Configuration Manager value
- Change the Active solution configuration from Release to Debug and click Close.
- Try debugging and see if your breakpoints are hit.

Hope this helps.

Monday, July 5, 2010

Unable to start debugging. The silverlight managed debugging package isn't installed.

Suppose you installed latest version of Silverlight (Silverlight 4), It may break the your current silverlight development environment with VS 2008. After in the Silverlight 4 installation, if you try to debug any Silverlight 3 project, you will get a message from Visual Studio 2008, saying "Unable to start debugging. The Silverlight managed debugging package isn’t installed"..

Solution :

To fix this error, install the Silverlight Developer Run time. You can get it from here : http://go.microsoft.com/fwlink/?LinkID=188039.

Installation failed with error code: (0x80070643), Fatal error during installation for VS 2008

While I was installing Silverlight. I got following error.

Problem:

Exe (d:\d7baf3d2979ba5016553d37455c7664c\PurgeSLTCache.exe) succeeded.
Exe (C:\DOCUME~1\JAIPRA~2.SIL\LOCALS~1\Temp\Silverlight Tools RTW\Silverlight.2.0_Developer.exe) failed with 0x80070643 - Fatal error during installation. .
Exe (d:\d7baf3d2979ba5016553d37455c7664c\PurgeSLTCache.exe) succeeded.
Final Result: Installation failed with error code: (0x80070643), Fatal error during installation.

Solution :

1- After installing VS 2008 SP1 restart your system.
2- Remove all the previous version of Silverlight.
3- Run setup again

It will work.

Saturday, March 20, 2010

Validation (): Element "elementname" is not supported in ASP.NET WebForms in Visual Studio 2008 and Visual Studio 2005

Sometimes application will compile and run properly but in IDE you got following warning message on each control.

"Validation ():Element is not supported"

Solution:

Visual Studio 2008 - Delete all files from below location in your machine,

1:- C:\Documents and Settings\[Username]\Application Data\Microsoft\VisualStudio\9.0\ReflectedSchemas

2:- C:\Documents and Settings\[Username]\Application Data\Microsoft\VisualStudio\9.0\ReflectedTypeLibs

Visual Studio 2005 - Delete all files from below location in your machine,

1:- C:\Documents and Settings\[Username]\Application Data\Microsoft\VisualStudio\8.0\ReflectedSchemas

2:- C:\Documents and Settings\[Username]\Application Data\Microsoft\VisualStudio\8.0\ReflectedTypeLibs

Thanks