i have a WCF service, when i try to browse the service outside the application i get directory listing,disabled the directory listing by making the change in my code
i get 403 error(403 - Forbidden: Access is denied.You do not have permission to view this directory or page using the credentials that you supplied.) which is as expected.
But instead of server error i want to show a custom error, i tried adding custom error code in my config but it does not work, is it because it is a web service. Does custom error page only work at application level and not for services?
how to show a custom error page in a WCF service
211 Views Asked by divya At
0
There are 0 best solutions below
Related Questions in .NET
- Does compiler optimize operation on const variable and literal const number?
- 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
- What is this namespace ITypeOfObjectsBoundToListBox ? Couldn't find it
- .net rest service with JSON string and consumed with java client
- What is best way to check if any of the property of object is null or empty?
- Telerik's WPF RadColorPicker NoColorText property not working
- Possible consequences of duplicate ProgId for different classes
- How are multiple requests to Task.Run handled from a resource management standpoint?
- Optimizing C++ call from C#
- Make a per-web-application object available to Web API and SignalR controllers
- System.ComponentModel.DataAnnotations.Schema namespace conflict
- LINQ Except/Distinct based on few columns only, to not add duplicates
- Not displaying content by its URL string - absolute urls
Related Questions in WCF
- couldn't copy pdb file to another directory while consuming wcf web service
- Call wcf from android app
- WCF Service not accepting multiple body parameters
- Error in Calling some service in WCF Client
- WCF channel Factory caching
- How to convert a List<string> to an IEnumerable<ServiceReference.datatable> C# Silverlight WCF RIA Services LINQ to SQL
- WCF reusing types with inheritance - cannot generate client code
- System.ServiceModel.FaultException'1' Where might the error be?
- How to configure proxy address for multiple WCF-bindings at once?
- How pass XML from PHP to the Soap WCF service?
- Multiple service contract inter-commnication
- WCF Service not returning virtual property ServiceProvider
- How to get information about error from HttpContext in WCF services
- Using Service Bus to access On Premise WCF Service
- Test case for WCF REST Service
Related Questions in DIRECTORY
- Optimum directory structure for large number of files to display on a page
- install a R package from directory
- Are stringified MongoDB ObjectID's safe as folder names?
- Generate TCPDF output to a shared drive folder
- Get number of files in various subdirectories relative to the current page - ColdFusion
- Ruby on Windows XP: How to change directory of SSL certificates
- Google Drive API VB.NET Parent Folder of a Folder
- Count files in a directory while excluding others by directory and subdirectories using PHP
- Media files end up in in a pycharm subdirectory when uploading
- Remove part of filename of files that are in different folders
- Group items based on x number characters of basename
- Android Studio missing drawable Folder
- Updating folder structure with Mac Terminal
- Matlab error in file path for a sound
- Rails: Include Javascript_include_tag outside default folders
Related Questions in CUSTOM-ERROR-PAGES
- Send http-404 response BUT dont send custom error page setted in IIS server | PHP
- Distinguish <error-page> view from normal view in ViewHandler#createView()
- How to disable cloudflare custom error pages including Error 504 (Gateway time-out), While Smart Errors are already disabled?
- mod_rewrite and RewriteRule blockade me from add error page
- Error page is not working on iis server
- Codeigniter custom 404 page not found
- ColdFusion generated 403 response does not trigger IIS6 403 error page
- HTTP Error 404.0 - Not Found in MVC 5
- Symfony Custom Error Page By Overriding ExceptionController
- Getting a 404 Not Found default error page "Active Record::RecordNotFound" when I have a custom page for that
- ASP.NET customErrors web.config not catching all invalid URLs
- Classic ASP - Custom Error Pages
- ASP.NET MVC 4 - Preventing Direct Access to Custom Error Pages
- using windows authentication with asp.net app
- creating an error page-404
Related Questions in DIRECTORY-BROWSING
- ASP.NET Web Form wants to display file directory
- How to implement file navigation? (meaning directory browsing on the side)
- How to browse android gallery for movie/media files in SDK
- Sub folder directory browsing in Amazon S3 bucket
- How to disable directory browsing for a flask application hosted using apache mod_wsgi for CNAME access from a different domain
- Directory browsing disable in IIS however application log files were disclosed within the ‘log’ folder
- Website on IIS Errors When Listing Directories
- how to show a custom error page in a WCF service
- How do you change or hide the server name from directory browsing in IIS
- ASP.net MVC Directory Browsing
- browsing to a file on button click in asp.net
- How to browse directory server machine instead of local machine
- Python remote directory browsing Server-Client
- IIS Directory Browsing won't show file contents
- Where does Docker store the content of running containers?
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?