General discussion

Locked

VB6 and IIS

By russellrl2 ·
Have a website that has a link to VB6 executable files that open a database. In the past this has worked but it seems everytime the site is moved or software is upgraded the links break. For some reason the .exe files will not execute. I checked the browsing feature in IIS for the virtual directory and I can browse the directory in IE6. It appears that persmission is okay. So why isn't the .exe file executing. They are located in the scripts virtual directory. In the IIS properties for scripts do I need a special entry in the document tab for the executables to work.

This conversation is currently closed to new comments.

7 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by lowlands In reply to VB6 and IIS

Go to the properties of the website, go then the 'homedirectory' tab. Make sure "scripts and executables" is selected in the 'execute permissions' dropdown. Make sure to do this on the right level in the site. What I mean is, don't do it on the root of the site if you only need it in the scripts directory.

Collapse -

by russellrl2 In reply to

Poster rated this answer.

Collapse -

by onbliss In reply to VB6 and IIS

If the EXEs are using DLLS, they might have to be unregistered and registered.

Collapse -

by russellrl2 In reply to

Poster rated this answer.

Collapse -

by Realvdude In reply to VB6 and IIS

If you have moved to another server, it could be the IIS account permission on the script interface. Does your code work at the server?
I was able to resolve this issue by looking up the specfic error in the MS knowledge base. Don't recall the specific dll in the windows directory that needed the permissions changed, but it was to handle script calls from IIS.

Collapse -

by russellrl2 In reply to

Poster rated this answer.

Collapse -

by russellrl2 In reply to VB6 and IIS

This question was closed by the author

Back to Web Development Forum
7 total posts (Page 1 of 1)  

Related Discussions

Related Forums