Yes, I believe so. Although I didn't need to set mine up like that since I
don't typically call non-.taf files through Witango.

 

I believe that the instruction under that box is either misleading or
incorrect. Having individual entries would match the configuration method in
previous versions of IIS, so I suspect that is what's needed here.

 

Robert

 

From: Bill Downall [mailto:[email protected]] 
Sent: Tuesday, April 13, 2010 8:16 PM
To: witango-talk
Subject: Re: Witango-Talk: Witango Dev Server on Win 7 laptop / IIS 7.5

 

 

Robert, 

 

Thanks, Robert! All were as they should be, with the exception of the
"request path" being *.taf,*.tcf,*.tml,*.thtml. I changed it to just *.taf
and eureka.

 

Should I do four of them, one for each extension?

 

Bill

 

On Tue, Apr 13, 2010 at 7:51 PM, Robert Shubert <[email protected]>
wrote:

Doublecheck the handler:

 

Click on the "Default Web Site" in the Sites folder.

 

Double-click the Handler Mappings

 

Find the line for Witango (which I named "Witango") and ensure it's Path is
"*.taf" and the executable is the path to the DLL.

 

The restrictions should be default, but you can check that they are

Mapping tab: unchecked

Verbs tab: All verbs

Access tab: Script

 

Robert

 

From: Bill Downall [mailto:[email protected]] 
Sent: Tuesday, April 13, 2010 7:07 PM
To: witango-talk
Subject: Re: Witango-Talk: Witango Dev Server on Win 7 laptop / IIS 7.5

 

Thanks for the detailed help, Robert! It's hard to believe you're beating
yourself up because you "should've taken better notes."

 

However, I've walked through all those steps, and the situation has not
improved. When I point that browser at a TAF file, I get prompted to Run or
Save the file. Here's what the http exchange looks like:

 

http://localhost/dev/serts/rfsbegin.taf

 

GET /dev/serts/rfsbegin.taf HTTP/1.1

Host: localhost

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3)
Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)

Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

Accept-Language: en-us,en;q=0.5

Accept-Encoding: gzip,deflate

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

Keep-Alive: 115

Connection: keep-alive

 

HTTP/1.1 404 Not Found

Cache-Control: private

Content-Type: text/html; charset=utf-8

Server: Microsoft-IIS/7.5

X-Powered-By: ASP.NET

Date: Tue, 13 Apr 2010 23:03:37 GMT

Content-Length: 7280

----------------------------------------------------------

 

And below is what the "friendly" error page said. Thanks again, Robert.

 

Bill

 

Error Summary 


HTTP Error 404.3 - Not Found


The page you are requesting cannot be served because of the extension
configuration. If the page is a script, add a handler. If the file should be
downloaded, add a MIME map.


Detailed Error Information 


Module

StaticFileModule


Notification

ExecuteRequestHandler


Handler

StaticFile


Error Code

0x80070032


Requested URL

http://localhost:80/dev/serts/rfsbegin.taf


Physical Path

C:\inetpub\wwwroot\dev\serts\rfsbegin.taf


Logon Method

Anonymous


Logon User

Anonymous

Most likely causes: 

*       It is possible that a handler mapping is missing. By default, the
static file handler processes all content.
*       The feature you are trying to use may not be installed.
*       The appropriate MIME map is not enabled for the Web site or
application. (Warning: Do not create a MIME map for content that users
should not download, such as .ASPX pages or .config files.)
*       If ASP.NET is not installed.

Things you can try: 

*       In system.webServer/handlers: 

*       Ensure that the expected handler for the current page is mapped.
*       Pay extra attention to preconditions (for example, runtimeVersion,
pipelineMode, bitness) and compare them to the settings for your application
pool.
*       Pay extra attention to typographical errors in the expected handler
line.

*       Please verify that the feature you are trying to use is installed.
*       Verify that the MIME map is enabled or add the MIME map for the Web
site using the command-line tool appcmd.exe. 

1.      To set a MIME type, use the following syntax:
%SystemRoot%\windows\system32\inetsrv\appcmd set config
/section:staticContent /+[fileExtension='string',mimeType='string']
2.      The variable fileExtension string is the file name extension and the
variable mimeType string is the file type description.
3.      For example, to add a MIME map for a file which has the extension
".xyz": appcmd set config /section:staticContent
/+[fileExtension='.xyz',mimeType='text/plain']

Warning: Ensure that this MIME mapping is needed for your Web server before
adding it to the list. Configuration files such as .CONFIG or dynamic
scripting pages such as .ASP or .ASPX, should not be downloaded directly and
should always be processed through a handler. Other files such as database
files or those used to store configuration, like .XML or .MDF, are sometimes
used to store configuration information. Determine if clients can download
these file types before enabling them. 

*       Install ASP.NET.
*       Create a tracing rule to track failed requests for this HTTP status
code. For more information about creating a tracing rule for failed
requests, click here <http://go.microsoft.com/fwlink/?LinkID=66439> . 

Links and More Information This error occurs when the file extension of the
requested URL is for a MIME type that is not configured on the server. You
can add a MIME type for the file extension for files that are not dynamic
scripting pages, database, or configuration files. Process those file types
using a handler. You should not allows direct downloads of dynamic scripting
pages, database or configuration files. 

View more information
<http://go.microsoft.com/fwlink/?LinkID=62293&IIS70Error=404,3,0x80070032,76
00> >

 
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

 

 
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to