<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Trace File Logging and File I/O Permissions</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Trace File Logging and File I/O Permissions</description>
  <pubDate>Wed, 10 Jun 2026 13:14:28 -700</pubDate>
  <lastBuildDate>Wed, 06 Jun 2007 15:59:10 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=72</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Trace File Logging and File I/O Permissions :  Answer: Are you running the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=72&amp;PID=150#150</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=21" rel="nofollow">IdeaBlade</a><br /><strong>Subject:</strong> 72<br /><strong>Posted:</strong> 06-Jun-2007 at 3:59pm<br /><br /><DIV =Secti&#111;n1><P =Questi&#111;n style="MARGIN: 0in 0in 0pt"><strong><EM><FONT face="Times New Roman" size=3>Answer:</FONT></EM></strong></P><P =Ms&#111;normal style="MARGIN: 8pt 0in 0pt"><FONT face="Times New Roman" size=2>Are you running the Persistence Service under IIS with WinForms clients, or is this an ASP.NET application?</FONT></P><P =Ms&#111;normal style="MARGIN: 8pt 0in 0pt"><FONT face="Times New Roman" size=2>DevForce applications, if using remoting, do require full trust; so the server always needs full trust.&nbsp; Two-tier applications, including ASP.NET applications, can run with reduced privileges.</FONT></P><P =Ms&#111;normal style="MARGIN: 8pt 0in 0pt"><FONT face="Times New Roman" size=2>Trace file logging can be turned off by leaving the file name out of the .ibconfig file, like this: &lt;logFile&gt;&lt;/logFile&gt;.&nbsp; The directory the log file is written to is determined by the location of the .ibconfig file if you haven’t provided the full path in the &lt;logFile&gt; element.&nbsp; This means that if your .ibconfig file was found embedded in the AppHelper assembly then by default the log file will be written to that directory too.&nbsp; Under IIS this is a little trickier, since the final compiled assembly in the Temporary ASP.NET files directory is used.&nbsp; There’s some info in the Developer’s Guide about IIS deployments – including how to specify a log file directory and locate the .ibconfig – which may help.</FONT></P></DIV><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: EN-US; mso-bidi-: AR-SA"><BR style="PAGE-BREAK-BEFORE: always; mso-break-: secti&#111;n-break" clear=all></SPAN>]]>
   </description>
   <pubDate>Wed, 06 Jun 2007 15:59:10 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=72&amp;PID=150#150</guid>
  </item> 
  <item>
   <title>Trace File Logging and File I/O Permissions : Question:  I ran into an interesting...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=72&amp;PID=149#149</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=20" rel="nofollow">Customer</a><br /><strong>Subject:</strong> 72<br /><strong>Posted:</strong> 06-Jun-2007 at 3:58pm<br /><br /><P =Questi&#111;n style="MARGIN: 0in 0in 0pt"><strong><EM><FONT face="Times New Roman" size=3>Question: </FONT></EM></strong></P><P =Ms&#111;normal style="MARGIN: 8pt 0in 0pt"><SPAN style="COLOR: navy"><FONT size=2><FONT face="Times New Roman">I ran into an interesting problem with using DevForce on a web site, wanted to see if you’d seen it and addressed it.<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 8pt 0in 0pt"><SPAN style="COLOR: navy"><FONT size=2><FONT face="Times New Roman">The site I’m trying to publish to has only medium trust level, and the logging system in tracefns apparently is trying to get file IO access, which is being denied. However, regular file read/write seems to work OK from my code. Is the logging something that can be turned off, or is there a way to change what permissions are being requested?<o:p></o:p></FONT></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 8pt 0in 0pt"><SPAN style="COLOR: navy"><FONT face="Times New Roman" size=2>Is this something you’ve seen, or is the assumption that the app will be running with full trust?</FONT></SPAN><SPAN style="FONT-SIZE: 12pt"><o:p></o:p></SPAN></P>]]>
   </description>
   <pubDate>Wed, 06 Jun 2007 15:58:24 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=72&amp;PID=149#149</guid>
  </item> 
 </channel>
</rss>