Upgrade .Net IIS server from Windows 2003 to Windows 2008 caused applications with Excel upload failed.

We upgraded  .Net IIS server from Windows 2003 to Windows 2008.
After upgrade
1) those applications that has function to upload from Excel failed.  
2) some links intermittently work / failed. Sample Error as below:

Error (LoadLayer): System.Runtime.InteropServices.COMException (0x80080005): Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80080005.
   at RMS.ReadExcel.getExcelScannerJobFile()
   at RMS.SJF.LoadLayer()



Please help if you have any idea  to solve this. Thank you.
Panda 5888EngineerAsked:
Who is Participating?
 
mwenenkoCommented:
Start run DCOMCNFG,
Right click on the My Computer -> properties.
Click on COM Securities tab

In Access Permissions, click "Edit Defaults" and add Network Service to it and give it "Allow local access" permission. Do the same for <Machine_name>\Users.

In launch and Activation Permissions, click "Edit Defaults" and add Network Service to it and give it "Local launch" and "Local Activation" permission. Do the same for <Machine_name>\Users
0
 
Panda 5888EngineerAuthor Commented:
Hi Expert,

Done as proposed
Start run DCOMCNFG,
 Right click on the My Computer -> properties.
 Click on COM Securities tab

 In Access Permissions, click "Edit Defaults" and add Network Service to it and give it "Allow local access" permission. Do the same for <Machine_name>\Users.

 In launch and Activation Permissions, click "Edit Defaults" and add Network Service to it and give it "Local launch" and "Local Activation" permission. Do the same for <Machine_name>\Users

and rerun again the application.
HIt the same error

error message 1:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Exception Summary
-------------------------------
5/21/2015 : 4:08 PM
-------------------------------
System.Runtime.InteropServices.COMException (0x80080005): Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80080005.
   at FW.ReadExcel.getExcelProcessSpec(String specFilePath)
   at FW.extract.ExtractXlsToDB(String uniqKey, String attSpecName)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
error message 2:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Error(Load Steps to FWEXCEL_PROCESSSTEP): System.Runtime.InteropServices.COMException (0x80080005): Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80080005.
   at FW.ReadExcel.getExcelProcessSpec(String specFilePath)
   at FW.extract.ExtractXlsToDB(String uniqKey, String attSpecName)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Please help
0
 
Rainer JeschorCommented:
Hi,
WIndows Server 2008 is 64bit only - therefore all IIS sites / applications run in 64bit mode by default.
Have you set your IIS application to run in 32 bit mode?
HTH
Rainer
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
Panda 5888EngineerAuthor Commented:
Hi,
Meaning that originally all the 32 bit programs was not able to run in WIn 2008?
Please advise
0
 
Panda 5888EngineerAuthor Commented:
Hi,
May I ask if any way to run 32 bit programs in 64 bit env with minimal recoding ?
0
 
Panda 5888EngineerAuthor Commented:
May I ask what is Desktop Heap Memory ?
0
 
Panda 5888EngineerAuthor Commented:
No comment
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.