faizan ahmad

Usually the things which were not a straight Google

  Home  |   Contact  |   Syndication    |   Login
  16 Posts | 0 Stories | 59 Comments | 0 Trackbacks

News

Archives

Post Categories

.NET

ASP.NET

Other

So, this morning, my phone was locked out after many wrong lock pattern entries.Phone was asking for gmail username/pass. For some reason, it was not accepting the correct username/password. It was relief when it occurred to me that I had two step verification enabled. I disabled the two step verification from my PC and was able to log into the phone :)

I got this error on production for a report which was working fine in Dev and it took me a while to figure out the cause. Report's Data Source was pointing to a SQL Server View, when I looked at the SQL Query ( Database - > Show SQL Query ), I noticed that Database name was there with view name: "DbName.dbo.ViewName" I did a lot of googling, trying to figure out a way to change this behaviour and have just "dbo.ViewName" in SQL, but in vain. For now, I have fixed it by putting the SQL in the view...

I was trying to add a new field in an Oracle DB table using this script: alter table TABLENAME add FIELDNAME char(1) not null default '0' ; it was throwing an error: 'ORA-30649:missing directory keyword' it drove me nutts for a while and after some googling, I was able to figure it out, its the Order: 'not null' should come after default value. right script is: alter table TABLENAME add FIELDNAME char(1) default '0' not null; order does matter :)...

other day I had to install Visual studio.NET 2003 on my system, the problem was I had Visual Studio 2005 and 2008 with framework 2.0 and 3.5 and I did not have .NET 1.1 on it. There were two suggetions from ppl at work: Install .NET framework 1.1 and load project in VS 2005 You will need to Un install VS 2005 and 2008 and then install VS.NET 2003 After googling a little first idea did not seem workable and I was not ready to follow the second option of starting all over. Half hour down I found a...