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 7169031
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T14:54:10+00:00 2026-05-28T14:54:10+00:00

I am running Apache 2.3.16 with PHP 5.3.9. I also have a third party

  • 0

I am running Apache 2.3.16 with PHP 5.3.9. I also have a third party .NET dll that I want to use. I can successfully load the dll using PHP’s DOTNET object, but I am having a problem when I call one of the object’s methods. This is the error message I get:

Source: System.Windows.Forms Description: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.

So apparently there is some message or error being generated in the dll that is causing a pop-up box. The problem is that I cannot see that pop-up to know what to do about it. I understand that I am on the client side, and this pop-up is generated on the server, but I still need to know what it is.

Here is what I have tried so far:

  • On the Apache service, check “Allow service to interact with desktop”
  • Contacting the developer of the dll to see if they know what error might be popping up
  • Used the same dll in a simple Windows application to see if I could get an error

None of these approaches has yielded anything. Is there anything else I can try?

Edit:

Per Charles’ idea, I ran the program from php.exe. I tried with the -a option (run interactively) and without, and in both cases the program ran perfectly (no errors, output as expected). So, what could cause it to run correctly from the command prompt but give errors from a client browser?

  • 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-05-28T14:54:11+00:00Added an answer on May 28, 2026 at 2:54 pm

    Thanks to the guys at http://www.apachelounge.com who gave me some direction.

    First, I tried running Apache from the console (as opposed to as a Windows service). When I did that, the program worked as expected. This is good, but it is at the very least inconvenient to try to run Apache from the console all the time, because the console has to be open for it to continue running.

    So at that point, I tried running Apache as a Windows service, but as a different user than the normal SYSTEM. This did work, so I can now run Apache as a service, and for some unknown (to me, at least) reason the different user made all the difference.

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

Sidebar

Related Questions

I have an Apache server running PHP 5.3.3. Our sybase ASE servers use HOSTNAME
On one Linux Server running Apache and PHP 5, we have multiple Virtual Hosts
I have an existing site in php running on Apache using the mod_rewrite plug-in.
I am running Ubuntu8.041. Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.3 with Suhosin-Patch configured Can't get file uploading
I'm running a Solaris server to serve PHP through Apache. What tools can I
I have a wordpress based php application running on apache on ubuntu server. I
I'm new to PHP. I installed XAMPP and have Apache running. I created helloworld.php
We have a Linux box with Apache, running PHP. We have a regular Desktop
I have an Apache server running on a client's computer, with PHP installed. I
I have a request handler running in apache/mod_php which occasionally expands beyond the maximum

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.