none
SecurityException was unhandled RRS feed

  • General discussion

  • Hi All, 

    I am getting an error saying "SecurityException was unhandled".  Here is the piece of code.  Do anyone know how to fix this error. 

    Sub Main()

    'HERE

    oWrite = IO.File.CreateText("C:\Sujata\HSReportsErrorLogFile.txt")

    rs = New rs2005.ReportingService2005()

    rsExec = New re2005.ReportExecutionService()


    Thanks,
    Sujata
    • Changed type Zhi-Xin Ye Tuesday, December 30, 2008 10:25 AM change to comment since no response for more than 3 days
    Tuesday, December 23, 2008 8:17 PM

All replies

  • You'll need to post the exact text of the exception, its stack trace and tell us which line in your code causes the exception.  Also tell us how your software is installed and what rights you have to the directory you are using to store the text file.
    Hans Passant.
    Tuesday, December 23, 2008 10:45 PM
    Moderator