473,320 Members | 1,535 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

ASP2.0 Can't download files Forms Authentication

I have setup up Forms Authentication on my website and added
configuration/mappings for exe, pdf and zip files (using
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspn et_isapi.dll)

However when ever I try to download a file I get the following error

Can't Find Server or DNS error

Any ideas please ?

--
Michael Tissington
http://www.oaklodge.com
http://www.tabtag.com
Dec 3 '05 #1
6 2253
P.S. This works in my Development environment but not in my hosted
environment.
--
Michael Tissington
http://www.oaklodge.com
http://www.tabtag.com
Dec 3 '05 #2
Hey Michael,

Welcome.
From your description , after you moved an ASP.NET web application from
development server to deployment server(hosting environment?), it not
longer worked, and return "Can't Find Server or DNS error" error when try
visiting some pages in the application that provide file downloading
funcitons?

From the error message, it is likely a network environment problem rather
than asp.net issue. Have you tried some other normal aspx pages in the web
application to see whether they works? Also, I'd suggest you check the IIS
log on the server machine to see whether the asp.net page requests actually
arrive the server(see whether there is log entries in the iis log mapped to
the request to your application..)

If there're anything unclear, please feel free to pos there.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Michael Tissington" <mt*********@newsgroups.nospam>
| References: <#R**************@TK2MSFTNGP14.phx.gbl>
| Subject: Re: ASP2.0 Can't download files Forms Authentication
| Date: Fri, 2 Dec 2005 21:34:38 -0800
| Lines: 10
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| X-RFC2646: Format=Flowed; Response
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| Message-ID: <#M*************@TK2MSFTNGP11.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 65.249.55.7
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP11.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:362480
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| P.S. This works in my Development environment but not in my hosted
| environment.
|
|
| --
| Michael Tissington
| http://www.oaklodge.com
| http://www.tabtag.com
|
|
|

Dec 5 '05 #3
Yes all aspects of the site function correctly.

--
Michael Tissington
http://www.oaklodge.com
http://www.tabtag.com

"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:6f****************@TK2MSFTNGXA02.phx.gbl...
Hey Michael,

Welcome.
From your description , after you moved an ASP.NET web application from
development server to deployment server(hosting environment?), it not
longer worked, and return "Can't Find Server or DNS error" error when try
visiting some pages in the application that provide file downloading
funcitons?

From the error message, it is likely a network environment problem rather
than asp.net issue. Have you tried some other normal aspx pages in the web
application to see whether they works? Also, I'd suggest you check the
IIS
log on the server machine to see whether the asp.net page requests
actually
arrive the server(see whether there is log entries in the iis log mapped
to
the request to your application..)

If there're anything unclear, please feel free to pos there.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Michael Tissington" <mt*********@newsgroups.nospam>
| References: <#R**************@TK2MSFTNGP14.phx.gbl>
| Subject: Re: ASP2.0 Can't download files Forms Authentication
| Date: Fri, 2 Dec 2005 21:34:38 -0800
| Lines: 10
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| X-RFC2646: Format=Flowed; Response
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| Message-ID: <#M*************@TK2MSFTNGP11.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 65.249.55.7
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP11.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:362480
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| P.S. This works in my Development environment but not in my hosted
| environment.
|
|
| --
| Michael Tissington
| http://www.oaklodge.com
| http://www.tabtag.com
|
|
|

Dec 5 '05 #4
Steven,

The problem is related to applying script mappings.

Without the script mappings, the download works (but I don't go through my
forms authentication)

With the script mappings I get the error 'Can not find server or DNS error'
--
Michael Tissington
http://www.oaklodge.com
http://www.sqlview.net
"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:6f****************@TK2MSFTNGXA02.phx.gbl...
Hey Michael,

Welcome.
From your description , after you moved an ASP.NET web application from
development server to deployment server(hosting environment?), it not
longer worked, and return "Can't Find Server or DNS error" error when try
visiting some pages in the application that provide file downloading
funcitons?

From the error message, it is likely a network environment problem rather
than asp.net issue. Have you tried some other normal aspx pages in the web
application to see whether they works? Also, I'd suggest you check the
IIS
log on the server machine to see whether the asp.net page requests
actually
arrive the server(see whether there is log entries in the iis log mapped
to
the request to your application..)

If there're anything unclear, please feel free to pos there.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Michael Tissington" <mt*********@newsgroups.nospam>
| References: <#R**************@TK2MSFTNGP14.phx.gbl>
| Subject: Re: ASP2.0 Can't download files Forms Authentication
| Date: Fri, 2 Dec 2005 21:34:38 -0800
| Lines: 10
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| X-RFC2646: Format=Flowed; Response
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| Message-ID: <#M*************@TK2MSFTNGP11.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 65.249.55.7
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP11.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:362480
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| P.S. This works in my Development environment but not in my hosted
| environment.
|
|
| --
| Michael Tissington
| http://www.oaklodge.com
| http://www.tabtag.com
|
|
|

Dec 5 '05 #5
Steven,

Found the answer in
http://support.microsoft.com/default...b;en-us;909641
--
Michael Tissington
http://www.oaklodge.com
http://www.sqlview.net

"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:6f****************@TK2MSFTNGXA02.phx.gbl...
Hey Michael,

Welcome.
From your description , after you moved an ASP.NET web application from
development server to deployment server(hosting environment?), it not
longer worked, and return "Can't Find Server or DNS error" error when try
visiting some pages in the application that provide file downloading
funcitons?

From the error message, it is likely a network environment problem rather
than asp.net issue. Have you tried some other normal aspx pages in the web
application to see whether they works? Also, I'd suggest you check the
IIS
log on the server machine to see whether the asp.net page requests
actually
arrive the server(see whether there is log entries in the iis log mapped
to
the request to your application..)

If there're anything unclear, please feel free to pos there.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Michael Tissington" <mt*********@newsgroups.nospam>
| References: <#R**************@TK2MSFTNGP14.phx.gbl>
| Subject: Re: ASP2.0 Can't download files Forms Authentication
| Date: Fri, 2 Dec 2005 21:34:38 -0800
| Lines: 10
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| X-RFC2646: Format=Flowed; Response
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| Message-ID: <#M*************@TK2MSFTNGP11.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 65.249.55.7
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP11.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:362480
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| P.S. This works in my Development environment but not in my hosted
| environment.
|
|
| --
| Michael Tissington
| http://www.oaklodge.com
| http://www.tabtag.com
|
|
|

Dec 6 '05 #6
Thanks for your followup Michael,

Glad that you've figured out the problem.

Have a good day!

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| From: "Michael Tissington" <mt*********@newsgroups.nospam>
| References: <#R**************@TK2MSFTNGP14.phx.gbl>
<#M*************@TK2MSFTNGP11.phx.gbl>
<6f**************@TK2MSFTNGXA02.phx.gbl>
| Subject: Re: ASP2.0 Can't download files Forms Authentication
| Date: Mon, 5 Dec 2005 16:10:34 -0800
| Lines: 77
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| Message-ID: <Od*************@TK2MSFTNGP12.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 65.249.55.7
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:362894
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Steven,
|
| Found the answer in
| http://support.microsoft.com/default...b;en-us;909641
|
|
| --
| Michael Tissington
| http://www.oaklodge.com
| http://www.sqlview.net
|
| "Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
| news:6f****************@TK2MSFTNGXA02.phx.gbl...
| > Hey Michael,
| >
| > Welcome.
| > From your description , after you moved an ASP.NET web application from
| > development server to deployment server(hosting environment?), it not
| > longer worked, and return "Can't Find Server or DNS error" error when
try
| > visiting some pages in the application that provide file downloading
| > funcitons?
| >
| > From the error message, it is likely a network environment problem
rather
| > than asp.net issue. Have you tried some other normal aspx pages in the
web
| > application to see whether they works? Also, I'd suggest you check the
| > IIS
| > log on the server machine to see whether the asp.net page requests
| > actually
| > arrive the server(see whether there is log entries in the iis log
mapped
| > to
| > the request to your application..)
| >
| > If there're anything unclear, please feel free to pos there.
| >
| > Thanks,
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure! www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| >
| >
| > --------------------
| > | From: "Michael Tissington" <mt*********@newsgroups.nospam>
| > | References: <#R**************@TK2MSFTNGP14.phx.gbl>
| > | Subject: Re: ASP2.0 Can't download files Forms Authentication
| > | Date: Fri, 2 Dec 2005 21:34:38 -0800
| > | Lines: 10
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| > | X-RFC2646: Format=Flowed; Response
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| > | Message-ID: <#M*************@TK2MSFTNGP11.phx.gbl>
| > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | NNTP-Posting-Host: 65.249.55.7
| > | Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP11.phx.gbl
| > | Xref: TK2MSFTNGXA02.phx.gbl
| > microsoft.public.dotnet.framework.aspnet:362480
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > |
| > | P.S. This works in my Development environment but not in my hosted
| > | environment.
| > |
| > |
| > | --
| > | Michael Tissington
| > | http://www.oaklodge.com
| > | http://www.tabtag.com
| > |
| > |
| > |
| >
|
|
|

Dec 6 '05 #7

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

Similar topics

13
by: Patrick | last post by:
I understand that with IIS5.1 on Windows XP Professional SP1, I can 1) Either set under IIS Manager-> Any specific Virtual Directory-> Configuration->Options->ASP Script timeout for all pages...
2
by: Peter | last post by:
I have a site which uses forms authentication but I would like to exclude certain pages on the site from authentication. In other words I would like the user to be able to get to these pages...
4
by: Bennett Haselton | last post by:
If I add this to my web.config file: <authentication mode="Forms"> <forms name=".ASPXUSERDEMO" loginUrl="login.aspx" protection="All" timeout="60" /> </authentication> I can configure the...
7
by: Brian Linden | last post by:
I have a web application using forms authentication and everything seemed to be working fine, as far as requiring them to login. But then I noticed that you could type in:...
4
by: Randall Parker | last post by:
XP Home does not come with IIS. Can one use VS 2003 or some other tool to view aspx pages one is developing and do that on XP Home without having IIS on the machine?
1
by: Arun | last post by:
I have a folder “Secured” under the root folder of the project In the project root web.config authentication is given as <authentication mode="Forms"> <forms loginUrl="Login.aspx" timeout="15"...
1
by: chris.rust | last post by:
Has anyone else had any trouble setting up a sitemap view to be filtered by roles? We've put a cust role provider in place, and we can verify that it's only being called once for each...
3
by: thehercman | last post by:
I am using forms authentication to protect all content as described in the kb article below. http://support.microsoft.com/default.aspx?scid=kb;en-us;893662 This works fine except for files...
2
by: yogarajan | last post by:
hi friends i have one problem. i m using forms authentication for my pages which consist of downloadable links (doc files, pdf files etc.,). the thing is, if i restrict access to the page, it...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shllpp 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.