Discussion Locked

VB6 and IIS

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
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.

7 replies

by lowlands

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.

by realvdude

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.

This discussion is closed to new replies.