www.nuneworld.net

October 29, 2012

Retrieving the COM class factory for component with CLSID {78EEF9EE-38E9-11D5-9B13-00E0B8184571} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0×80040154 (REGDB_E_CLASSNOTREG)).

Filed under: Software — Tags: , , — admin @ 12:56 pm

Despite the fact that COM Components are considered legacy technology now, because Microsoft never made a clear cut decision to retire COM Components in newer versions of their Operating System these Libraries still linger around in many Applications, and have made their way into many .NET based Applications through DLL Referencing. Here is an error I have come across from time to time that doesn’t tell you a whole lot unfortunately:

Retrieving the COM class factory for component with CLSID {XXXXXXXX-XX…} failed due to the following error: 80040154

There are several ways to resolve this issue. Here is a short list:

Modify your project’s platform from ‘Any CPU’ to ‘X86′ in Project Properties, Build/Platform’s Target in Visual Studio
If your Application is a Web-Based Application, try setting IIS to run in 32-bit mode. You can do this by going to IIS Manager, selecting the Application Pool, then choosing “Advanced Settings”. The second option from the top is “Enable 32-bit Applications”.
If your Application is Web-Based, it could be that the com object was not configured to allow launch and access permissions for the aspnet user identity. Under administrative tools > Component services under the tree view, go to Component Services > Computers > My Computer > DCOM Config and find the registered com object. Right click for properties. Under the security tag, customize the Permissions to allow asp.net user
Usually one of the above 3 methods solves this problem

October 16, 2012

insert bulk products images using csv Magento

Filed under: Software — Tags: — admin @ 2:37 pm

step 1. Insert one product in magento manualy.
By this you will get the csv file format. how magento accept the csv file for products.

step 2. Export all products as CSV using magento export tool
system > import/export > export

step 3. From step 2 you will get CSV file formate by which magento accept the products.

step 4. Now upload all your products images to the folder “magento_root/media/import”.

step 5. insert the same name and extension that has image have for example:
if you need to insert the image with name “img1.jpg” then you will insert the image name under image column like this “/img1.jpg”.
and also do not forgot to insert “/” in front of the image name.

September 11, 2012

The MIME type if JSON

Filed under: Software — Tags: , , — admin @ 8:45 am

If you like to display JSON on your IIS add MIME type : application/json

If you like to download your JSON file on your IIS ad MIME type: text/x-json

August 7, 2012

magento how to sort by attribute

Filed under: Software — Tags: — admin @ 2:04 am

You can set the ‘sort by’ drop down in the product listing with any attribute you want. e.g. release date.

In admin, go to catalog -> atrributes, select the attribute you want to sort by, and at the ‘frontend’ section at the bottom there is this setting
‘Used for sorting in product listing’ -> change it to Yes

It says this depends on the theme.
With the default theme this you dont need to change anything and it will appear in the toolbar.

July 27, 2012

Magento

Filed under: Software — admin @ 10:40 am

Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

If you receive this kind message and you are not able to load your store, than in your magento folder try to find
maintenance.flag file and delete, refresh your page, and now should be OK.

July 4, 2012

Asp.net pagging not visible when user e.Row.Cells[0].Visible C#

Filed under: Software — Tags: , , , — admin @ 12:01 pm

If you use: e.Row.Cells[0].Visible = false pegging of grid is not visible.

Solution:

e.Row.Cells[0].Visible = false;

In a gridview there are different types of rows i.e. Header,Footer,Pager, Separator and so on. If I set the visibility of first cell as hidden then all the information for that row will be hidden irrespective of the row type. Page numbers in gridview are placed on pager row type, so from the above code row of type pager becomes hidden.

To fix the issue we can change the above code as

if (e.Row.RowType != DataControlRowType.Pager)
e.Row.Cells[0].Visible = false;

June 14, 2012

Some good hacker hacked my blog…

Filed under: Software — Tags: , , — admin @ 11:24 am

So thanks for been good hacker and making no damage to any data except reseting my password… So if you like you can write here how you have done the trick… this blog is mainly how tings are done and solutions to some problems that i have struggled with i really don’t have any time now to start and reinstall new word press, and chacking secyrity … this blog should be archive of solutions… yes i want to be more active i hope i will be … so feel free to write…

January 20, 2012

Check your security.

September 26, 2011

Cant insert Cyrillic Macedonian or Russian characters into database when doing bulk insertion.

Filed under: Software, info — admin @ 10:07 am

If you are Bulk inserting informations in your database that contain  characters with value  greater than 127 or less than 32. then in your bulk insert procedure just add

CODEPAGE = { ’ACP’ }

and also be sure that your .csv file is saved in ANSI.

BULK INSERT
   [ database_name . [ schema_name ] . | schema_name . ] [ table_name | view_name ]
      FROM 'data_file'
     [ WITH
    (
   [ [ , ] BATCHSIZE = batch_size ]
   [ [ , ] CHECK_CONSTRAINTS ]
   [ [ , ] CODEPAGE = { 'ACP' | 'OEM' | 'RAW' | 'code_page' } ]
   [ [ , ] DATAFILETYPE =
      { 'char' | 'native'| 'widechar' | 'widenative' } ]
   [ [ , ] FIELDTERMINATOR = 'field_terminator' ]
   [ [ , ] FIRSTROW = first_row ]
   [ [ , ] FIRE_TRIGGERS ]
   [ [ , ] FORMATFILE = 'format_file_path' ]
   [ [ , ] KEEPIDENTITY ]
   [ [ , ] KEEPNULLS ]
   [ [ , ] KILOBYTES_PER_BATCH = kilobytes_per_batch ]
   [ [ , ] LASTROW = last_row ]
   [ [ , ] MAXERRORS = max_errors ]
   [ [ , ] ORDER ( { column [ ASC | DESC ] } [ ,...n ] ) ]
   [ [ , ] ROWS_PER_BATCH = rows_per_batch ]
   [ [ , ] ROWTERMINATOR = 'row_terminator' ]
   [ [ , ] TABLOCK ]
   [ [ , ] ERRORFILE = 'file_name' ]
    )]

September 21, 2011

Missing performance counters of MSSQL 2005

Filed under: Software — admin @ 11:51 pm

Missing performance counters of MSSQL, check if your MS SQL is 32 bit runing on 64 bit server and if its then do this

If you want to log you results using the CounterLogs functionality take the following steps

1) Stop the Performance Logs & Alerts service from services.msc

2) Open up the registry editor (regedit.exe), browse down to HKLM\System\CurrentControlSet\Services\Sysmonlog.

3) Change the ImagePath from the default value to %SystemRoot%\syswow64\smlogsvc.exe.( This would launch the 32-bit service on starting the Counter logs)

4) Open the 32-bit Perfmon from Start - Run - %SystemRoot%\syswow64\perfmon.exe, & add the SQL counter objects to a Counter log.

5) Set the various parameters of the Counter log, & start it to collect the data.

August 11, 2011

Google+ invitation ….

Filed under: Software — admin @ 11:50 pm

If you like Google+  invitation just leave comment with your  gmail account,  and you will have  your invitation as soon as i check my blog  ….

July 3, 2011

GRIDVIEW HIDDEN COLUMN DATA ACCESS

Filed under: Software — admin @ 1:24 am

If you have this kind of issue if, you can’t access data after you set your colum to visible false , you can do this kind of trick:

set a event on Row created and then do hidding od the data:

protected void GridView1_RowCreated(object sender, GridViewRowEventArgs e)

{

e.Row.Cells[0].Visible = false;

}

if you try to access data now you can, and that what we want :)

March 26, 2011

asus

Filed under: Software — admin @ 2:58 pm

Asus drivers find here: http://support.asus.com/download/download.aspx?SLanguage=en-us

June 4, 2010

Problem installing drupal with wam 2.0 server, php version 5.3.0

Filed under: Software — Tags: , , — admin @ 9:41 am

Problem installing drupal on wamp server 2.o  php 5.3.o

Function ereg() is deprecated in …..  drupal\includes\file.inc on line …

Solution:

open file
includes/file.inc
Goto line no xxx
where you can see something like this
elseif ($depth >= $min_depth && ereg($mask, $file))
Now add @ sign before ereg($mask, $file)
copy below line past this line
elseif ($depth >= $min_depth && @ereg($mask, $file))

May 13, 2010

Magento can’t log into admin after installation

Filed under: Software — admin @ 11:19 am

Some cookie issue, if you are running on a local host than you may experience this problem. So … locate app\code\core\Mage\Core\Model\Session\Abstract\Varien.php
open with ant editor, or notepad, and make comment like this:

// session cookie params
$cookieParams = array(

‘lifetime’ => $cookie->getLifetime(),

‘path’ => $cookie->getPath(),

// ‘domain’ => $cookie->getConfigDomain(),

//’secure’ => $cookie->isSecure(),

//’httponly’ => $cookie->getHttponly()

);

/*

if (!$cookieParams['httponly']) {

unset($cookieParams['httponly']);

if (!$cookieParams['secure']) {

unset($cookieParams['secure']);

if (!$cookieParams['domain']) {

unset($cookieParams['domain']);

}

}

}

 

if (isset($cookieParams['domain'])) {

$cookieParams['domain'] = $cookie->getDomain();

}

*/

« Newer PostsOlder Posts »

Powered by WordPress