Prafulla Sahu

Prafulla Sahu

  • NA
  • 213
  • 21.7k

Automation server can't create object

May 31 2017 1:59 AM
Hi,
 
I am having a classic asp web site, classic asp pages containing server side javascript codes.
 
When I am trying to access the web site it's throwing an error i.e. "Automation server can't create object". After encountered with this error if I am recycling the app pool the error is going away. So whenever the error is coming I am doing app pool recycle and this issue is happening acoross all the users not specific to a single system. 
 
I found some suggestion i.e for browser specific but this issue is not browser specific then I saw some code which is causing the issue.
 
In Code many places I saw something like below
 
Server.CreateObject("Msxml2.FreeThreadedDOMDocument.6.0")  and 
 
var Excel = new ActiveXObject("Msxml2.DOMDocument.6.0"); 
 
may be this is causing the issue.  
 
 
Any suggestions how to get rid from this issue?? 
 
 

Answers (2)