472,126 Members | 1,445 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

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

3
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 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="javascript">
<!-- Load the ActiveX object -->
var x = new ActiveXObject("DimensionsClientsSystemInfo.Dimensi onsClientsSystemInfo");

alert(x.MacID());

var XLApp = new ActiveXObject("Word.Application");

alert(XLApp.Version);

</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 4128

Post your reply

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

Similar topics

2 posts views Thread by sonu | last post: by
3 posts views Thread by =?Utf-8?B?QmFkaXM=?= | last post: by

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.