| | |
application extension problem
Please support our ASP.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
Thread Solved
![]() |
•
•
Join Date: Nov 2008
Posts: 2
Reputation:
Solved Threads: 0
I have an application where the user is required to log in running on asp.net 2.0
I have added .doc and .pdf to the application extensions area so that outside users
cannot go directly to the .doc or .pdf file without logging in.
When I click on a .doc or .pdf file to view i get
Internet Explorer cannot display the webpage
when I take this out of the application extensions it works but then IIS is not controlling security.
Has anyone had this problem and what solution fixed it.
Thanks
I have added .doc and .pdf to the application extensions area so that outside users
cannot go directly to the .doc or .pdf file without logging in.
When I click on a .doc or .pdf file to view i get
Internet Explorer cannot display the webpage
when I take this out of the application extensions it works but then IIS is not controlling security.
Has anyone had this problem and what solution fixed it.
Thanks
•
•
Join Date: Nov 2008
Posts: 2
Reputation:
Solved Threads: 0
acctually this is what fixed my problem
ASP.NET Syntax (Toggle Plain Text)
<httpHandlers> <add path="*.pdf" verb="*" type="System.Web.StaticFileHandler" /> <add path="*.doc" verb="*" type="System.Web.StaticFileHandler" /> </httpHandlers>
Last edited by peter_budo; Nov 28th, 2008 at 1:17 pm. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
![]() |
Similar Threads
- Popups and problem loading desktop (Viruses, Spyware and other Nasties)
- Yet another AURORA problem (Viruses, Spyware and other Nasties)
- Persistent Virus/Malware problem. (Viruses, Spyware and other Nasties)
- error 317 or hotoffers (Viruses, Spyware and other Nasties)
- "cannot resolve symbol"problem (Java)
- A possible solution to about:blank problems (Viruses, Spyware and other Nasties)
- Need Help for DNS Problem and 'about:blank' Problem ... (Viruses, Spyware and other Nasties)
- Major problem with C++ compiler (C++)
- IE problem with "about:blank" & "search for..." (Viruses, Spyware and other Nasties)
Other Threads in the ASP.NET Forum
- Previous Thread: Dynamic Server Control event handling
- Next Thread: How to locate templatefield's contorls in C#?
| Thread Tools | Search this Thread |
.net 2.0 3.5 activexcontrol advice ajax alltypeofvideos asp asp.net bc30451 bottomasp.net browser businesslogiclayer c# c#gridviewcolumn checkbox class commonfunctions compatible confirmationcodegeneration content contenttype countryselector courier css dataaccesslayer database datagrid datagridview datagridviewcheckbox datalist development dgv dropdownlist dropdownmenu dynamic dynamically edit fileuploader fill findcontrol flash flv formatdecimal forms formview gridview gudi homeedition iframe iis javascript jquery listbox menu microsoft mouse mssql multistepregistration nameisnotdeclared news objects opera panelmasterpagebuttoncontrols problem redirect registration relationaldatabases reportemail rotatepage schoolproject security serializesmo.table silverlight smartcard smoobjects software sql sql-server sqlserver2005 ssl textbox tracking unauthorized validation vb.net video videos virtualdirectory vista visual-studio visualstudio web webapplications webarchitecture webdevelopemnt webdevelopment webprogramming webservice youareanotmemberofthedebuggerusers






