<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.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/"><channel><title>Security</title><link>http://forums.asp.net/25.aspx</link><description>All about ASP.NET security (authentication, authorization, membership, roles, etc.) and the Login controls. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=24&amp;c=17" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: System.Unauthorized.Access.Exception When call Excel Application</title><link>http://forums.asp.net/thread/1707832.aspx</link><pubDate>Mon, 14 May 2007 07:16:46 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1707832</guid><dc:creator>XiaoYong Dai – MSFT</dc:creator><author>XiaoYong Dai – MSFT</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1707832.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1707832</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I should wish this article to be of use to you for the solution of&amp;nbsp;the problem&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;Click &lt;b&gt;Start&lt;/b&gt;, click &lt;b&gt;Run&lt;/b&gt;, and then type &lt;b&gt;DCOMCNFG&lt;/b&gt;.&lt;/span&gt; 
&lt;/li&gt;&lt;li&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;Click &lt;b&gt;Component Services&lt;/b&gt;. Select &lt;strong&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;DCOM Config&lt;/span&gt;&lt;/strong&gt; on&amp;nbsp;&lt;strong&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;My computer&lt;/span&gt;&lt;/strong&gt;. &lt;/span&gt;
&lt;/li&gt;&lt;li&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;Set the &lt;b&gt;Default Impersonation Level&lt;/b&gt; to &lt;b&gt;Identify&lt;/b&gt; (&lt;b&gt;Impersonate&lt;/b&gt; also works). &lt;/span&gt;
&lt;/li&gt;&lt;li&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;Set the &lt;strong&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;SecurityProperties &lt;/span&gt;&lt;/strong&gt;of &lt;b&gt;Your DLL&lt;/b&gt;. Assign the &lt;strong&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;Launch and Activation Permissions, AccessPermissions &lt;/span&gt;&lt;/strong&gt;to the ASP.NET running&amp;nbsp;Identity&lt;/span&gt; 
&lt;/li&gt;&lt;li&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;Save your setting and try your code again.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&lt;a href="http://support.microsoft.com/kb/257757/en-us"&gt;&lt;font color=#7395c1&gt;http://support.microsoft.com/kb/257757/en-us&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;However, Microsoft does not recommend or support server-side Automation.&lt;/p&gt;</description></item><item><title>System.Unauthorized.Access.Exception When call Excel Application</title><link>http://forums.asp.net/thread/1703852.aspx</link><pubDate>Thu, 10 May 2007 13:13:22 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1703852</guid><dc:creator>utardylan</dc:creator><author>utardylan</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1703852.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1703852</wfw:commentRss><description>&lt;p&gt;i face a problem when i call the Excel COM+. It does not work. &lt;/p&gt;&lt;p&gt;it occurs the error "System.Unauthorized.Access.Exception : Access is denied"&lt;/p&gt;&lt;p&gt;the weird thing is i run in ASP.NET the problem will occur . If i run VB.NET it was ok&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;anyone helps please!!!!!!!!!!!!!!!!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;dylan&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>