| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Greetings -- I am having trouble getting an application set up on IIS 6 properly. I have created a website with a virtual directory. The virtual directory is set to "Scripts and Executables" for execute permissions (the files are .exe). There is no MIME type set for .exe. There is no mapping that I can tell. I have set a web service extension up for these files (I even set to "Allow All Unknown CGI"). Yet when I try to access the page (IE7) I get a blank page. Here is the output of a test script: HTTP/1.1 200 OK Connection: Close Content-Length: 101 Content-Type: text/html; charset=ISO-8859-1 <html> <head> <title>Test Page</test> </head> <body> <h2>Testing...</h2> </body> </html> Any suggestions???? |
|
#2
| |||
| |||
| Is the CGI EXE launched by IIS via a request, or launched by your test script? - If it is the former, then please provide the exact response, in bytes. The vdir requires "Scripts and Executables" - If it is the latter, then please indicate how your test script is capturing the EXE output and then stream it as a response. The vdir only requires "Scripts" //David http://w3-4u.blogspot.com http://blogs.msdn.com/David.Wang // On Aug 6, 6:12*am, BMorley <benjamin.m.mor...@gmail.com> wrote: > Greetings -- > > I am having trouble getting an application set up on IIS 6 properly. > I have created a website with a virtual directory. *The virtual > directory is set to "Scripts and Executables" for execute permissions > (the files are .exe). > > There is no MIME type set for .exe. *There is no mapping that I can > tell. *I have set a web service extension up for these files (I even > set to "Allow All Unknown CGI"). > > Yet when I try to access the page (IE7) I get a blank page. *Here is > the output of a test script: > > HTTP/1.1 200 OK > Connection: Close > Content-Length: 101 > Content-Type: *text/html; charset=ISO-8859-1 > > <html> > > *<head> > *<title>Test Page</test> > *</head> > > *<body> > > *<h2>Testing...</h2> > > *</body> > *</html> > > Any suggestions???? |
|
#3
| |||
| |||
| David -- You are everywhere! Thanks for keeping up with me, I'm just trying to get this resolved by any way possible. I'll have the byte response momentarily, but first I wanted to post something I captured using FileMonitor (part of the MS System Internals suite of apps). 333 10:00:41 AM w3wp.exe:1920 OPEN C:\Program Files\Key Systems\GFMS \exe\test_IIS.exe SUCCESS Options: Open Access: 001000A1 334 10:00:41 AM w3wp.exe:1920 READ C:\WINDOWS\system32\config\system SUCCESS Offset: 413696 Length: 4096 335 10:00:41 AM w3wp.exe:1920 QUERY INFORMATION C:\Program Files\Key Systems\GFMS\exe\test_IIS.exe SUCCESS Attributes: A 336 10:00:41 AM w3wp.exe:1920 QUERY INFORMATION C:\Program Files\Key Systems\GFMS\exe\test_IIS.exe SUCCESS Length: 2396226 337 10:00:41 AM w3wp.exe:1920 OPEN C:\Program Files\Key Systems\GFMS \exe\test_IIS.exe.Config NOT FOUND Options: Open Access: 001200A9 338 10:00:41 AM w3wp.exe:1920 QUERY INFORMATION C:\Program Files\Key Systems\GFMS\exe SUCCESS Attributes: D 339 10:00:41 AM w3wp.exe:1920 CLOSE C:\Program Files\Key Systems\GFMS \exe\test_IIS.exe SUCCESS You can see where IIS tries to grab a file called "test_IIS.exe.Config" -- could this be the problem? Why is it looking for that file? Thanks! --Ben |
|
#4
| |||
| |||
| And here is what I'm getting back from IIS: HTTP/1.1 200 OK Server: Microsoft-IIS/6.0 Panic: Can't create C:\WINDOWS\TEMP\pdk-IUSR_ENGIN-SERVER \5f4010392d26de2972604a5df777f946\perl58.dll X-Powered-By: ASP.NET Date: Thu, 07 Aug 2008 14:40:40 GMT Connection: close |
|
#5
| |||
| |||
| So yes, this appears to be an issue related to this specific application (which is a compiled perl script) -- but I don't understand why, on the same server, it executes in Apache2.x/IIS5, but not IIS6? Thanks for all of your help! On Aug 7, 10:42 am, BMorley <benjamin.m.mor...@gmail.com> wrote: > And here is what I'm getting back from IIS: > > HTTP/1.1 200 OK > Server: Microsoft-IIS/6.0 > Panic: Can't create C:\WINDOWS\TEMP\pdk-IUSR_ENGIN-SERVER > \5f4010392d26de2972604a5df777f946\perl58.dll > X-Powered-By: ASP.NET > Date: Thu, 07 Aug 2008 14:40:40 GMT > Connection: close |
|
#6
| |||
| |||
| Well, I managed to resolved the strange perl58.dll error by deleting the existing file. Once that happened (it must have been a permissions issue with that file) I no longer get that error. Now I get the 502 Error from IIS along with the "Incomplete HTTP Headers" message. |
|
#7
| |||
| |||
| On Aug 7, 12:58*pm, BMorley <benjamin.m.mor...@gmail.com> wrote: > Well, I managed to resolved the strange perl58.dll error by deleting > the existing file. *Once that happened (it must have been a > permissions issue with that file) I no longer get that error. > > Now I get the 502 Error from IIS along with the "Incomplete HTTP > Headers" message. The problem continues to be your CGI script and its invalid assumptions of a proper HTTP response that a CGI should generate. It may run on Apache 2 or IIS5, but it hardly means it is correct. Maybe those web servers have looser security checks and requirements of CGI/1.1 specification... //David http://w3-4u.blogspot.com http://blogs.msdn.com/David.Wang // |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.