Tagged Questions
2
votes
0answers
49 views
asp.net Attempting to create publish settings in vs 2012 gives strange error
I recently updated my asp.net 3.5 web project from Visual Studio 2010 to Visual Studio 2012. Every time I try to create publish settings it says the following:
{There are errors in web.config. ...
2
votes
0answers
252 views
compressing json response from asp.net server in a shared hosting environment
My hosting server is godaddy on a shared hosting environment.
Because of shared hosting environment I do not have access to IIS settings.
For many purposes I send json response to ajax request
I ...
2
votes
0answers
200 views
Web Forms Authentication from code-behind
Within my application a privileged user can add/delete/update user roles (while also assigning them to specific users). The below excerpt shows a rule in my web.config file which allows the ...
2
votes
0answers
277 views
Aspnet_Regiis Could not load type 'Microsoft.ApplicationHost.AesProtectedConfigurationProvider'
I have implemented an AesProvider in my web.config (and tried in machine.config as well) like so:
<configProtectedData>
<providers>
<add name="AesProvider" ...
2
votes
0answers
172 views
Work around large RewriteMap config sections
Is anyone aware of a way you can split out a large (550KB) rewrite file into smaller sections?
The problem we have is that the old site had thousands of urls which need to be mapped but we can't map ...
2
votes
0answers
217 views
Web.config file not inheriting ALL parent Web.config settings (elmah)
I have a few applications that are set up using elmah for error handling. I recently read that Web.config files inherit from parent applications/directories, and decided to test it so that I can ...
2
votes
0answers
2k views
Error “Failed to decrypt using provider 'DataProtectionConfigurationProvider'… The RSA key container could not be opened.” when trying to use encrypted system.web/identity on web service
I'm receiving the following error when trying to access a web service that is using (for temporary reasons) an encrypted system.web/identity entry:
Failed to decrypt using provider ...
1
vote
0answers
18 views
URL Routing does not work on Windows EC2 instance
Recently we created a Windows Instance on Amazon EC2 and deployed our application.
Everything is working fine except URL Routing. For this I have googled everything and tried all the possible ...
1
vote
0answers
52 views
Asp.net 2.0 solution getting hundreds of HttpRequestValidationException from other sites not my own
Ive got an interesting issue happening.The site is getting a bunch of the error messages from other sites (not my own):
Exception type: HttpRequestValidationException
Exception message: A ...
1
vote
0answers
43 views
Visual Studio 2012 Express: Selecting 'Debug' or 'Release' in solution configuration drop down doesn't work
Visual Studio 2012 Express, MVC 4 App: Selecting 'Debug' or 'Release' in solution configuration drop down doesn't work.
I have Web.Release.Config & Web.Debug.Config. There is a transform
...
1
vote
0answers
29 views
Add config transform for WebSite
We do have lots of legacy sites which are built with WebSite option in visual studio rather than project. What I am trying to do now is, using TeamCity and Octopus to streamline our deployment ...
1
vote
0answers
22 views
Caching Profile CacheForTimePeriod Not Working Web.Config
In my web.config I have staticContent clientCache and it works perfectly.
However, I wanted more specific cache based on the different types of file extension. So I'm trying to accomplish this using ...
1
vote
0answers
61 views
ASP.NET web.config restrict access
So,
Not done anything in ASP.NET in a long time, I'm restricting a specific page if the user isn't logged in. I've done this a thousand times and have no idea why it's not working.
Root:
file: ...
1
vote
0answers
70 views
URL rewriting in, IIS 6, .aspx
I've developed a small website in VS2012 that utilizes the following rewrite in web.config:
<system.webServer>
<rewrite>
<rules>
<rule name="DynamicRewrite" ...
1
vote
0answers
17 views
Why does ExecuteURL strip the existing headers where File doesn't?
It seems to be generally known that serving custom error pages with a responseMode of ExecuteURL rather than File results in the HTTP status code not being maintained.
The remaining headers are also ...