Monthly Archives: October 2014

Can’t find variable: Handlebars

You have to include handlebars-2v.0.0.js. It is possible you haven’t downloaded it yet or not included in the your code. Download it from here handlebarsjs handlerbars.js will also resolve the issue if you are getting error about Handlebars.compile

Posted in Tutorials/Tips, Uncategorized | Tagged , | Leave a comment

user_city_test

User city test: [user_city]   User ID Test [user_id]

Posted in Uncategorized | Leave a comment

Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Stimulsoft

When you run your query, it might run just find but in your stimulsoft report you might get this error. The error could arise from mismatch of parameter or parameter not giving in the URL or too many parameters given. … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Court legal term sine die

I heard this phrase from lawyers “Synadize” and I would not find the exact meaning of it. Finally find out the world is actually “Sine Die” which locals pronounce as “synadize”. Sine Die means adjourning the a case without a … Continue reading

Posted in Uncategorized | Leave a comment

How to compare Current File with old Version in GIT (Visual Studio 2013)

You can compare a file with its previous version quite easily using git. You can do that either in Visual Studio 2013 (if you have Git Source Provider Extension installed) or even better you can use SourceTree ( a free … Continue reading

Posted in Uncategorized | Leave a comment

executenonquery returns -1 on success

ExecuteNonQuery is suppose to return the number of rows inserted, updated or deleted but in my case it always return -1 even though the record is successfully added. Found out SET NOCOUNT OFF was missing my in my stored procedure. … Continue reading

Posted in Tutorials/Tips | Tagged , , , , , | Leave a comment

how to clone in sourcetree on mac

SourceTree on Mac does not have a clone button in the toolbar (it does in the Windows Version), so how do you clone a git repository on mac? In any open Window go to Goto File > New / clone … Continue reading

Posted in Tutorials/Tips | Tagged , | Leave a comment

Website works in Visual Studio but does not work in IIS

In visual Studio project is run under local user, who usually have full permission to resources such as folders and databases. In IIS, the Application is run under Local System or Network User etc which do not have full permission … Continue reading

Posted in Uncategorized | Leave a comment

It is an error to use a section registered as allowDefinition=’MachineToApplication’ beyond application level

Scott Michell wrote an excellent article about the above error explaining exactly why are you getting this error. Basically you are opening the parent folder of a project in Visual Studio and you get this error. Since web.config in this … Continue reading

Posted in Troubeleshoot, Weird ASP.NET Errors | Tagged , , , | Leave a comment

Explanation: The IP address for the website you requested could not be found.

Network Access Message: The website cannot be found Explanation: The IP address for the website you requested could not be found. Error Code 11001: Host not found Background: This error indicates that the gateway could not find the IP address … Continue reading

Posted in Uncategorized | Leave a comment