adminSave Environment- Go Paperless, Go Digital

February 3rd, 2010

From the desk of President & CEO, All1Source Technologies

I have been in the IT industry for more than 17 years & purely in to Internet media & technology business from over 10 years. But during this so long time being always with computers & various technology equipments & building over 1000+ websites, surprisingly I never asked this question to myself- What is our social contribution to the world?
I am excited & equally proud to get the answer from my insight today.

SAVE ENVIRONMENT- Go Paperless, Go Digital, Go Green

Use technology to its fullest because technology helps you saving our mother nature. The mantra- Go paperless helps in saving trees. Go Digital way cuts the paper use drastically. We as a educated people should always promote & encourage use of e-Mailing, e-Greetings, e-Cataloging, e-Statements, all possible “e’s” can save our mother nature.

I got up early & reached office & assembled my team members & we together took an oath- “From today onwards we will not only be selling our services as a responsible web developers but we will be heavily promoting & pushing our all digital services to the people across the globe. We will work tirelessly for saving our environment & making the cheapest possible solutions, products & services available to the human beings across the world. This will be our prime duty to make ourselves available for each & everyone who is supporting & accepting digital way of life. GO GREEN!!….Go Digital”

Save Environment- Go Paperless, Go Digital…..

All1Source- Building Digital Community across the globe….

Tags: , , , , , ,
Posted in Company Activity, Editorial, Expert's Opinions | No Comments »

SuzanneRelease: MVC 2 Editor Template for Radio Buttons

June 8th, 2010

How to create an HTML helper to produce a radio button list? Here, the HTML helper was “wrapping” the FluentHtml library from MvcContrib to produce the following html output (given an IEnumerable list containing the items “Foo” and “Bar”):

   1:  <div>
   2:      <input id="Name_Foo" name="Name" type="radio" value="Foo" /><label for="Name
_Foo" id="Name_Foo_Label">Foo</label>
   3:      <input id="Name_Bar" name="Name" type="radio" value="Bar" /><label for="Name
_Bar" id="Name_Bar_Label">Bar</label>
   4:  </div>

MVC 2 has released, providing an editor template that can be used as it rely on metadata, which allow us to customize the views appropriately.  For example, for the radio buttons above, we want the “id” attribute to be differentiated and unique and we want the “name” attribute to be the same across radio buttons so the buttons will be grouped together and so model binding will work appropriately. We also want the “for” attribute in the <label> element being set to correctly point to the id of the corresponding radio button.

The default behavior of the RadioButtonFor() method that comes OOTB with MVC produces the same value for the “id” and “name” attributes so this isn’t exactly what I want out the box if I’m trying to produce the HTML mark up above.

If we use an EditorTemplate, the first gotcha that we run into is that, by default, the templates just work on your view model’s property. But in this case, we *also* was the list of items to populate all the radio buttons. It turns out that the EditorFor() methods do give you a way to pass in additional data. There is an overload of the EditorFor() method where the last parameter allows you to pass an anonymous object for “extra” data that you can use in your view – it gets put on the view data dictionary:

   1:  <%: Html.EditorFor(m => m.Name, "RadioButtonList", new { selectList = new SelectList(new[]
{ "Foo", "Bar" }) })%>

Now we can create a file called RadioButtonList.ascx that looks like this:

   1:  <%@ Control Inherits="System.Web.Mvc.ViewUserControl" %>
   2:  <%
   3:      var list = this.ViewData["selectList"] as SelectList;
   4:  %>
   5:  <div>
   6:      <% foreach (var item in list) {
   7:             var radioId = ViewData.TemplateInfo.GetFullHtmlFieldId(item.Value);
   8:             var checkedAttr = item.Selected ? "checked=\"checked\"" : string.Empty;
   9:      %>
  10:          <input type="radio" id="<%: radioId %>" name="<%: ViewData.TemplateInfo.HtmlFieldPrefix
%>" value="<%: item.Value %>" <%: checkedAttr %>/>
  11:          <label for="<%: radioId %>"><%: item.Text %></label>
  12:      <% } %>
  13:  </div>

IN the above code, there are several things that to be noted. First, you can see in line #3, it’s getting the SelectList out of the view data dictionary. Then on line #7 it uses the GetFullHtmlFieldId() method from the TemplateInfo class to ensure to get unique IDs. We pass the Value to this method so that it will produce IDs like “Name_Foo” and “Name_Bar” rather than just “Name” which is our property name. However, for the “name” attribute (on line #10) we can just use the normal HtmlFieldPrefix property so that we ensure all radio buttons have the same name which corresponds to the view model’s property name. We also get to leverage the fact the a SelectListItem has a Boolean Selected property so we can set the checkedAttr variable on line #8 and use it on line #10. Finally, it’s trivial to set the correct “for” attribute for the <label> on line #11 since we already produced that value.

Because the TemplateInfo class provides all the metadata for our view, we’re able to produce this view that is widely re-usable across our application. In fact, we can create a couple HTML helpers to better encapsulate this call and make it more user friendly:

   1:  public static MvcHtmlString RadioButtonList<TModel, TProperty>(this HtmlHelper<TModel>
htmlHelper, Expression<Func<TModel, TProperty>> expression, params string[] items)
   2:  {
   3:      return htmlHelper.RadioButtonList(expression, new SelectList(items));
   4:  }
   5:
   6:  public static MvcHtmlString RadioButtonList<TModel, TProperty>(this HtmlHelper<TModel>
htmlHelper, Expression<Func<TModel, TProperty>> expression, IEnumerable<SelectListItem> items)
   7:  {
   8:      var func = expression.Compile();
   9:      var result = func(htmlHelper.ViewData.Model);
  10:      var list = new SelectList(items, "Value", "Text", result);
  11:      return htmlHelper.EditorFor(expression, "RadioButtonList", new { selectList = list });
  12:  }

This allows us to simply the call like this:

   1:  <%: Html.RadioButtonList(m => m.Name, "Foo", "Bar" ) %>

In that example, the values for the radio button are hard-coded and being passed in directly. But if you had a view model that contained a property for the collection of items you could call the second overload like this:

   1:  <%: Html.RadioButtonList(m => m.Name, Model.FooBarList ) %>

The Editor templates introduced in MVC 2 definitely allow for much more flexible views/editors than previously available.

Source: http://geekswithblogs.net/

http://get-a-designer.com

http://www.all1sourcetech.com

Tags: , , ,
Posted in Editorial, Purely Technical | No Comments »

NaggieHow to Recover Linux Data after Hard Drive Crash?

June 5th, 2010

Is there problem with your Linux hard drive that abruptly get crashed every time when you boot your system? Or you are not able to boot your Linux computer and access data from it? The problems arise due to various reasons, causing hard drive crash.

Most commonly, the problem occurs due to missing or corrupt data structures of your Linux hard drive. Due to the same, the operating system can not locate stored files on the hard drive and access them. At this point, you need to opt for Linux data recovery solutions to get your valuable data recovered.

Symptoms that indicate the crash of a Linux hard drive: Such symptoms include the following ones:

  • Your Linux operating system-based computer does not boot up.
  • You encounter various error messages, such as “No Fixed Disk Present” or “DISK BOOT FAILURE, INSERT SYSTEM DISK AND PRESS ENTER”
  • Black or blank screen after you power up your system.
  • System reboots, freezes, or stops responding frequently.
  • “Operating system not found” and “Drive not formatted” messages.

Hard drive crash can be caused by various reasons and renders entire system inaccessible. The most common reasons of Linux hard drive crash are as given below:

  • Boot sector virus or damaged MBR (Master Boot Record).
  • Corrupted or damaged file system of Linux hard drive.
  • Missing or damaged system files or operating system.
  • Virus infection.
  • Corrupt Superblock or other critical meta data structures.

In order to fix a crashed Linux hard drive and perform Data Recovery Linux, you are required to format it and reinstall operating system. This process replaces all the missing, corrupt, or damaged system resources and brings the hard drive back to life. However, it also removes all the data from hard drive and create needs of Linux recovery.

The best possible way is to recover i.e. recovery, and efficient commercial software, known as linux recovery software. They use high-end scanning techniques to carry out in-depth scan of entire Linux hard drive to extract all lost data from it.

Source: www.programmersheaven.com

http://www.all1social.com

http://www.all1sourcetech.com

Tags: , , , ,
Posted in Linux Technology | No Comments »

NaggieCHKDSK/F Fails to Fix File System Problems

May 31st, 2010

One of the most common reasons for unbootability of the computer system is the file system corruption in Windows XP. And for damage in file system, the reasons responsible for that are unexpected system shutdown (due to power outage or human mistakes), virus infection, MFT (Master File Table) damage, and more.

In order to get past the corruption issues in a Windows XP system is by executing CHKDSK/F command. This command checks the physical and logical integrity of the file system and repairs it in case of any damage.

Though the command, in most of the situations, is a life-saver, but do not guarantee 100% success in every life system corruption issue. In such cases, when the CHKDSK command fails to repair, an ideal alternative is to reinstall Windows XP and restore data from an updated backup. However, in case no backup is available, the user can easily recover data using a commercial Windows Recovery application.

Let’s consider a practical scenario that explains the above situation. You encounter the below error message at the startup of Windows XP operating system:

“C:\$MFT is corrupt and unreadable. Please run the chkdsk utility.”

After the above boot error message pops up, your system becomes unbootable and its data gets inaccessible. As suggested in the error message, when you run CHKDSK utility, you encounter another error message:

In the master file table (MFT) bitmap, CHKDSK discovered free space marked as allocated. CHKDSK discovered free space marked as allocated in the volume bitmap. Windows found problems with the file system. Run CHKDSK with the /F (fix) option to correct these.

As error message suggest, when you execute CHKDSK utility with ‘/F’ parameter, it shows the same error message. Since the system could not be started, the data saved in the Windows based hard drive remains inaccessible.

Resolution: In order to overcome the CHKDSK/F failure error message, follow the step mention below:

1. Reinstall Windows XP on your system.
2. Restore the data from an updated backup. In case no backup is available, use a commercial Windows Data Recovery utility.

Such windows data recovery tools use effective recovery techniques to perform complete recovery of all formatted files and folders.

Source: www.programmersheaven.com

http://get-a-designer.com

http://www.all1sourcetech.com

Tags: , , , , ,
Posted in Purely Technical, database | No Comments »

NaggieDynamic Open Source Languages Head to the Cloud

May 28th, 2010

For developers building applications with open source dynamic languages, the cloud is a key development area, and not just for network administrators looking for scale.

In terms of language usage, it is found that nearly 80 percent of developers are using Javascript, while both Python and Perl came in at 47 percent, PHP at 42 percent and Ruby at 31 percent

According to the director of engineering at ActiveState, Jeff Hobbs, this confirms a lot of basic hunches that dynamic languages are just increasing their usage in standard programming applications and especially in newer development such as the cloud application space.

While many developers are headed to the cloud, however it is being noted that nearly 43 percent of respondents had no plans yet for cloud development in the next 24 months.

Hobbs said, “You think about the development cycle that a large enterprises has- they can go anywhere from one year to three to five-year cycles”. For the people who have just released applications, it might still be three to five years before they can assess the value of the advantages that might be presented in the cloud.

For developers, there are a number of differences between developing for the cloud versus traditional deployment methods. Some of the differences depend on the type of cloud deployment being used.

According to principal analyst and partner at Redmonk, Stephen O’Grady, the differences with Infrastructure-as-a-Service offerings are typically things such as the APIs used to access the storage layer. “For Platform-as-a-Service offerings that tend to be far more prescriptive, the differences can be relatively extensive, from a difference in the typical infrastructure software (e.g. databases) to the implementation of the development framework.”

Hobbs noted that since the cloud virtualizes multiple elements of an application deployment stack, including the server, it makes the actual languages used stand out more than they have in the past. He added that he has seen some subtle shifts in dynamic languages that make the languages more cloud-friendly.

According to Hobbs, it’s really important that the language developers’ use already has the library and frameworks already provided and supported. The dynamic languages become an advantage to cloud app development as you’re ready to use all the pieces that you need to use and they’re abstracted in the right way.”

Challenges to Cloud Development

The dynamic programming aspects of dynamic languages allow for fast development times as well. However, there are number of challenges that still face dynamic language developers.

Hobbs noted that having the required tooling for deployment is critical. He added that concerns around security are also a barrier- one that 40 percent of poll respondents identified as an issue.

According to Redmonk’s O’Grady, the dynamic languages themselves can evolve to take better advantages of the cloud, though the cloud vendors can help out there, too.

While there are changes to the language runtimes that could improve their ease of use in the cloud, it’s more likely that changes will come at the framework layer. And it’s likely that cloud offerings, moving forward, will increasingly support event-based frameworks to better take advantage of the concurrency that the cloud offers.”

Source: www.developer.com

http://get-a-designer.com

http://www.all1sourcetech.com

Tags: , , ,
Posted in Opensource | No Comments »

SuzanneHow to overcome after Blackmal virus- Hard Drive Data Lost?

May 26th, 2010

For the data to be deleted fro the hard drive, concerns the computer virus as one of the most common factor. Each and every computer virus is different and designed to harm a particular set of files.

Some of the common ways through which a computer virus can enter your system are downloading files from the Internet, attaching a virus-infected external storage media, and e-mails. Though the consequences of a virus attack vary from situation to situation, the most common outcome is permanent deletion of files.

In order to overcome the after-effects of any virus attack and access the files, the user needs to restore the files from an up-to-date backup. However, if in case no backup is available or backup is unable to restore required files, the user needs to opt for a commercial Hard Drive Recovery Software that can perform recovery of deleted files.

The list of computer virus is too long but the most common one is ‘Blackmal’ virus. This virus has till now infected more than 6,00,000 computer systems and resulted in huge data loss. The virus is competent enough to permanently delete eleven varied file types on the third of every month.

The virus is programmed to delete files not only from the system’s hard drive, but also from network-attached storage.

Prevention: To prevent the attack of Blackmal virus, you will need to follow the below mentioned prevention tips:

1.Always keeps an updated anti-virus installed on your system.

2. Always scan the external storage media before attaching it to your system.

3. Always scan an e-mail (specifically with an attachment) using an anti-virus application.

In case, the above prevention tips are not followed and your different file types have been deleted, then you will need to follow the below steps:

Restore the files from an adequate backup.

In case of failure of the restoration process, you will need to recover the files using an effective third-party Hard Drive Recovery Software.

A Hard Drive Recovery utility is a powerful utility that can scan virus infected media and recovers all lost files after virus attack. The tool is built with self-explanatory user-interface and needs no prior technical knowledge to perform recovery.

http://get-a-designer.com

http://www.all1sourcetech.com

Tags: , , , , ,
Posted in Editorial, Expert's Opinions | No Comments »

NaggieKnow- how to resolve ‘IN_PAGE_ERROR’ running Microsoft Office Setup

May 24th, 2010

File system and hard disk issues can be due to a variety of problems, which includes power outages, improper system maintenance, virus infection, human errors, hardware problems, etc. When this type of problems occurs, then the consequences are directly reflected in operations like installing a new application, accessing an existing file or folder, repairing the existing installations, and many more. Thus, one can easily analyze the file system corruption. And In worst cases, you might need to reformat the entire hard drive partitions and seek the help of Partition http://www.all1tunes.comRecovery tools, especially when no data backup is available.

Let’s check out the problem, which can occur when trying to set up or repair Microsoft Office on a Windows hard disk. Specifically, when you attempt to repair or install Microsoft Office 2002 (XP), Microsoft Office 2003 or Microsoft Office 2007, the setup may exit silently without notifying or displaying any error message on screen. For say, when you try to install or repair Office, it prompts you to specify the Product Identification key, but exits unexpectedly.

For typical Office setup failure, you can examine the associated log file, which is created by Office Setup in \Temp folder in .txt format. This file might contain one of the below or similar log entries with different module and function:

Exception code: C0000006 IN_PAGE_ERROR Module: C:\WINDOWS\System32\msi.dll Function: 0×7642452f

Or

Exception code: C0000006 IN_PAGE_ERROR Module: C:\WINDOWS\system32\IMAGEHLP.dll Function: 0×76c94afa

The depicted problem, as mentioned, is generally the result of file system damage or hard disk problems. Thus, to resolve the problem, consider implementing the solutions mentioned underneath:

‘Analyze’ and then ‘Defragment’ the hard disk using Disk Defragmenter tool. To do so, you must have administrative rights to access the partition/volume.

Repair the disk using Autochk.exe, Chkdsk.exe,, and Chkntfs.exe tools. If the problem persists, reformat the hard disk and restore the deleted data from backup. Use a Partition Recovery Software than any kind of backup issues.

Use of a Partition Recovery utility allows to scan the logically crashed hard disk and restore the lost/deleted partitions in just few simple steps.

http://get-a-designer.com

http://www.all1sourcetech.com

Tags: , , , ,
Posted in Microsoft Technology, Purely Technical | No Comments »

NaggieCreating Complex, Secure Web Forms with PHP and HTML_QuickForm2

May 22nd, 2010

For PHP developers, HTML_QuickForm2 PEAR package provides a programmatic interface for rigorously defining form controls, value requirements, and user notifications. Using HTML_QuickForm2 helps these developers create usable and secure Web forms without sacrificing visual appeal. This solution takes much of the guesswork out of secure forms development, allowing you to create robust forms with minimal time investment.

It will show you how to take advantage of HTML_QuickForm2 to streamline the creation and validation of complex HTML forms.

Installing HTML_QuickForm2

HTML_QuickForm 2 is a PEAR package, meaning you can install it using the PEAR package installer. Presuming you’re using the original installer, execute the following command to install HTML_QuickForm2:

%>pear install –onlyreqdeps HTML_QuickForm2-alpha

When installed, you can begin programmatically creating your forms.

Creating a Form with HTML_QuickForm2

HTML_QuickForm2 is the second incarnation of the aptly-named HTML_QuickForm, rewritten from the ground up to take advantage of the object-oriented (OO) features in PHP 5. Therefore, if you’re not familiar with the OO development approach, it will take some time to get acquainted with the syntax because forms are created using a rigorous class structure.

Let’s see these examples that hopefully will help elucidate how you can use HTML_QuickForm2 is to create increasingly complex forms.

Figure-1:
html quickform2 fig1 Creating Complex, Secure Web Forms with PHP and HTML QuickForm2
Figure 1. Creating a Simple Form with HTML_QuickForm2

The form in Figure 1 can be created using approximately 25 lines of code, as shown below.

<?php
 require_once "HTML/QuickForm2.php";
 require_once 'HTML/QuickForm2/Renderer.php';
 $format = array(
 ''     => 'Newsletter Format:',
 'text' => 'Text',
 'html' => 'HTML'
 );
 $form = new HTML_QuickForm2('newsletter');
 $name = $form->addText('name')->setLabel('Your Name:');
 $email = $form->addText('email')->setLabel('Your E-mail Address:');
 $newsletter = $form->addSelect('format', null, array('options' => $format));
 $newsletter->setLabel('Preferred Newsletter Format:');
 $form->addElement('submit', null, 'Submit!');
 $renderer = HTML_QuickForm2_Renderer::factory('default');
 echo $form->render($renderer);
?>

HTML_QuickForm2 offers a series of methods, which are responsible for creating form controls such as text fields (addText())and select boxes (addSelect()). Each of these controls is accompanied by control labels that can be added using the setLabel() method. Finally, HTML_QuickForm2 gives you the flexibility to render forms using a wide variety of approaches, including using the Smarty templating engine and an HTML_QuickForm2_Renderer object.

You can just use the default renderer as demonstrated here, passing that object to the render() method in order to output the form. Next, let’s consider the slightly more complex example depicted in Figure 2.

html quickform2 fig2 Creating Complex, Secure Web Forms with PHP and HTML QuickForm2

Figure 2. Creating a More Complex Form Variation

This time, the fieldset tag has been used to create a slightly more organized form structure. Because the form elements appear inside the fieldset boundary, you need to create these elements using the methods exposed through the fieldset object! Neglecting to do so will cause form elements to be rendered outside of the boundary. The following listing creates the form presented in Figure 2.

<?php
require_once “HTML/QuickForm2.php”;
require_once ‘HTML/QuickForm2/Renderer.php’;
$format = array(
” => ‘Newsletter Format:’,
‘text’ => ‘Text’,
‘html’ => ‘HTML’
);
$form = new HTML_QuickForm2(’newsletter’);
$fieldSet = $form->addFieldset()->setLabel(’Subscribe to the Newsletter!’);
$name = $fieldSet->addText(’name’)->setLabel(’Your Name:’);
$email = $fieldSet->addText(’email’)->setLabel(’Your E-mail Address:’);
$newsletter = $fieldSet->addSelect(’format’, null, array(’options’ => $format));
$newsletter->setLabel(’Preferred Newsletter Format:’);

$fieldSet->addElement(’submit’, null, ‘Submit!’);
$renderer = HTML_QuickForm2_Renderer::factory(’default’);
echo $form->render($renderer);
?>

Try experimenting with creating form controls using the HTML_QuickForm2 object instead of the FieldSet object in order to observe the effects of control location placement.

Validating the Form

The previous two examples demonstrated how easy it is to create and render forms using HTML_QuickForm2, but they did nothing to inspect and validate user input — not to mention informing users when the form wasn’t successfully completed. You can configure control-specific validation requirements using theaddRule() method, as shown here: $name = $form->addText(’name’)->setLabel(’Your Name:’); $name->addRule(’required’, ‘Please provide your name.’); After having added similar requirements to the other form controls, HTML_QuickForm2 will automatically adjust the rendered form to inform the user of the required fields, as depicted in Figure 3.

html quickform2 fig3 Creating Complex, Secure Web Forms with PHP and HTML QuickForm2

Figure 3. Adding Field Requirements

The required rule is just one of several supported by HTML_QuickForm2. Among others, you can control input lengths, compare the input with some predefined value, and even create your own custom rules using a callback. Consult the HTML_QuickForm2 documentation for the complete details. Even with the rules added, HTML_QuickForm2 will not actually validate the input until you explicitly call the HTML_QuickForm2 object’svalidate() method. Therefore, you’ll need to add the following code somewhere before the form is rendered:

if ($form->validate()) {
 echo "<p>SUCCESS!</p>";
}

Of course, in a real-world situation you’ll want to carry out more than just a simple notification; you likely will add the subscriber’s information to a database. However, if the user’s input does not meet the validation requirements, HTML_QuickForm2 will notify the user of the problem, as depicted in Figure 4.

html quickform2 fig4 Creating Complex, Secure Web Forms with PHP and HTML QuickForm2

Figure 4. Displaying Error Messages

You can easily add CSS to the form, thereby making the error messages quite evident.

HTML_QuickForm2 provides developers with the means for rigorously creating and validating forms in a manner that greatly reduces the likelihood of invalid or harmful input while simultaneously reducing the amount of time and effort needed to develop complex form layouts.

http://get-a-designer.com

http://www.all1sourcetech.com

Tags: , , ,
Posted in Purely Technical | No Comments »

NaggieUbuntu 10.10 Might Make btrfs the Default Filesystem

May 21st, 2010

The next version of Ubuntu 10.10 could include btrfs as the default filesystem replacing ext4, said Ubuntu Developer Manager Scott James Remnant.

A lot has to go right between now and the Ubuntu 10.10 feature freeze before btrfs can get promoted to the default.

According to the Kernel.org Wiki, Btrfs is a new copy on write filesystem for Linux aimed at implementing advanced features while focusing fault tolerance, repair and easy administrative. Initially developed by Oracle, Btrfs is licensed under the GPL.

According to Remnant, the btrfs needs to not be marked “experimental” in the kernel config. He also added, “This is planned for 2.6.35, which is the kernel version and expecting to ship” with Ubuntu 10.10.

Currently, the new filesystem is not supported by Grub2, Ubuntu’s boot loader, or the installer. That would need to be finished, before feature freeze, said Remnant.

He explained, if that happens, we may make it the default for Alpha releases to gain testing, that testing must go smoothly. And the btrfs upstream must be happy with the idea and, we must be happy with the idea.

He put the odds of all of this working out at 1 in 5.

http://get-a-designer.com

http://www.all1sourcetech.com

Tags: , ,
Posted in Technical News | No Comments »

NaggieLinux kernel 2.6.34 adds scalable Ceph filesystem

May 20th, 2010

This week, Linus Torvalds announced to make the official release of version 2.6.34 of the Linux kernel. The update introduces two new filesystems and brings a number of other technical improvements and bug fixes.

A new cloud filesystem, called Ceph, is one of the most significant additions. It is a distributed network filesystem that is designed for massive scalability, capable of managing petabytes of storage. The underlying technology has some novel characteristics, such as an adaptive metadata storage framework that can automatically redistribute information about the filesystem hierarchy across the storage nodes in response to fluctuations in demand. However, the developers warn that the project is still largely experimental and isn’t ready yet for deployment in production environments.

Developer Sage Weil in a kernel mailing list post wrote, “Although stability has improved greatly in the last few months, Ceph is still relatively new and experimental for something as conservative as storage, and only time and testing will change that”. “Getting the code upstream sooner rather than later will accelerate that process by reducing barriers to testing, expanding the pool of systems with a usable client, and making it easier for distros to include it.”

LogFS, a log-structured filesystem that is intended for use on flash storage devices, is another major addition. It is designed to replace the kernel’s Journaling Flash File System v2 (JFFS2), but is best-suited for larger flash storage devices. It is said to offer a reduction in mount time and memory overhead relative to JFFS2.

A number of other noteworthy improvements are present in the .34 release. Suspend and resume performance get a boost from a parallelization effort. Networking in KVM gets performance improvements too, thanks to the vhost net drivers.

Tags: , , , ,
Posted in Linux Technology | No Comments »

SuzanneHow to resolve the error 2537 in SQL Server 2000?

May 19th, 2010

While mounting the database, it could be frustrating to view an error message, which not only results in unmountability of the database, but also in inaccessibility of database records. Such error messages can be caused due to database corruption. Some of the few main reasons responsible for database corruption are metadata structure damage, network issues, hardware malfunction, improper system shutdown, and virus infections.

In order to overcome such error messages, the database administrator needs to run an inbuilt repair utility named ‘DBCC CHECKDB’. While this command is competent enough to repair a damaged SQL Server 2000 database, it might also result in loss of data from the database. To prevent any such data loss situation from occurring, you will need to repair the database by using a powerful MDF Database Repair application.

Lets consider a real-time scenario where you encounter a severity level 16 error message while trying to mount your SQL Server 2000 database:

“Table error: Object ID O_ID, index ID I_ID, page P_ID, row ROW_ID. Record check (CHECK_TEXT) failed. Values are VALUE1 and VALUE2.”

Once the above error message flashes on the screen, the database records become inaccessible.

Reason:

Two main reasons liable for the occurrence of 2537 error message are discussed underneath:

  • A condition specified in the CHECK_TEXT statement could not be fulfilled.
  • The database table is logically or physically damaged.

Tips to Resolve:

To get past the above error message, an easy way is to restore the database from an updated backup. However, if in case backup is not available, and then repair the database using following steps:

  • In case the SQL Server 2000 database table is physically damaged, and then replace the physically damaged component with a new component. To determine the component that is physically damaged, check the system logs.
  • In case the SQL Server 2000 database table is logically corrupted, then run DBCC CHECKDB command with a suitable repair clause. While doing so, the logical corruption can be resolved, but it might also result in loss of data. To ignore such data loss situations, it is advisable to repair the database using a commercial MDF Repair application. Such MDF File Repair tools are totally non-destructive and keep the original file untouched while repairing.

http://get-a-designer.com

http://www.all1sourcetech.com

Tags: , , ,
Posted in Purely Technical, database | No Comments »

Today Blogs | Latest Blogs