By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,191 Members | 1,067 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,191 IT Pros & Developers. It's quick & easy.

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

P: 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
Share this question for a faster answer!
Share on Google+

Post your reply

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