Le Café Central de

                 ... Deva blogs!!

  • Le Café Central de DeVa

    General : Do you know what is “ReadyBoost” technology ?


    ReadyBoost technology takes advantage of the fact that flash memory offers lower seek times than hard disks. Essentially that means that your system can get to a given location on a flash disk more quickly than it can to a corresponding spot on a hard disk. Hard disks are faster for large sequential reads; flash disks are quicker for small, random reads. When a supported external memory device is available, ReadyBoost caches small chunks in flash memory and is thus able to retrieve those chunks, when needed, more quickly than it could if it relied only on the hard disk.

    Because an external memory device can be removed without warning to the system, all data cached via ReadyBoost is encrypted and backed up on the hard disk (as well as being compressed). Encryption ensures that the data can’t be read on another system, and backup enables Windows to revert to the hard disk cache in the event that the ReadyBoost drive is removed.

    Windows supports the following form factors for ReadyBoost:

    •USB 2.0 flash disks

    •Secure Digital (SD) cards

    •CompactFlash cards

    When you connect a device of one of these types to your system, Windows runs a quick performance test to see if the device meets minimum standards required for ReadyBoost. Those standards are:

    •2.5 MB / second throughout for 4 KB random reads

    •1.75 MB / second throughout for 512 KB random writes

    In addition, the device must have at least 256 MB available for the ReadyBoost cache.

    Note: ReadyBoost does not support external card readers. If Windows Explorer shows a volume letter for a drive without media (as it does, for example, for card-reader drives or floppy drives), inserting flash media for that volume letter will not give you a ReadyBoost drive. In addition, Windows Vista does not support multiple ReadyBoost drives. (Microsoft has indicated that multiple-drive support is under consideration for future versions.)

    How much boost will you get from ReadyBoost?
    As with so many other performance issues, it depends. If your internal memory is well above the amount you actually need, ReadyBoost won’t do much for you. If not, you should definitely see some performance improvement. To use ReadyBoost, follow these steps:

    1. Plug a suitable external memory device into your computer. An AutoPlay window similar to the following will appear (it won’t say READYBOOST, unless you’ve already assigned that name to the volume, as we have here):

    Picture of AutoPlay dialog box showing ReadyBoost drive

    This window appears when you plug a ReadyBoost-compatible memory device into your computer

    2. Click Speed up my system. If your system passes an initial ReadyBoost test, the Properties dialog box will appear, with the ReadyBoost tab selected:

    ReadyBoost properties

    Use the slider to set aside space on your memory device for ReadyBoost

    •Select Use this device, and then adjust the slider to specify the amount of space you want to use for ReadyBoost. Then click OK.

    How much of the external memory device you want to assign to ReadyBoost will depend on whether you also want to use the device for ordinary storage. Microsoft estimates that you can benefit from a ReadyBoost cache equal to approximately 150 percent of your system RAM—for example, a 1.5 GB ReadyBoost cache on a 1 GB systems.

    Reference info:
    Windows Vista Inside Out by Ed Bott, Carl Siechert, and Craig Stinson (Windows Vista Inside Out © 2007 Microsoft Corporation. To learn more about this book, visit the Microsoft Learning website.)

  • Le Café Central de DeVa

    Error Code : List of ASP Error Codes & its description


    When i was searching for Classic ASP (not ASP.Net) related error code, i found the related information. Please find the list of ASP error codes that may be returned while an Active Server Pages (ASP) page is processing. This may vary depending on the version of Internet Information Services (IIS) that you use. This applies to IIS 3.0, 4.0, 5.0 & 6.0.

    ASP error code


    ASP 0100

    Out of memory

    ASP 0101

    Unexpected error

    ASP 0102

    Expecting string input

    ASP 0103

    Expecting numeric input

    ASP 0104

    Operation not Allowed

    ASP 0105

    Index out of range

    ASP 0106

    Type Mismatch

    ASP 0107

    Stack Overflow

    ASP 0108

    Create object failed

    ASP 0109

    Member not found

    ASP 0110

    Unknown name

    ASP 0111

    Unknown interface

    ASP 0112

    Missing parameter

    ASP 0113

    Script timed out

    ASP 0114

    Object not free threaded

    ASP 0115

    Unexpected error

    ASP 0116

    Missing close of script delimiter

    ASP 0117

    Missing close of script tag

    ASP 0118

    Missing close of object tag

    ASP 0119

    Missing Classid or Progid attribute

    ASP 0120

    Invalid Runat attribute

    ASP 0121

    Invalid Scope in object tag

    ASP 0122

    Invalid Scope in object tag

    ASP 0123

    Missing Id attribute

    ASP 0124

    Missing Language attribute

    ASP 0125

    Missing close of attribute

    ASP 0126

    Include file not found

    ASP 0127

    Missing close of HTML comment

    ASP 0128

    Missing File or Virtual attribute

    ASP 0129

    Unknown scripting language

    ASP 0130

    Invalid File attribute

    ASP 0131

    Disallowed Parent Path

    ASP 0132

    Compilation Error

    ASP 0133

    Invalid ClassID attribute

    ASP 0134

    Invalid ProgID attribute

    ASP 0135

    Cyclic Include

    ASP 0136

    Invalid object instance name

    ASP 0137

    Invalid Global Script

    ASP 0138

    Nested Script Block

    ASP 0139

    Nested Object

    ASP 0140

    Page Command Out Of Order

    ASP 0141

    Page Command Repeated

    ASP 0142

    Thread token error

    ASP 0143

    Invalid Application Name

    ASP 0144

    Initialization Error

    ASP 0145

    New Application Failed

    ASP 0146

    New Session Failed

    ASP 0147

    500 Server Error

    ASP 0148

    Server Too Busy

    ASP 0149

    Application Restarting

    ASP 0150

    Application Directory Error

    ASP 0151

    Change Notification Error

    ASP 0152

    Security Error

    ASP 0153

    Thread Error

    ASP 0154

    Write HTTP Header Error

    ASP 0155

    Write Page Content Error

    ASP 0156

    Header Error

    ASP 0157

    Buffering On

    ASP 0158

    Missing URL

    ASP 0159

    Buffering Off

    ASP 0160

    Logging Failure

    ASP 0161

    Data Type Error

    ASP 0162

    Cannot Modify Cookie

    ASP 0163

    Invalid Comma Use

    ASP 0164

    Invalid TimeOut Value

    ASP 0165

    SessionID Error

    ASP 0166

    Uninitialized Object

    ASP 0167

    Session Initialization Error

    ASP 0168

    Disallowed object use

    ASP 0169

    Missing object information

    ASP 0170

    Delete Session Error

    ASP 0171

    Missing Path

    ASP 0172

    Invalid Path

    ASP 0173

    Invalid Path Character

    ASP 0174

    Invalid Path Character(s)

    ASP 0175

    Disallowed Path Characters

    ASP 0176

    Path Not Found

    ASP 0177

    Server.CreateObject Failed

    ASP 0178

    Server.CreateObject Access Error

    ASP 0179

    Application Initialization Error

    ASP 0180

    Disallowed object use

    ASP 0181

    Invalid threading model

    ASP 0182

    Missing object information

    ASP 0183

    Empty Cookie Key

    ASP 0184

    Missing Cookie Name

    ASP 0185

    Missing Default Property

    ASP 0186

    Error parsing certificate

    ASP 0187

    Object addition conflict

    ASP 0188

    Disallowed object use

    ASP 0189

    Disallowed object use

    ASP 0190

    Unexpected error

    ASP 0191

    Unexpected error

    ASP 0192

    Unexpected error

    ASP 0193

    OnStartPage Failed

    ASP 0194

    OnEndPage Failed

    ASP 0195

    Invalid Server Method Call

    ASP 0196

    Cannot launch out of process component

    ASP 0197

    Disallowed object use

    ASP 0198

    Server shutting down

    ASP 0199

    Disallowed object use

    ASP 0200

    Out of Range 'Expires' attribute

    ASP 0201

    Invalid Default Script Language

    ASP 0202

    Missing Code Page

    ASP 0203

    Invalid Code Page

    ASP 0204

    Invalid CodePage Value

    ASP 0205

    Change Notification

    ASP 0206

    Cannot call BinaryRead

    ASP 0207

    Cannot use Request.Form

    ASP 0208

    Cannot use generic Request collection

    ASP 0209

    Illegal value for TRANSACTION property

    ASP 0210

    Method not implemented

    ASP 0211

    Object out of scope

    ASP 0212

    Cannot Clear Buffer

    ASP 0214

    Invalid Path parameter

    ASP 0215

    Illegal value for ENABLESESSIONSTATE property

    ASP 0216

    MSDTC Service not running

    ASP 0217

    Invalid Scope in object tag

    ASP 0218

    Missing LCID

    ASP 0219

    Invalid LCID

    ASP 0220

    Requests for GLOBAL.ASA Not Allowed

    ASP 0221

    Invalid @ Command directive

    ASP 0222

    Invalid TypeLib Specification

    ASP 0223

    TypeLib Not Found

    ASP 0224

    Cannot load TypeLib

    ASP 0225

    Cannot wrap TypeLibs

    ASP 0226

    Cannot modify StaticObjects

    ASP 0227

    Server.Execute Failed

    ASP 0228

    Server.Execute Error

    ASP 0229

    Server.Transfer Failed

    ASP 0230

    Server.Transfer Error

    ASP 0231

    Server.Execute Error

    ASP 0232

    Invalid Cookie Specification

    ASP 0233

    Cannot load cookie script source

    ASP 0234

    Invalid include directive

    ASP 0235

    Server.Transfer Error

    ASP 0236

    Invalid Cookie Specification

    ASP 0237

    Invalid Cookie Specification

    ASP 0238

    Missing attribute value

    ASP 0239

    Cannot process file

    ASP 0240

    Script Engine Exception

    ASP 0241

    CreateObject Exception

    ASP 0242

    Query OnStartPage Interface Exception

    ASP 0243

    Invalid METADATA tag in Global.asa

    ASP 0244

    Cannot Enable Session State

    ASP 0245

    Mixed usage of Code Page values

    ASP 0246

    Too many concurrent users. Please try again later.

    ASP 0247

    Bad Argument to BinaryRead.

    ASP 0248

    Script isn't transacted. This ASP file must be transacted in order to use the ObjectContext object.

    ASP 0249

    Cannot use IStream on Request. Cannot use IStream on Request object after using Request.Form collection or Request.BinaryRead.

    ASP 0250

    Invalid Default Code Page. The default code page specified for this application is invalid.

    ASP 0251

    Response Buffer Limit Exceeded. Execution of the ASP page caused the Response Buffer to exceed its configured limit.

  • Le Café Central de DeVa

    Outlook Object Model : Creating Outlook Categories programmatically and assign colors, shortcut keys to that


    In this blogpost, we will try to create the Outlook Categories programmatically using Outlook Object Model API. Also we will assign the relevant colors and shortcuts to that. Whenever we try with Outlook Object Model, it’s relatively simple.

    '[Code snippet to create Categories]
    Private Sub CreateCategory()
        Dim objNameSpace As NameSpace
        Dim objCategory As Category    
        ' Obtain a NameSpace object reference
        Set objNameSpace = Application.GetNamespace("MAPI")
        'Add the Category, set its color and shortcutkey, if any
        Set objCategory = objNameSpace.Categories.Add("SampleCat", OlCategoryColor.olCategoryColorDarkBlue, 
       ' Clean up
        Set objCategory = Nothing
        Set objNameSpace = Nothing
    End Sub
    Happy programming!!
  • Le Café Central de DeVa

    Outlook Object Model : Creating simple tasks programmatically using OOM & VBA?


    In this post, we will create the simple Outlook tasks programmatically using Outlook Object Model API & VBA. We do this by using the code snippet:

    '[Code Snippet for creating Simple Tasks using Outlook Object Model API & VBA]
    Private Sub CreateTasks()
        'Declare the Task item
        Dim objTask As TaskItem
        ' Create Outlook Task item
        Set objTask = Application.CreateItem(olTaskItem)
        'Define its values
        objTask.Subject = "Test Item"
        objTask.Body = "Test task item"
        objTask.Importance = olImportanceNormal
        objTask.Status = olTaskNotStarted
        objTask.NoAging = True
        'Save the task
        MsgBox "Task Created"
        ' Clean up.
        Set objTask = Nothing
    End Sub
  • Le Café Central de DeVa

    Download: Standalone Microsoft Exchange Server 2007 Service Pack 1 Help


    The Exchange Server 2007 SP1 Help can help you in the day-to-day administration of Exchange. Use this information to guide you through Exchange Server 2007 SP1 features, tasks, and administration procedures. This download contains a standalone version of Microsoft Exchange Server 2007 SP1 Help.

    Note: The self extractor default install location is C:\Program Files\Microsoft\Exchange Server\Bin. To view the most recent version of the Help file within Exchange Server, be sure to extract the Help file (exchhelp.chm) to the folder where the Help file is currently installed. You can search your local drive to find the location where the Help file is installed (typically C:\Program Files\Microsoft\Exchange Server\Bin).

  • Le Café Central de DeVa

    Download : Windows API code pack for .Net Framework


    The Code Pack is a source-code library that provides access to the new Windows 7 features (and some related Windows Vista features) from managed code. These features are not available to developers today in the .NET Framework. Minimum .NET Framework version required to use this library is 3.5.

    The individual features supported in this version (v0.90) of the library are:

    • Windows 7 Taskbar Jump Lists, Icon Overlay, Progress Bar, Tabbed Thumbnails, and Thumbnail Toolbars.
    • Known Folders, Windows 7 Libraries, non-file system containers, and a hierarchy of Shell Namespace entities.
    • Windows 7 Explorer Browser Control.
    • Shell property system.
    • Windows Vista and Windows 7 Common File Dialogs, including custom controls.
    • Windows Vista and Windows 7 Task Dialogs.
    • Direct3D 11.0, Direct3D 10.1/10.0, DXGI 1.0/1.1, Direct2D 1.0, DirectWrite, Windows Imaging Component (WIC) APIs. (DirectWrite and WIC have partial support)
    • Sensor Platform APIs
    • Extended Linguistic Services APIs
    • Power Management APIs
    • Application Restart and Recovery APIs
    • Network List Manager APIs
    • Command Link control and System defined Shell icons.

    What’s New in this update (v0.90):
    The new features added in this update of code pack are:
    • Tabbed Thumbnail and Thumbnail Toolbar features in Taskbar area.
    • Direct3D 10.1/10.0, Direct2D 1.0, DirectWrite and WIC APIs in the DirectX area
    • Power Management
    • Application Restart and Recovery
    • Command Link
    • System defined Shell icons
    • Network List Manager APIs
    Other enhancements done in this update are:
    • Bug fixes in all areas.
    • Many new and improved samples.
    • Addition of VB.NET samples in some areas.

    Happy programming!!

  • Le Café Central de DeVa

    Windows Mobile : Windows Mobile 6.5 Developer Tool Kit available


    If you’re a Windows Mobile developer, then this is for you.

    While this has been a much-awaited release for the developer community, some confusion has arisen in the media. To clarify, the Windows Mobile 6.5 Developer Tool Kit (DTK) is not an SDK. The DTK contains emulators, gesture APIs, and samples useful for developing Windows Mobile 6.5 applications (both Standard & Professional Emulators available). Developers will still need to install Visual Studio and the Windows Mobile 6 SDK prior to running the tool kit installer.

    The Windows Mobile 6.5 Developer Tool Kit adds documentation, sample code, header and library files, emulator images and tools to Visual Studio that let you build applications for Windows Mobile 6.5. This document contains important information about this package. The Windows Mobile 6 SDK must also be installed in order to use any of the Windows Mobile 6.5 Gesture API or samples. Windows Mobile 6.5 Developer Tool Kit comes with the following Emulator Images:

    • Windows Mobile 6.5 Professional Square Emulator
    • Windows Mobile 6.5 Professional QVGA Emulator
    • Windows Mobile 6.5 Professional WQVGA Emulator
    • Windows Mobile 6.5 Professional VGA Emulator
    • Windows Mobile 6.5 Professional WVGA Emulator
    • Windows Mobile 6.5 Standard Square Emulator
    • Windows Mobile 6.5 Standard QVGA Emulator

    Available locales:
    0804 CHS Chinese Simplified
    0409 USA English
    0407 GER German
    040c FRA French
    0410 ITA Italian
    0c0a ESN Spanish

    A new set of APIs is being introduced that will enable application developers to take advantage of the new Windows Mobile 6.5 touch gesture framework. The gesture APIs allow an application to handle touch gesture input and provide a visually consistent experience with the rest of the device UI. Note that the gesture APIs are only available on the Windows Mobile Classic and Professional SKUs. The headers and libraries are installed in the Windows Mobile SDK\Pocket PC\ folder. Samples that make use of these APIs are installed into the Windows Mobile 6.5 Developer Tool Kit\Samples\ folder.

    Happy programming!!

  • Le Café Central de DeVa

    General : Uncovering Memory bottlenecks


    Memory is often the source of performance problems, and you should always rule out memory problems before examining other areas of the system. Here’s an overview of counters that you’ll want to track to uncover memory, caching, and virtual memory (paging) bottlenecks.

    I read this wonderful article. You can read the full article online now.

  • Le Café Central de DeVa

    AD article: Managing multiple Active Directory schemas


    Each Active Directory forest has its own schema, which defines the objects and attributes that the directory service uses to store data.

    When organizations have multiple Active Directory forests, IT administrators have to manage multiple Active Directory schemas; ensuring consistency between schemas is vital when managing multiple forests.

    In the April issue of TechNet Magazine, John Policelli guides you through a streamlined process to manage multiple Active Directory schemas.

    Read the full article online now.

Page 1 of 1 (9 items)