tagged [web-config]
How to set web.config file to show full error message
How to set web.config file to show full error message I deployed my MVC-3 application on windows Azure. But now when I am requesting it through `staging url` it shows me . Now I want to see the full e...
- Modified
- 1 Oct at 11:6
How can I transform web.config values?
How can I transform web.config values? I am trying to make different config files for different cases (debug,release, etc.) and I would like to change some settings for different builds. ``` Custor...
- Modified
- 22 Apr at 13:59
debug=true in web.config = BAD thing?
debug=true in web.config = BAD thing? We're seeing lots of virtual memory fragmentation and out of memory errors and then it hits the 3GB limit. The compilation debug is set to true in the web.config ...
- Modified
- 7 Mar at 09:36
Get SQL Server CE path form multiple projects
Get SQL Server CE path form multiple projects To learn ServiceStack, I'm developing an API based in Northwind database (a SQL Server CE sdf file). My solution has 3 projects: - - - What's the best way...
- Modified
- 19 Apr at 09:22
Authorization Asp.net web.config
Authorization Asp.net web.config I have an application that has a backoffice. This backoffice was isolated with the use of roles like this: But now we have another type of role that needs access. T
- Modified
- 13 Mar at 12:46
How does my ASP.NET app get the SMTP settings automatically from web.config?
How does my ASP.NET app get the SMTP settings automatically from web.config? I noticed that we always just are like: And the only place the credentials are set are in web.config: ```
- Modified
- 4 May at 17:21
How to read appSettings section in the web.config file?
How to read appSettings section in the web.config file? My XML looks like this and the filename is `web.config` In the code when I read
- Modified
- 2 Mar at 10:47
How to OpenWebConfiguration with physical path?
How to OpenWebConfiguration with physical path? I have a win form that creates a site in IIS7. One function needs to open the web.config file and make a few updates. (connection string, smtp, imperson...
- Modified
- 1 Dec at 12:6
Setting up connection string in ASP.NET to SQL SERVER
Setting up connection string in ASP.NET to SQL SERVER I'm trying to set up a connecting string in my web.config file (Visual Studio 2008/ASP.NET 3.5) to a local server (SQL server 2008). In my web.con...
- Modified
- 22 Nov at 08:5
Error parsing AppSettings value with a query string
Error parsing AppSettings value with a query string In my AppSettings in `web.config`, I have something like this: However, it seems that when an ampersand (`&`) is included in an AppSettings value, A...
- Modified
- 5 Jul at 07:36
Accessing SMTP Mail Settings from Web.Config File by using c#
Accessing SMTP Mail Settings from Web.Config File by using c# Need to read my SMTP email settings defined under system.net section in my web.config file. Below is one example of SMTP email setting def...
- Modified
- 19 Nov at 07:41
How to change the value of attribute in appSettings section with Web.config transformation
How to change the value of attribute in appSettings section with Web.config transformation Is it possible to transform the following Web.config appSettings file: into something like this: ```
- Modified
- 23 Feb at 16:28
Can't access the configuration manager from my solution
Can't access the configuration manager from my solution I have a three tier set-up. Someone suggested I should get the ConnectionString from the Web.Config file and I've got it set up like this: ![alt...
- Modified
- 31 Aug at 02:51
ConfigurationManager.AppSettings getting null?
ConfigurationManager.AppSettings getting null? I did not realize that: 'have a web.config in a separate class library and' was reading the web.config app setting from different web application. I am u...
- Modified
- 6 Mar at 20:11
How to add namespaces in web.config file?
How to add namespaces in web.config file? I am using VS 2008 and C# but when I added namespace in `web.config` file, that namespace is not imported or included in `code behind or aspx` I have also rea...
- Modified
- 23 May at 12:17
Can you pull the connectionString for a log4net AdoNetAppender from elsewhere in a web.config file?
Can you pull the connectionString for a log4net AdoNetAppender from elsewhere in a web.config file? I already have a db connection string in my web.config file. I scanned the log4net docs, but can't s...
- Modified
- 28 Nov at 19:24
Get the file path of current application's config file
Get the file path of current application's config file The reason I asked [this question](https://stackoverflow.com/questions/2956629/determine-if-app-is-winforms-or-webforms) is that I wanted to crea...
- Modified
- 23 May at 12:25
Can I add a textnode instead of an attribute in a .NET configurationsection?
Can I add a textnode instead of an attribute in a .NET configurationsection? I currently have a .NET custom configurationsection that looks like this: What I want is to write it as a textnode (I'm not...
- Modified
- 22 Feb at 13:29
How can I read key value from web.config in javascript file?
How can I read key value from web.config in javascript file? I am trying to read apiUrl key value from web.config file so that I can take advantage of the .net transform config to manage deployment in...
- Modified
- 19 Dec at 19:55
exePath must be specified when not running inside a stand alone exe
exePath must be specified when not running inside a stand alone exe When i am using a web application, the line of code below in class library are giving this error: > "exePath must be specified when ...
- Modified
- 22 Apr at 09:11
Can we have multiple App.Config files in .NET console application?
Can we have multiple App.Config files in .NET console application? I have a that has App.Confile file. Now the parameters that are environment specific are maintained here. Now I am thinking to have (...
- Modified
- 16 Dec at 18:29
Log4net - Suppress "exception" from being appended to custom "PatternLayout"
Log4net - Suppress "exception" from being appended to custom "PatternLayout" When using a custom "PatternLayout", log4net is appending the "exception" information (when present) to every log entry. I ...
- Modified
- 12 Sep at 18:22
How can I add an ampersand for a value in a ASP.net/C# app config file value
How can I add an ampersand for a value in a ASP.net/C# app config file value I've got a C# program with values in a config file. What I want is to store ampersands for an url value like... But I get e...
- Modified
- 17 Dec at 21:45
Setting multiple SMTP settings in web.config?
Setting multiple SMTP settings in web.config? I am building an app that needs to dynamically/programatically know of and use different SMTP settings when sending email. I'm used to using the system.ne...
- Modified
- 6 Dec at 03:51
How to read system.net/mailSettings/smtp from Web.config
How to read system.net/mailSettings/smtp from Web.config This is my `web.config` mail settings: and here's how I try to read t
- Modified
- 8 Feb at 19:9