473,396 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

"Automation server can't create object" error in IE 7.0

Hi,
i m using javascript for writing in a file,the code is correctly working with IE 6.0, i m getting the error like "Automation server can't create object" in IE 7.0 while using ActiveXObject("Scripting.FileSystemObject");
can any one please suggest a solution for this problem.

code that i m using is:-

Expand|Select|Wrap|Line Numbers
  1. var fso = new ActiveXObject("Scripting.FileSystemObject"); 
  2. var s = fso.OpenTextFile("C:\\LogFile.txt",8,true,0);
  3. s.WriteLine("some string");
  4.  
thanks in advance.
Sep 18 '07 #1
5 23744
acoder
16,027 Expert Mod 8TB
Welcome to TSDN!

I've changed the thread title to better describe the problem.

Most likely this error is caused by the ActiveX not being allowed to run. Have a look at this thread and see if it helps.
Sep 18 '07 #2
Welcome to TSDN!

I've changed the thread title to better describe the problem.

Most likely this error is caused by the ActiveX not being allowed to run. Have a look at this thread and see if it helps.
You need to install latest MSXML parser service pack on the client machine, you can install the same from the below link

http://www.microsoft.com/downloads/details.aspx?FamilyID=3144b72b-b4f2-46da-b4b6-c5d7485f2b42&DisplayLang=en

Hope this will resolve the issue
Sep 18 '07 #3
Hi jaweed it is giving the same error again.
Sep 18 '07 #4
acoder
16,027 Expert Mod 8TB
You will have to change your security settings to allow the ActiveX control to run.
Sep 19 '07 #5
aisha
1
Set "Initialize and script ActiveX control not
marked as safe" in the Internet Options to Enable. This fix worked for me.
Oct 28 '11 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: brazilnut52 | last post by:
I am going to outline the steps I go through to produce the problem. Hopefully this will help you understand the problem better I have created a simple COM DLL in .NET by using the COM class...
2
by: Mike John | last post by:
I am trying to use the shell object to send keys to the explorer browser to run the send page funcion. I am receiving the above error only when I put my html file in the web server...
1
by: Ueslei R. Valentini | last post by:
Hi! Does anyone figured out this error when trying to create a new page in a web project under Windows2003, using Visual Studio .Net 2003? "Automation server can't create object " HSH Ueslei
0
by: Ram | last post by:
When I try to create a new project in VC#.net, this error message is coming. "Automation server cannot create objcet" can anybody help me?
1
by: drk.kumar | last post by:
I have an implementation issue with WMI scripts to check the user machine processor. The implementation is working fine in the local machine (Windows XP operating system). It is throwing script...
1
by: Emie | last post by:
Dear All, I would be most grateful if some one could please help me. My database was working fine untill yesterday but suddenly today when I try to click on a Find button or Search button OR even...
0
by: dim505 | last post by:
hi friends, I'm new to this forum. I have created and build a dll but at first it was getting the error"Automation server can't create object" after a lot of head ache,I got the script...
0
by: syedsarfaraz | last post by:
Hi There! Could anybody please help regarding the below issue. We had a COM+ component deployed on Windows 2000/NT machine it was working fine, I mean when it was being invoked from other...
3
by: Keith G Hicks | last post by:
I created a dll for com (in vb.net 2005) so that I could access it's functions from an ms access app. I created the tlb file successfully. On my dev machine I referenced it in my access app and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.