<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/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/" xmlns:cs="http://blogs.iis.net/"><channel><title>General</title><link>http://forums.iis.net/1029.aspx</link><description>Start forum discussions here around general questions about the IIS platform including SMTP &amp; NNTP.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: OXC control is not working on IIS but works on Visual Webdeveloper webserver</title><link>http://forums.iis.net/thread/1910534.aspx</link><pubDate>Thu, 16 Jul 2009 13:54:46 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910534</guid><dc:creator>jaydeepsatara</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1910534.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1029&amp;PostID=1910534</wfw:commentRss><description>&lt;p&gt;Thank you very much.&lt;/p&gt;&lt;p&gt;Then I will go with the traditional way of implementation i.e. through VB Script. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: OXC control is not working on IIS but works on Visual Webdeveloper webserver</title><link>http://forums.iis.net/thread/1910526.aspx</link><pubDate>Thu, 16 Jul 2009 12:26:12 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910526</guid><dc:creator>tomkmvp</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1910526.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1029&amp;PostID=1910526</wfw:commentRss><description>&lt;p&gt;As I said earlier, an OCX is typically used by a client app and not server code.&amp;nbsp; Your best bet is to get support from the developer of the OCX to see what is needed to run this from server code.&amp;nbsp; There&amp;#39;s not much more we can do to help you here as you&amp;#39;re using something in a way it wasn&amp;#39;t designed for ...&lt;/p&gt;</description></item><item><title>Re: OXC control is not working on IIS but works on Visual Webdeveloper webserver</title><link>http://forums.iis.net/thread/1910525.aspx</link><pubDate>Thu, 16 Jul 2009 12:14:09 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910525</guid><dc:creator>jaydeepsatara</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1910525.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1029&amp;PostID=1910525</wfw:commentRss><description>&lt;p&gt;This is really very informative. I do not having any Idea about this. Thanks.&lt;/p&gt;&lt;p&gt;I tryed this but it is still not working.&lt;/p&gt;&lt;p&gt;Because In OCX control the code is written such that, data is fetched from the Current User&amp;nbsp; registery. &lt;/p&gt;&lt;p&gt;I think then I need to change the code in OCX control also, i.e. to read HKEY\.Default right?&lt;/p&gt;&lt;p&gt;Or is there any another solution?&lt;/p&gt;</description></item><item><title>Re: OXC control is not working on IIS but works on Visual Webdeveloper webserver</title><link>http://forums.iis.net/thread/1910396.aspx</link><pubDate>Wed, 15 Jul 2009 15:10:13 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910396</guid><dc:creator>tomkmvp</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1910396.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1029&amp;PostID=1910396</wfw:commentRss><description>&lt;p&gt;In a server environment there is no &amp;quot;CURRENT USER&amp;quot; so IIS can&amp;#39;t find that key.&amp;nbsp; You might want to try this technique ...&lt;/p&gt;
&lt;p&gt;&lt;a href="http://support.microsoft.com/?kbid=184291"&gt;http://support.microsoft.com/?kbid=184291&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: OXC control is not working on IIS but works on Visual Webdeveloper webserver</title><link>http://forums.iis.net/thread/1910339.aspx</link><pubDate>Wed, 15 Jul 2009 06:28:18 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910339</guid><dc:creator>jaydeepsatara</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1910339.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1029&amp;PostID=1910339</wfw:commentRss><description>&lt;p&gt;I am reading registry key from&amp;nbsp; HKEY_CURRENT_USER\Software\TRG&lt;/p&gt;&lt;p&gt;TRG is the application name an its registry settings.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;But, When I run Application from visual studio it populate and call
all methodes/properties of control as expected, But when I tries to do same after
deploying on local IIS, the OCX control is not gets populated and
does&amp;#39;t giving any error on page / in event logger. &lt;/p&gt;</description></item><item><title>Re: OXC control is not working on IIS but works on Visual Webdeveloper webserver</title><link>http://forums.iis.net/thread/1910254.aspx</link><pubDate>Tue, 14 Jul 2009 14:40:34 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910254</guid><dc:creator>tomkmvp</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1910254.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1029&amp;PostID=1910254</wfw:commentRss><description>&lt;p&gt;No.&amp;nbsp; Anything blocking that would be permissions related.&amp;nbsp; What registry key(s) are you reading?&lt;/p&gt;
&lt;p&gt;Also, FWIW, an OCX is typically a client object and not a server object.&lt;/p&gt;</description></item><item><title>Re: OXC control is not working on IIS but works on Visual Webdeveloper webserver</title><link>http://forums.iis.net/thread/1910202.aspx</link><pubDate>Tue, 14 Jul 2009 05:13:09 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910202</guid><dc:creator>jaydeepsatara</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1910202.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1029&amp;PostID=1910202</wfw:commentRss><description>&lt;p&gt;I tried it but&amp;nbsp; my application is not reading registry. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Is there any settings on IIS to allow application to read system registery?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: OXC control is not working on IIS but works on Visual Webdeveloper webserver</title><link>http://forums.iis.net/thread/1910110.aspx</link><pubDate>Mon, 13 Jul 2009 14:04:21 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910110</guid><dc:creator>tomkmvp</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1910110.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1029&amp;PostID=1910110</wfw:commentRss><description>&lt;p&gt;Regmon.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://technet.microsoft.com/en-us/sysinternals/bb896652.aspx"&gt;http://technet.microsoft.com/en-us/sysinternals/bb896652.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: OXC control is not working on IIS but works on Visual Webdeveloper webserver</title><link>http://forums.iis.net/thread/1910109.aspx</link><pubDate>Mon, 13 Jul 2009 13:59:33 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910109</guid><dc:creator>jaydeepsatara</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1910109.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1029&amp;PostID=1910109</wfw:commentRss><description>&lt;p&gt;How to check for account accessing the registry have permission to the
registry?&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have deployed application with administrative previlages.&lt;/p&gt;&lt;br /&gt;</description></item><item><title>Re: OXC control is not working on IIS but works on Visual Webdeveloper webserver</title><link>http://forums.iis.net/thread/1910108.aspx</link><pubDate>Mon, 13 Jul 2009 13:53:26 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910108</guid><dc:creator>tomkmvp</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1910108.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1029&amp;PostID=1910108</wfw:commentRss><description>&lt;p&gt;As Jeff said ...&amp;nbsp; 
&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/iis/images/icon-quote.gif"&gt; &lt;strong&gt;jeff@zina.com:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; Does the account accessing the registry have permission to the registry?&amp;nbsp; Most likely the ASP.NET process account needs access, but that&amp;#39;s dependent on how you set it up.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;</description></item><item><title>Re: OXC control is not working on IIS but works on Visual Webdeveloper webserver</title><link>http://forums.iis.net/thread/1910105.aspx</link><pubDate>Mon, 13 Jul 2009 13:46:52 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910105</guid><dc:creator>jaydeepsatara</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1910105.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1029&amp;PostID=1910105</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have deployed the application on local IIS and with administrative previlages.&lt;/p&gt;&lt;p&gt;But the case happens that; &lt;/p&gt;&lt;p&gt;I
have created .dll file for the old OCX control and having reference
added in the web application. When I call, objAxtsARC.CreateControl();
this objAxtsARC object get populated from the system registery. Then by
using above code I am calling all the properties and methodes of this
control.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;When I run Application from visual studio it call
all methodes of control as expected, But when I tries to do same after
deploying on local IIS, the OCX control is not gets populated and
does&amp;#39;t giving any error on page / in event logger. &lt;/p&gt;&lt;p&gt;Is there any requirement to load this control on IIS to use it from the IIS?&lt;/p&gt;&lt;p&gt;Is there any setting on IIS to make OCX control to read system registery? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: OXC control is not working on IIS but works on Visual Webdeveloper webserver</title><link>http://forums.iis.net/thread/1910098.aspx</link><pubDate>Mon, 13 Jul 2009 12:57:54 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910098</guid><dc:creator>jeff@zina.com</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1910098.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1029&amp;PostID=1910098</wfw:commentRss><description>&lt;p&gt;Does the account accessing the registry have permission to the registry?&amp;nbsp; Most likely the ASP.NET process account needs access, but that&amp;#39;s dependent on how you set it up.&lt;/p&gt;
&lt;p&gt;Jeff&lt;/p&gt;</description></item><item><title>OXC control is not working on IIS but works on Visual Webdeveloper webserver</title><link>http://forums.iis.net/thread/1910077.aspx</link><pubDate>Mon, 13 Jul 2009 08:41:32 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910077</guid><dc:creator>jaydeepsatara</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1910077.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1029&amp;PostID=1910077</wfw:commentRss><description>&lt;p&gt;My code contains OXC control which populate itself from registry.
This OXC is runing on STA thread. While I am running this application
from Visual studio it runs as expected. But when I am trying to run the
application after deploying it on IIS it is not working. The OXC
control is populated with all values as empty.&lt;/p&gt;&lt;p&gt;

Could you please check with this issue.

&lt;/p&gt;&lt;p&gt;The code sniffet is as bellow;

&lt;/p&gt;&lt;p&gt;protected void btnViewOfferSCR9NXFer_Click(object sender, EventArgs e)
        &lt;/p&gt;&lt;p&gt;{
            &lt;/p&gt;&lt;p&gt;Thread tNITransfer = new Thread(new ThreadStart(NITransferCall));&amp;nbsp;&amp;nbsp;&amp;nbsp;
            tNITransfer.SetApartmentState(ApartmentState.STA);
            tNITransfer.Start();
        &lt;/p&gt;&lt;p&gt;}

 &lt;/p&gt;&lt;p&gt;private void NITransferCall()
        &lt;/p&gt;&lt;p&gt;{&lt;/p&gt;&lt;p&gt;
            AxtsARC objAxtsARC;
            &lt;/p&gt;&lt;p&gt;objAxtsARC = new AxtsARC();&lt;/p&gt;&lt;p&gt;
            objAxtsARC.CreateControl();&lt;/p&gt;&lt;p&gt;
            objAxtsARC.XferToCampaign(12, true, 0, true);&lt;/p&gt;&lt;p&gt;
        }&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The OCX object is populating but all of its default values. &lt;/p&gt;It is not reading registery of the server.&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>