Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I developed an ASP.NET web application that has the capability of invoking WinForms. Basically, I have a very close implementation of what is shown here - I am displaying a form that is built inside the web app.

Now the problem - if I run the application in the ASP.NET dev server, it works fine. However, when I try to run it in IIS (version 6, running on Windows Server 2003 SP2), I cannot load the page. In fact, the first page loads, but the form is never invoked. Plus, I see that the browser is in constant "Loading" (as in I can see the progress bar filling halfway) state.

Could it be that there is an IIS setting that would need to be enabled in order for me to be able to run such code?

share|improve this question
add comment

1 Answer

I'm not sure that I've understood what you're trying to accomplish, but there is something called "Data Execution Prevention" in Windows Server 2003.

A detailed description of the Data Execution Prevention (DEP) feature in Windows XP Service Pack 2, Windows XP Tablet PC Edition 2005, and Windows Server 2003

PS: Maybe you can specify where the form should be opened: on the server or on the client (embedded in the browser)?

share|improve this answer
    
I am trying to open the form on the client side. It is triggered by the app (so from the browser) - the user who invoked the web call should see it. Setting the DEP flag to AlwaysOff had no effect, so I would assume it's something else. –  Den Delimarsky May 16 '11 at 18:23
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.