27April2008
Posted by Mikhail Esteves under: Tips; Windows.
Run the following SQL statements for a quick fix to this issue:
ALTER LOGIN UserLogin WITH PASSWORD='password' UNLOCK
ALTER LOGIN UserLogin WITH CHECK_EXPIRATION = OFF
ALTER LOGIN UserLogin WITH CHECK_POLICY = OFF
p.
This should stop that error from showing again.
4April2008
Posted by Mikhail Esteves under: Tips; Windows.
The simplest way out of this is to ensure your virtual directory has explicit Read & Execute permissions for the ASPNET account. Failing which, uninstall IIS & Visual Studio, and re-install everything from scratch!
You may also want to ensure the assembly folder in your Windows directory gives the ASPNET account read/execute permissions too.
25March2008
Posted by Mikhail Esteves under: Links.
You may have developed your website using an expensive “what you see is what you get” editor but there’s no guarantee that site visitors “will get the website as you see it”.
You will need to extensively test the website to ensure that visitors have a comfortable stay and don’t leave your site in a jiffy. And here are some useful tools to help you completely check your website
Read more
13March2008
Posted by Mikhail Esteves under: General.
It happens to everyone sooner or later: a split second after you hit Enter you realize your mistake, but it’s too late; you just deleted a valuable file or directory for which no backup exists. Or maybe you have a backup, but it’s a month old… and in shock you see the past month flash before your eyes as you realize in pain what you’ll have to do all over again…
Fortunately, you remember that files are never really deleted, at most overwritten by new content. So, you remount the disk read-only as fast as possible. But now?
If you Google for “undelete ext3”, almost every article you find will be users asking if it’s possible and the answer is every time: no.
[…]
However, this is utter nonsense. All information is still there, also the block pointers. It is just slightly less likely that those are still there (than on ext2), since they have to be recovered from the journal. On top of that, the meta data is less coherently related to the real data so that heuristic algorithms are needed to find things back.
Read more
12March2008
Posted by Mikhail Esteves under: General.
AJAX combines the power of existing Web technologies to build powerful user interfaces that offer benefits often found in desktop applications. Over the past couple of years, Web developers have embraced AJAX in their own development efforts as well as via third-party toolkits.
Once you use an application built with AJAX, it’s easy to see the benefits: The user experience improves, as page reloads are reduced, and features such as automatic type-ahead facilitate data entry.
Some developers view AJAX view as the silver bullet for every scenario. However, AJAX introduces its own set of hazards in various areas, which include: development time, browsing history and experience, search engine interaction, accessibility, server load, and security. Let’s take a closer look at each of these areas.
Read more
2March2008
Posted by Mikhail Esteves under: Random Websites.
Look up words to find their meanings and associations with other words and concepts. Produce diagrams reminiscent of a neural net. Learn how words associate.
Enter words into the search box to look them up or double-click a node to expand the tree. Click and drag the background to pan around and use the mouse wheel to zoom. Hover over nodes to see the definition and click and drag individual nodes to move them around to help clarify connections.
Link
27February2008
Posted by Mikhail Esteves under: General.
Software development is a bit like religion. People tend pick a side, and there they stay; sometimes for life. Each sect has certain accepted beliefs, and to consider ideas outside these is heresy. Because of this, it’s extremely tough to get a lot of developers in agreement about something. And when this does happen, you should sit up and take notice.
In the last few years, unit testing has emerged as one of the Good Ideas of our craft. Support for this has grown to as near to unanimous as you could ask for. The last idea that reached this level of consensus was source control in the mid 90s, something that has obviously stuck around. Unit testing very well may be one of the lasting ideas of this decade.
Read more
18February2008
Posted by Mikhail Esteves under: General.
Now that you’ve added the finishing touches to your web site and unleashed it onto the world, fame, fortune, and success will surely follow — won’t it?
Unfortunately, your web application’s success can lead to something less desirable — performance and scaling problems. On a traditional desktop application, one thousand users translate to one thousand client computers chugging away, sharing the load of running your application. The application is effectively spread among all the users’ machines. When it comes to a web application, though, those same thousand users are usually serviced by a single machine — your web server.
Success can come at a cost for web applications: a cost in bandwidth and server hardware. However, there are a few clever ways you can reduce — and sometimes eliminate — these problems. We’ll take a look at some of the different approaches to improving the performance of an ASP.NET site in this chapter, which has been extracted from The ASP.NET 2.0 Anthology, 101 Essential Tips, Tricks & Hacks. Feel free to download this chapter — along with three others — for offline reference.
Read more