[ADS] Unable to find the requested .Net Framework Data Provider. It may not be installed.

Ref No:
100525-2319
Last Modified:
Wednesday, May 26, 2010
Product:
Advantage .NET Data Provider
Category:
Configuration
Title:
Unable to find the requested .Net Framework Data Provider. It may not be installed.
Problem Description:
The problem affects the ADO .NET data provider for ADS 9.1 as ADS 9.1 was the first to ship with 64-bit capability.

In Windows environments where IIS defaults to 64-bit, an install of the ADO .NET data provider will result in the error,
Unable to find the requested .Net Framework Data Provider. It may not be installed., in the web application. This is because the ace32.dll file supplied with the provider is 32-bit.

Solution:

This problem has two solutions.

  1. The web application can be configured to run as 32-bit
    To do this follow these steps:

    1. Open the IIS Manager
    2. Select the web server
    3. Select Application Pools
    4. Create a new Application Pool, or select “DefaultAppPool”
    5. Go to advanced settings
    6. Change “Enable 32-bit Applications” to true

    If you created a new Application Pool, you can set the Pool to be used to a site or an Application by changing its properties.

  2. The 64-bit dlls can be copied in from a 64-bit server installation.
Posted in Database, Tech Note | Tagged , , , , | Leave a comment

The application pool that you are trying to use has the ‘managedRuntimeVersion’ property set to ‘v2.0′. This application requires ‘v4.0′.

Error Message :

The application pool that you are trying to use has the ‘managedRuntimeVersion’ property set to ‘v2.0′. This application requires ‘v4.0′.

Posted in ASP.NET, Tech Note | Tagged | Leave a comment

Inject Script and Css files into _Layout from view

There are many way to insert loading script and css tags into _Layout.

And I like to use Section, because it is the most simple I think.

[View]

@Section Header {

< script src="@Url.Content("~/Scripts/app.js")" type="text/javascript">< /script>

}

[_Layout]

.
// [IN HEAD]
.
@if(IsSectionDefined("Header")){
   @RenderSection("Header")
}
Posted in ASP.NET, Tech Note | Leave a comment

Central Park, New York, 3/31/2012

Posted in Others, Photo | Tagged , | Leave a comment

Fifth Ave, New York, 03/31/2012

Posted in Others, Photo | Tagged , , | Leave a comment

Finally! I get a new 50mm F1.8 E mount lens!

Quick test,

Posted in Others, Photo | Tagged , , | Leave a comment

How to migrate SVN repository?

Now my repository locate in /var/www/vhosts/repository/zend

and I need to migrate the repository to /var/svn/repository/zend

1. Dump repository

$ svnadmin dump REPOSITORY_PATH > FILE_NAME

# svnadmin dump /var/www/vhosts/repository/zend > zendProjectRepo.dump

2. Move the dump file to new path.

# mv /var/www/vhosts/repository/zend/zendProjectRepo /var/svn/repository/

3. Create new repository and load the dump file

# cd /var/svn/repository/

# svnadmin create zend

# svnadmin load zend < zendProjectRepo.dump

Done!, now we just migrate svn repository to new location :)

Posted in Tech Note, Tools | Tagged , , | Leave a comment

Extjs 4, Hide drop down menu box?

Now I am testing and learning ExtJs4 to use for my new project.

But so far, I do not feel very much that I need move to ExtJs 4 :p

Anyway it is developer’s destiny to follow new version and new trend @..@

While testing, I found a ridiculous happening.

I can not hide my drop down menu box @.@

When I click the button on the tool bar, the menu opens up and stay open.

So, I had to click off to hide drop down menu box. @.@

Hire is my tool bar code,

{
    xtype: 'toolbar',
    itemId : 'mainMenu',
    items: [
    {
        text : 'Main Menu 1',
        menu : {
        xtype: 'menu',
        items : [
            {
		    xtype: 'button',
		    text: 'Contacts',
		    itemId : 'extjs'
            },{
		    xtype: 'button',
		    text: 'Orders',
		    itemId: 'extjs2'
            }
        ]
        }
    },{
        text : 'Main Menu 2',
        xtype : 'button',
        itemId : 'extjs3'
    }
    ]
}

Solution,

I hook events and add hide code into the menu controller.

this.control({
    '#mainMenu *': {
	click : function(obj){
	    // codes
	}
    },
    "#mainMenu menu" : {
	'mouseleave' : function(menu){
	    menu.hide();
	},
	'click' : function(menu){
	    menu.hide();
	}
    }
});
Posted in Ext-JS, Tech Note | Tagged , , , | Leave a comment

How to disable layout for some controller

There are some case we need call controller(action)-view with out Zend Layout (Layout.phtml)

In that case, add this line to your action.

$this->_helper->layout->disableLayout();
Posted in Tech Note, Zend Framework | Leave a comment

Empty …

Posted in Others, Photo | Tagged | Leave a comment