473,657 Members | 2,507 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Active X control error "Automation server can't create object" when running in server

3 New Member
hi friends,
I'm new to this forum.
I have created and build a dll but
at first it was getting the error"Automatio n server can't create object"

after a lot of head ache,I got the script running.

for that I executed the commands regasm path/mydll.dll

regasm path/mydll.dll/tlb
created strong name
gacutil mydll.dll

and when executed the web application I got the alert.

<script type="text/javascript" language="javas cript">
<!-- Load the ActiveX object -->
var x = new ActiveXObject(" DimensionsClien tsSystemInfo.Di mensionsClients SystemInfo");

alert(x.MacID() );

var XLApp = new ActiveXObject(" Word.Applicatio n");

alert(XLApp.Ver sion);

</script>



all works fine but when I published the web application and executed it from the server,the same error repeats

"Automation server can' create object"

should I alter any another settings???
I wonder the word application alert is also not getting...
pls help.....

dim505
Mar 6 '08 #1
0 4258

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

Similar topics

2
7106
by: sonu | last post by:
I am tring to create activexobject like var Fo =new ActiveXObject("Scripting.FileSystemObject"); but i am finding error that automation server cant create object any help
1
2276
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
4
214401
by: Tim | last post by:
The following javascript has been working just fine for the last 5 months. Now, for no apparent reason, the following error occurs when the script is run. "Automation server can't create object" The script is below. Please note that the parameter passed to the function is a valid path/filename.
0
1016
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
14755
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 error in the DEV environment (Application deployed in the linux box). Following is the javascript code to detect the processor, function detectProcessor() { var locator = new ActiveXObject
2
6488
by: =?Utf-8?B?QmFkaXM=?= | last post by:
I'm doing a server side automation(I know it's bad but..) and its working fine locally and when accessing it from a remote machine using web browser is was giving me this error"Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005". so I configured the server using dcomcnfg as described in this link: http://support.microsoft.com/kb/288368/ and know...
3
2984
by: =?Utf-8?B?QmFkaXM=?= | last post by:
I'm doing a server side automation(I know it's bad but..) and its working fine locally and when accessing it from a remote machine using web browser is was giving me this error"Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005". so I configured the server using dcomcnfg as described in this link: http://support.microsoft.com/kb/288368/ and know...
3
2020
by: rcnairc2k | last post by:
while i am using File system object in Java script. i got this error " Automation server can't create object" my code is for transfer a file from users system to host location.. Working in ASP.NET 2.0 my code is.. function TransferFile(fileSpec,fileName) { try {
5
23758
by: vipinkrajput | last post by:
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:- var fso = new ActiveXObject("Scripting.FileSystemObject"); var s = fso.OpenTextFile("C:\\LogFile.txt",8,true,0);...
0
8425
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8743
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8522
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8622
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7355
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6177
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4333
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2745
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.