Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

web-config

RDLC report in Visual Studio 2017 does not run on hosting with .NET Framework 3.5, why?

September 4, 2022 by Magenaut

We have rented a hosting that offers me to work with ASP.NET and .NET Framework 3.5; everything worked fine, until we got to the reporting part; where I had to created a dataset and a RDLC report. When I update my site, it doesn’t start anymore because it does not recognize the report libraries.

Categories ASP.NET, Q&A Tags asp.net, rdlc, web-config Leave a comment

How to redirect url to ssl url on localhost in web.confg

September 3, 2022 by Magenaut

localhost:5011 is url and localhost:44330 is SSL url. I want to redirect http://localhost:5011 to https://localhost:44330 in my web.config. I found rule for this but it is not worked as I wanted:

Categories ASP.NET, Q&A Tags asp.net, https, iis, web-config, xml Leave a comment

ASP.NET returns 401 Unauthorized for a file even when web.config is set up to allow it?

September 3, 2022 by Magenaut

I’m probably missing something easy here, but I have an ASP.NET website that uses Identity and roles, and I’m trying to restrict access to a folder containing some MP4 videos so that anonymous users cannot see direct links to those videos.

Categories ASP.NET, Q&A Tags asp.net, authorization, web-config Leave a comment

Access-control-allow-origin with multiple domains

September 3, 2022 by Magenaut

In my web.config I would like to specify more than one domain for the access-control-allow-origin directive. I don’t want to use *. I’ve tried this syntax:

Categories ASP.NET, Q&A Tags asp.net, cors, iis, web-config Leave a comment

Error to use a section registered as allowDefinition=’MachineToApplication’ beyond application level

September 3, 2022 by Magenaut

It is an error to use a section registered as allowDefinition=’MachineToApplication’ beyond application level.

Categories ASP.NET, Q&A Tags asp.net, web-config Leave a comment

Avoid web.config inheritance in child web application using inheritInChildApplications

September 3, 2022 by Magenaut

I am trying to add

Categories ASP.NET, Q&A Tags asp.net, configuration, iis-7, web-config Leave a comment

Using different Web.config in development and production environment

September 3, 2022 by Magenaut

I need to use different database connection string and SMTP server address in my ASP.NET application depending on it is run in development or production environment.

Categories ASP.NET, Q&A Tags asp.net, configuration, visual-studio, web-config Leave a comment

Read connection string from web.config

September 3, 2022 by Magenaut

How can I read a connection string from a web.config file into a public class contained within a class library?

Categories ASP.NET, Q&A Tags .net, asp.net, c#, connection-string, web-config Leave a comment

How do you modify the web.config appSettings at runtime?

September 3, 2022 by Magenaut

I am confused on how to modify the web.config appSettings values at runtime. For example, I have this appSettings section:

Categories ASP.NET, Q&A Tags asp.net, runtime, web-config Leave a comment

How to set the Default Page in ASP.NET?

September 3, 2022 by Magenaut

Is there any section or code which allows us to set default page in web.config?

Categories ASP.NET, Q&A Tags asp.net, iis-7, web-config Leave a comment
Older posts
Page1 Page2 … Page18 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress