473,508 Members | 2,210 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

pdf and djvu

I use asp.net in windows vista. IIS7 is setup there.
In small application I want to display pdf or djvu files. When I click link
to pdf file I do not have any problem. When I click djvu file I get responce
HTTP Error 404.3 - Not Found
Description: The page you are requesting cannot be served because of the
Multipurpose Internet Mail Extensions (MIME) map policy that is configured
on the Web server. The page you requested has a file name extension that is
not recognized, and is not allowed

Because design of IIS changed it is not clear how I can add djvu to MIME,
what is difference between djvu and pdf. I do not see pdf in MIME also, but
I can see it on the client site.
Thank you, Aleks Kleyn

Feb 25 '07 #1
2 2642
The first Internet search results for "djvu" display results for plug-ins
and readers, and further info.

I hope that helps.

"Aleks Kleyn" <Al*********@MailAps.orgwrote in message
news:62**********************************@microsof t.com...
>I use asp.net in windows vista. IIS7 is setup there.
In small application I want to display pdf or djvu files. When I click
link to pdf file I do not have any problem. When I click djvu file I get
responce
HTTP Error 404.3 - Not Found
Description: The page you are requesting cannot be served because of the
Multipurpose Internet Mail Extensions (MIME) map policy that is configured
on the Web server. The page you requested has a file name extension that
is not recognized, and is not allowed

Because design of IIS changed it is not clear how I can add djvu to MIME,
what is difference between djvu and pdf. I do not see pdf in MIME also,
but I can see it on the client site.
Thank you, Aleks Kleyn
Feb 25 '07 #2
No This search gives you reference to plug in for IE which alows to brows
djvu file on client PC. I have it installed and it works fine. However when
I try to create link on asp page which referes to djvu file i get error. I
cannot understand why link for pdf works and for djvu does not. Code is very
simple
<%@ Page Language="VB" %>
<script runat="server">
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<%
Dim strFile As String = Request("File")
'Response.ContentType = "text/HTML"
'response.ContentType = "image/djvu"
'Response.Redirect("http://localhost/eBooks/" &Replace(strFile, "%20",
" "))
%>
<iframe src='http://localhost/eBooks/<%=strFile%>' width='100%'
height='100%' scrolling="auto" />
</body>
</html>

"Nasser Dassi" <na**********@nyu.eduwrote in message
news:ur**************@TK2MSFTNGP05.phx.gbl...
The first Internet search results for "djvu" display results for plug-ins
and readers, and further info.

I hope that helps.

"Aleks Kleyn" <Al*********@MailAps.orgwrote in message
news:62**********************************@microsof t.com...
>>I use asp.net in windows vista. IIS7 is setup there.
In small application I want to display pdf or djvu files. When I click
link to pdf file I do not have any problem. When I click djvu file I get
responce
HTTP Error 404.3 - Not Found
Description: The page you are requesting cannot be served because of the
Multipurpose Internet Mail Extensions (MIME) map policy that is
configured on the Web server. The page you requested has a file name
extension that is not recognized, and is not allowed

Because design of IIS changed it is not clear how I can add djvu to MIME,
what is difference between djvu and pdf. I do not see pdf in MIME also,
but I can see it on the client site.
Thank you, Aleks Kleyn
Feb 26 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
5416
by: Nick Wedd | last post by:
Here is a test page http://www.maproom.org/maps/historical/droysens/1886/testj.html which uses a Java applet to take a .DjVu format file and display the image which it encodes. The page is simple...
2
5222
by: Shehab Kamal | last post by:
I'm using ASP.NET 1.1. I have a DataGrid in which I have a hyperlink column. The NavigateUrl of the hyperlink is an ftp file on the form "ftp://IP Address/fileName". When I click the hyperlink the...
0
2330
by: techie | last post by:
List of Solution manuals: Engineering Circuit Analysis 6Ed - Hayt Solutions Manual Norbury - Solutions manual for mechanics and thermodynamics Physics For Scientists And Engineers - Solution...
0
7132
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7336
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7063
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5640
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4720
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3211
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1568
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
773
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
432
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.