While Debugging I have some PDF-Files in App_Data folder of my WebSite (in production the files are located somewhere else) because I want to avoid that they are getting deployed. Inside the code I can access and manipulate the files. But if I want to open them in a new browser window e.g. via JavaScript, I'm getting an Error 404.0. The URL is correct and also the displayed physical filesystem path. So I think it may be an issue of the IIS Express?! I have already removed the app_data tag in applicationhost.config from the hiddenSegments section. Is there something else I could configure to get the problem solved?
"404.0 - Not Found" when opening PDF File in App_Data folder on local IIS Express
972 Views Asked by afj At
1
There are 1 best solutions below
Related Questions in ASP.NET
- Create an IIS web request activity light
- Writing/Overwriting to specific XML file from ASP.NET code behind
- What is the point of definnig Asp.net Intrinsic Objects In different places and what is the different betwen them?
- Deleting Orphans with Fluent NHibernate
- IOrderedEnumerable to vb.net IOrderedEnumerable Conversion
- Entity Framework Code First with Fluent API Concurrency `DbUpdateConcurrencyException` Not Raising
- Getting deeply embedded XML element values
- What is best way to check if any of the property of object is null or empty?
- NuGet - Given a type name or a DLL, how can I find the NuGet package?
- ASP-MVC Code-first migrations checkbox not active
- How do i add onclient click to my jquery button
- Jquery: Change contents of <select> tag dynamically
- Retrieving data from Oracle database
- ASP.NET: Fill Textbox field upon dropdownlist selection by user
- Why web API return 404 when deploy to IIS
Related Questions in PDF
- Itext get special letters from pdf
- Carrierwave file upload with different file types
- Get text from a section of a pdf page with IcePdf
- itext pdf to image convert
- PDF to Text extractor in nodejs without OS dependencies
- PDF to ByteArray Conversion
- Opening PDF file in SWT Browser - XulRunner default viewer
- Generate TCPDF output to a shared drive folder
- Combine base and ggplot graphics in R figure window in different pages
- Updating a PDF Barcode Field in iOS and Android Device
- Prevent PDFsharp from saving an image file?
- Adding attachment links between lines in itext for pdf
- Crop Pdf from each edge using itextshap
- How to create a PDF with iText+XMLWorker from servlet using custom font?
- how to create a pdf editor for grails
Related Questions in IIS-EXPRESS
- iis express stop after start debugging in vs 12 and vs13
- Failed to map the path '/' when setting VirtualDirectory path in applicationhost
- IIS express 8 webpage is not available
- Override site binding using VS2015 and IIS Express
- How can I run different build configurations with different output paths in the IIS Express
- IIS Express 8 - Max allowed length
- URL rewrite in ASP.NET 5
- Visual Studio 2013: IIS express, ssl disable but ssl is requiered
- IE11 IFrame contents does not load
- Web deploy error - "Child object 'environmentVariables' cannot be added to object 'add'. The 'add' provider may not support this deployment."
- IIS not showing connections and no default website?
- IIS 7 Site binding same port with DNS Server
- Getting ASP.Net Core shutdown triggering ApplicationStopping event in IISExpress
- How to disable IIS express all authentication?
- Visual studio 2015 and 2017 do not start IIS Express 64 bit version
Related Questions in APP-DATA
- Show image stored in App_Data
- Access an XML file in /App_Data folder of my WCF service?
- Using Google Drive API to edit other user's files
- Is appdata shared between workers in a parallel pool?
- Can background services keep running when the App Data is encrypted in iOS
- Cannot access my class in WebMatrix (razor) App_Data folder
- How to install a file in app data in setup project (C#)
- Handling of android app uninstallation
- C# App_Data class not inherited by aspx - inherits attribute question
- Can't check in .mdf/.ldf in App_Data into TFS
- why is orchard throwing an error with the app data folder
- Deploying NServiceBus sample to cloud fails due to use of App_Data?
- "404.0 - Not Found" when opening PDF File in App_Data folder on local IIS Express
- How can I write data to the App_Data folder in ASP.NET MVC?
- Access to App_Data path where ldf file is denied when checking in with Team Explorer
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The App_Data folder is used as a data storage for the web application. It can store files such as .mdf, .mdb, and XML. It manages all of your application's data centrally. It is accessible from anywhere in your web application.The real advantage of the App_Data folder is that, any file you place there won't be downloadable.