Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7806881
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T02:40:27+00:00 2026-06-02T02:40:27+00:00

We have an industrial system, which can be interfaced using some C++ DLLs given

  • 0

We have an industrial system, which can be interfaced using some C++ DLLs given to us. I wrote a .NET wrapper to control the industrial system, then bundled this .NET wrapper into an ASP .NET web application so we can control the system over the web.

Everything works fine when I run/debug in Visual Studio using the ASP .NET Development Server. When I deploy to the local ISS server I’m getting an error from the C++ DLLs that (I’m told) means that there’s a communications fault.

Because the IIS app and the Dev Server are on the same machine, and one works and the other doesn’t, I’m convinced that this is a permissions/security error. I’ve spent days fiddling with Application Pool identities, ASP .NET impersonation, filesystem permissions etc. to no avail. (I’m also a bit of an IIS-noob, which doesn’t help.)

So, here’s the punch-line:

Could somebody please explain how (if it’s possible) to set up an IIS ASP .NET application so that it’s running with full (balls-out, guns-blazing) access to the local machine? I want to ensure that IIS is not holding the application back by anything.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T02:40:28+00:00Added an answer on June 2, 2026 at 2:40 am

    I am not sure if giving full trust mode will resolve your issue since the error seems to be coming from C++ and either some kind of permission at file system level is missing or the file itself is missing.

    In any case, to answer your question, you can set full trust mode using the web.config, add following section to your web.config:

    <system.web>
     <securityPolicy>
       <trustLevel name="Full" policyFile="internal"/>
     </securityPolicy>
    </system.web>
    

    More details can be seen here : http://msdn.microsoft.com/en-us/library/wyts434y.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have got a server that controls a complicated industrial system. We need to
I have a system where users can upload, well, anything really - and these
I have a unique industrial application where I do not want the Windows CE
Have you tried to use SharePoint with version control such as Perforce (or Subversion),
I have to implement a communication between my app and another PC using the
I have this code, loading XML documents on mouseenter, which works in Firefox: $(document).ready(function()
I have this code, which works: $('.invest-port-thumb a').mouseenter(function() { $('#slider-name').load(this.href + ' cName'); });
I have a case where I'm using a macro to generate simple subclasses. I've
In VB.NET, let's assume I have the following Structure: Public Structure Product Public ItemNo
We have an industrial app running on stock Samsung Android devices. Because it's an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.