blogger directory

6/14/2010

You cannot back up a file in Windows 7 if the path length is longer than 260 characters

[Symptoms]

Consider the following scenario:

  • You customize a backup operation to back up some files on a computer that is running Windows Server 2008 R2 or Windows 7.
  • You select some files that you want to include in the backup operation. The path length of one selected file is longer than 260 characters.
In this scenario, the backup operation fails after the backup operation is started. Additionally, the following event is added to the Application log:

Log Name: Application
Source: Microsoft-Windows-Backup
Event ID: 547
Task Category: None
Level: Warning
Description:
The backup operation that started at time has encountered errors for the volume(s) volume. Log of files not successfully backed up.

[Cause]

This issue occurs because the Windows Block Level Backup Engine service (Wbengine.exe) handles file paths that are longer than 260 characters incorrectly.

[Resolution – Download hotfix]

View and request hotfix downloads

 

Post from Microsoft: KB982502

Hilo A Touch Enabled Picture View Carsoul: Developing C++ Applications for Windows 7

For C++ Developers using Visual Studio 2010, this might be very interesting to anyone using C++ and interested in building Touch Enabled Application Design as well as building a Carousel Application.



"Hilo" is a series of articles and sample applications that show how you can leverage the power of Windows 7, using the Visual Studio 2010 and Visual C++ development systems to build high performance, responsive rich client applications. Hilo provides both source code and written guidance to help you design and develop Windows applications of your own.

The series covers many topics, including the key capabilities and features of Windows 7, the design process for the user experience, and application design and architecture. Source code is provided so that you can see firsthand how the accompanying sample applications were designed and implemented. You can also use the source code in your own projects to produce your own rich, compelling applications for Windows 7. The Hilo sample applications are designed for high performance and responsiveness and are written entirely in C++ using Visual C++.

These articles describe the design and implementation of a set of touch-enabled applications that allow you to browse, select, and work with images. They will illustrate how to write applications that leverage some of the powerful capabilities that Windows 7 provides. You will see how the various technologies for Windows 7 can be used together to create a compelling user experience.







Chapter 1: Introducing Hilo

Chapter 2: Setting up the Hilo Development Environment

More Information as well as Download Source Code to the Application:
Hilo - Home

Can also Download Visual Studio Express 2010 for free if you would like to try your hand:
Microsoft Express Downloads - Visual Studio Express and SQL Server Express





A long delay occurs when you print a large file on a Windows 7-based computer

You experience delays when you print large files on a computer that is running Windows 7 or Windows Server 2008 R2.
When you print a file on a computer that is running Windows 7 or Windows Server 2008 R2, a block of memory equal to the size of the spool file is allocated. This memory is not released until the print job is finished. Therefore, if the print job is large, a large spool file is generated and a large block of memory is allocated. For example, when you print a high resolution photo or several copies of a photo, the spool file size can be several Gigabytes (GBs).

This is a common operation. However, it may cause memory swapping if the spool file is larger than the available physical memory. This behavior significantly increases how long it takes to finish the print job.

Notes

  • In Windows Vista or Windows Server 2008, when the spooling is completed or delayed, the allocated memory will be freed.
  • In Windows XP, a large block of memory cannot be allocated.

For example, you are printing a hi-resolution photo, or several copies of a photo. The spool file can easily go over several GBs. Therefore, an amount of memory equal to the spool file is allocated and not freed until the job is finished. Therefore, the issue occurs.

Hotfix Download Available
View and request hotfix downloads

Original Post: A long delay occurs when you print a large file on a Windows 7 or Windows Server 2008 R2-based computer