469,326 Members | 1,423 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,326 developers. It's quick & easy.

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 4030

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
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.