By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,204 Members | 1,161 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,204 IT Pros & Developers. It's quick & easy.

ASP2.0 Can't download files Forms Authentication

P: n/a
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
Share this Question
Share on Google+
6 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.