Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

ASP.NET Settings (Windows)

 
hosting settingsreseller guideweb scripting settingswebsite managementwebsites and domains

To configure ASP.NET Settings for a site:

  1. Go to Websites & Domains and locate your website’s domain name.

  2. Click ASP.NET Settings. If the ASP.NET Settings button is
    missing, make sure that ASP.NET is switched on in Websites &
    Domains
    > Hosting Settings. If you are unable to switch on
    ASP.NET, contact your provider.

    image 76859

  3. Set up the strings that determine database connection data for
    ASP.NET applications that use databases. This option is available
    only for ASP.NET 2.0.x.

    When you open the ASP.NET configuration screen for the first time,
    sample connection parameters with common constructions are displayed.
    You can delete them and specify your own strings.

    • To add a string, click the Add connection string link and
      enter the required data into the Name and Connection
      Parameters
      input fields.
    • To remove a string, click the Remove link next to it.
  4. Set up custom error messages that will be returned by ASP.NET
    applications in the Custom Error Settings field:

    • To set the custom error messages mode, select an appropriate
      option from the Custom error mode menu:

      • On - custom error messages are enabled.
      • Off - custom error messages are disabled and detailed
        errors are to be shown.
      • RemoteOnly - custom error messages are displayed only to
        remote clients, and ASP.NET errors are shown to the local host
        users.
    • To add a custom error message (which will be applied unless the
      Off mode was selected), enter the values in the Status
      Code
      and Redirect URL fields, and click image 21053.gif.

      • Status Code defines the HTTP status code resulting in
        redirection to the error page.
      • Redirect URL defines the web address of the error page
        presenting information about the error to the client.

      Due to possible conflicts, you cannot add a custom error message
      with an error code that already exists, but you can redefine the
      URL for…

Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

Guide on Website Management

Read More »

All About Managing Domain Names in Plesk

Read More »

Plesk Obsidian Preview: The Curtain Lifts

Read More »
Knowledge Base

Hosting Types – Forwarding

Read More »

Setting Up Custom Error Pages on Windows Servers

Read More »

(Plesk for Windows) Limiting Bandwidth and Number of Connections to Websites

Read More »

Web Publishing with Web Deploy (Windows)

Read More »

Hosting Wiki

  • Windows Server
  • HTTP/3
  • HTTP/2
  • Domain
  • Hosting Control Panel
  • SQL database
  • NoSQL Database
  • Lighttpd
  • URL
  • Colocation Hosting
  • Reseller Hosting
  • Cloud Hosting
  • VPS Hosting
  • Dedicated Hosting
  • Shared Hosting
  • Free Hosting
  • Managed Hosting
  • HTTP
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family