<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Automation Server can't create Object</title><link>https://www.infopathdev.com:443/forums/thread/13219.aspx</link><pubDate>Fri, 06 May 2005 20:21:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13219</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13219.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13219</wfw:commentRss><description>I dont think this question is related to InfoPath, its more of a security issue I guess. Here are the things that you can try it out&lt;br /&gt;&lt;br /&gt;1) Security Settings in your IE do not allow for this.&lt;br /&gt;   a) Are you an admin on the box ?&lt;br /&gt;   b) Where is the form published ?&lt;br /&gt;&lt;br /&gt;You can try settign this In Your IE.&lt;br /&gt;change settings on Internet Explorer , Tools, Internet options, Security, custom level and then enable  or prompt "Initializing and Script Activex controls not marked as safe"  This means lower the security in browser&lt;br /&gt;&lt;br /&gt;2) your scripting engine instalatiion maybe corrupted&lt;br /&gt;   You might get one from&lt;a target="_blank" href=http://www.microsoft.com/downloads/details.aspx?FamilyID=0a8a18f6-249c-4a72-bfcf-fc6af26dc390&amp;DisplayLang=en&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=0a8a18f6-249c-4a72-bfcf-fc6af26dc390&amp;DisplayLang=en&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3) Try searching for "ActiveXObject Wscript.Shell automation server can't create object" in google and you might find something useful.&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;InfoPathDev India</description></item><item><title>Automation Server can't create Object</title><link>https://www.infopathdev.com:443/forums/thread/12450.aspx</link><pubDate>Fri, 06 May 2005 13:27:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12450</guid><dc:creator>MollocH</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12450.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12450</wfw:commentRss><description>&lt;pre&gt;	var wshShell = new ActiveXObject("Wscript.Shell");&lt;br /&gt;	var wshEnv = wshShell.Environment("Process");&lt;br /&gt;	var username = wshEnv.Item("UserName"); &lt;br /&gt;	XDocument.DOM.selectSingleNode("/my:name").text = username;&lt;/pre&gt;	&lt;br /&gt;&lt;br /&gt;this is the extract of the code ... I always get an error message, that the "automation server can't create object". What should I do ?&lt;br /&gt;&lt;br /&gt;My configuration: Win2k3 server SP1, Infopath SP1 (everything patched)&lt;br /&gt;&lt;br /&gt;hopefull&lt;br /&gt;&lt;br /&gt;Sebastian</description></item></channel></rss>