Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Access Denied Error.

Access Denied Error.

Scheduled Pinned Locked Moved ASP.NET
comsecurityhelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Binod K
    wrote on last edited by
    #1

    Hi, I have taken refrence of Microsoft Excel 11.0 Object Library in my project to export data in Excel. And included following Name spaces Imports Microsoft.Office.Interop Imports System.Runtime.InteropServices.Marshal Now i have declared following variables. Dim objExcel As New Excel.Application When i execute the code it gives Access Denied Error. I check all the sharing and Security settings. Your comments will be highly appreciated. Thanks

    Binod K. (Miles to go before I sleep)

    V 1 Reply Last reply
    0
    • B Binod K

      Hi, I have taken refrence of Microsoft Excel 11.0 Object Library in my project to export data in Excel. And included following Name spaces Imports Microsoft.Office.Interop Imports System.Runtime.InteropServices.Marshal Now i have declared following variables. Dim objExcel As New Excel.Application When i execute the code it gives Access Denied Error. I check all the sharing and Security settings. Your comments will be highly appreciated. Thanks

      Binod K. (Miles to go before I sleep)

      V Offline
      V Offline
      Vasudevan Deepak Kumar
      wrote on last edited by
      #2

      Check out this related thread: http://www.velocityreviews.com/forums/t107560-excel-interop-problem-access-is-denied.html[^]

      Vasudevan Deepak Kumar Personal Homepage
      Tech Gossips
      All the world's a stage, And all the men and women merely players. They have their exits and their entrances; And one man in his time plays many parts... --William Shakespeare

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups