First I did the following: Add Oracle DSN in: ODBC sources (you can find it in start >> search >> odbc data sources) then go to user DSN and add oracle, you can test the connection there. However this didn’t fix the problem, maybe it contributed in the solution. Try different oracle provider (like Oracle.DataAccess). […]
Author: Omar Meriwani
.NET Developer, interested in linguistics and science.
When I start to design some table in the database or a class in my solution I always keep thinking if I have forgot some important field that I will need it later during development or it may be needed by my client. So the following fields represents a general view to define anything in […]
Change the way you’re doing the loop if you face a problem in reaching the first and/or the last character. If you want to compare each two adjacent characters then it’s better to start with a loop with counter = 0. It is not always about adding new items to the result objects, sometimes think […]
Should we create our own trees to make searches on strings faster, or we can depend on database engine non-clustered indexes on char or Varchar fields to do so? The following facts will help us in deciding and understanding what is really happening in indexed char columns: You can make an indexed column of Varchar2 […]
The first time I needed to dig deeply within the understanding of the work of web server was few months ago. It was when one of the websites that I monitor got closed by the hosting company because it was consuming a huge amount of resources (specifically CPU and RAM). I fixed it after reducing […]
Abstract modifier is added to something that is not usable or incomplete. In classes it means that the abstract class could be used only for inheritance or sub-classing (in java). Real life examples of things that’re similar to abstract class An abstract class for cars: this class may contain general features of a car, like […]
I faced this issue when I was trying to submit a solution with an MDF file, simply you cannot do any copy/move/delete to a solution while a database connection is open, to solve this you have to close the solution, or close the connections from server explorer or to close SQL service from windows services, […]
After trying many things like enabling and disabling firewall and Antivirus features nothing was helpful in solving the problem, few small exe files were possible to download but the majority were not. Simply I found that I have to exclude my browser from multiple checks in Kaspersky antivirus settings, like the following: Open Kaspersky antivirus. […]
After installing Flash Player I’ve faced problems like not being able to download EXEs through any browser, and not having (connection error) during the installation of Flash Player. All the following steps are not working except the green ones: Stop antivirus – not working Stop firewall – not working Stop network attack blocker in Kaspersky […]
Thread class in .NET
System.Thread is the simplest and in the same time the most widely used class for Task Parallelism in DOT NET. In this article we will explain several important methods, attributes and ways to use System.Thread efficiently. We will take several cases and properties of Thread.Sleep and explore it’s effect and how can we make use […]