?
Solved

Mime types

Posted on 2006-05-22
3
Medium Priority
?
629 Views
Last Modified: 2008-02-26
I have multiple sites running on IIS 6.0 and for some reason the .vb file type is served on some sites and isn't on others.

I have .vb added as test/vbscript in Mime types.



Server Error in '/' Application.
--------------------------------------------------------------------------------

This type of page is not served.
Description: The type of page you have requested is not served because it has been explicitly forbidden. The extension '.vb' may be incorrect. Please review the URL below and make sure that it is spelled correctly.






Where else can I check?
0
Comment
Question by:wynbryant
  • 2
2 Comments
 
LVL 18

Accepted Solution

by:
Sam Panwar earned 800 total points
ID: 16747901
Hi,
Yes you have to define mime type of .vb but ensure that .vb extesion file not run if you not added in the application extension the error  Server Error in '/' Application. means you didn't add application extension.

Solution :

1. HAe you install ASP.NET 2 and allowed website extenson ASP.NET 2
Note: if you are using ASP.net 1 then install version 2
2.Have you add application extension check through the following
IIS>website>select website>properties>Home directory>configuration>application extension > Add >
extension .vb and file path as below

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll

can you please check and update me.
0
 
LVL 18

Expert Comment

by:Sam Panwar
ID: 16965200
Hi periwinkle -

I am waiting for wynbryant comment may be his problem resolved.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question