<?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: permission denied for setting DOM property</title><link>https://www.infopathdev.com:443/forums/thread/14591.aspx</link><pubDate>Tue, 30 May 2006 19:45:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14591</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14591.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14591</wfw:commentRss><description>Glad you were able to get it figured out!</description></item><item><title>Re: permission denied for setting DOM property</title><link>https://www.infopathdev.com:443/forums/thread/14590.aspx</link><pubDate>Tue, 30 May 2006 08:45:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14590</guid><dc:creator>mary_l</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14590.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14590</wfw:commentRss><description>Hi again!&lt;br /&gt;&lt;br /&gt;Guess i was a bit to quick with posting my question. &lt;br /&gt;Just realized that the permission denied error was just quite a newbie error because of me being new and careless... so its solved now.&lt;br /&gt;&lt;br /&gt;</description></item><item><title>permission denied for setting DOM property</title><link>https://www.infopathdev.com:443/forums/thread/12878.aspx</link><pubDate>Tue, 30 May 2006 08:25:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12878</guid><dc:creator>mary_l</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12878.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12878</wfw:commentRss><description>Hi! &lt;br /&gt;&lt;br /&gt;I have an infopath form that has some fields and a button. When the button is clicked i would like to open up a new different form (based on xml) that has some of its fields already filled in with values from fields in the first form. But i get a permission denied error and cant figure out why. The code that generates the error is: &lt;br /&gt;&lt;br /&gt;var oApp = new ActiveXObject("InfoPath.Application"); &lt;br /&gt;var oXDocumentCollection = oApp.XDocuments; &lt;br /&gt;Application.ActiveWindow.Close(true); &lt;br /&gt;var oXDocument = oXDocumentCollection.NewFromSolution("http://site/Uppdrag/Fakturor/Forms/template.xsn"); &lt;br /&gt;oXDocument.DOM.setProperty("SelectionNamespaces", 'xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2006-05-05T11:16:38"'); &amp;lt;---- This row causes the permission denied error &lt;br /&gt;&lt;br /&gt;var fProjNr = oXDocument.DOM.selectSingleNode("//my:projektNummer"); &lt;br /&gt;var fProjName = oXDocument.DOM.selectSingleNode("//my:projektNamn"); &lt;br /&gt;&lt;br /&gt;fProjNr.text = uProjNrString; &lt;br /&gt;fProjName.text = uProjNameString;</description></item></channel></rss>