Project

General

Profile

Help - IIS hosting of WT

Added by Michal Rysanek almost 9 years ago

Hello WT community,

I have a very similar problem as "T D" at http://redmine.webtoolkit.eu/boards/2/topics/12443

I've just about eliminated all the possible causes of the HTTP 500 error except my WT dll. I think I've followed the dll build directions correctly, but at this point I'm too frustrated to be sure.

Would someone please post a working .dll (as simple as possible, maybe one that just creates a "HelloWorld" page?) ...so I can eliminate my build as the problem?

The .cmake and source would be an awesome bonus...

Thank you in advance!


Replies (3)

RE: Help - IIS hosting of WT - Added by Patrick ottavi almost 9 years ago

Hello,

You will find attached an archive directory for hello.dll to place in the inetpub directory on your server. the project is compiled with Visual studio 2015.

It works fine on my server.

cdt

Patrick.

Hello.zip (3.22 MB) Hello.zip

RE: Help - IIS hosting of WT - Added by Patrick ottavi almost 9 years ago

I added the setting of my server, sorry it's in French, but it gives a good idea of the settings.

Patrick

RE: Help - IIS hosting of WT - Added by Gunnar Skogsholm over 8 years ago

On my local IIS, I had to follow these steps:

1) Handler Mappings

select ISAPI-dll

Edit Feature Permissions

Select Execute

2) IIS server level

ISAPI and CGI restrictions

Add

OR

Edit Feature Permissions -> All unspecified ISAPI modules

(check Site -> Basic Settings to get the application pool)

3) Application pool -> basic settings -> No Managed Code, Integrated pipeline

4) Application pool -> advanced settings -> General -> Enable 32-Bit Applications = True (if 32 bit dll)

On Azure, I couldn't get it to work, and started an MS incident to get support. It turned out that I was trying to use the debug version, which was looking for a MT-debug DLL, which of course, wasn't on Azure. The release version worked no problem. The MS support engineer implied that no special IIS settings were required.

    (1-3/3)