Results 1 to 2 of 2

Thread: Access Denied when calling another .dll

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2006
    Posts
    11

    Access Denied when calling another .dll

    Hello, I apologize in advance If I'm posting this in the incorrect newsgroup for this topic but it seemed to fit best for me.

    Here's my issue, I'm using automateword.dll to automate changes to a word document. I'm calling a method from another .dll (2.dll for this example) which runs a SQL Statement and I'm expecting a return value.

    Whenever I do this I receive a “permission denied” error. I am able to execute the SQL statement directly from automateword, using 2.dll.cnnstr to grab my connection string, so it looks like I have all of the permissions I'd need to do this. When I test directly from my second dll the statement works correctly. It only fails when I call the method from my auomateword.dll.

    Any advice in how to troubleshoot this would be greatly appreciated.
    Thanks in advance.
    -Luke.

  2. #2

    Thread Starter
    New Member
    Join Date
    Sep 2006
    Posts
    11

    Re: Access Denied when calling another .dll

    Update. By the way this appears to be a error 70 Permissions Error. I still can't understand what permission check I am failing... any help would be great.
    Thanks.
    -Luke.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width