Questions tagged [asp.net]

Web application framework developed by Microsoft

ASP.NET is a web application framework developed by Microsoft that allows web developers to create dynamic web sites and applications.

First released in January 2002 it is the successor to Microsoft's Active Server Pages (ASP) technology.

ASP.NET is built on the Common Language Runtime (CLR), allowing programmers to write ASP.NET code using any supported .NET language such as C# or VB.NET.

1234 questions
4
votes
1 answer

IIS 7.5 inconsistently Gzips files (with PHP & ASP.NET)

I made some changes to the web.config of a server running IIS 7.5 improve the performance (mostly front-end). A 3rd party testing tool says the site is running "PHP/5.3.10, ASP.NET" and if memory serves, it is ASP.NET 4.5 I think it's due to the odd…
adam-asdf
  • 191
  • 1
  • 11
4
votes
0 answers

IIS Performance NUMA

I have been struggling with an IIS issue and can't seem to find any answers. Basically here is the setup. I have a Dell Server with 4 processors 10 cores each with hyper-threading enabled. Giving me 80 logical cores. Server has Windows 2012 R2…
user204579
4
votes
0 answers

Error during GENERAL_REQUEST_ENTITY for POST results in ASP .NET session state never getting unlocked

I have been trying to chase down the root cause of a condition where ASP .NET session state remains locked after a web request has been terminated due to an unexpected error. We use the SQL Server session state provider for session because we have…
Jesse
  • 151
  • 4
4
votes
2 answers

What permission is needed for my SQL Server 2005 DB for a WebUser?

I have a connection string in my asp.net code that looks at a SQL Server 2005 database. I created a UserName called WebUser and granted him db_datawriter and db_datareader in SQL Server 2005. Both under Login and under the database the user must be…
Etienne
  • 273
  • 5
  • 16
4
votes
2 answers

The trust relationship between the primary domain and the trusted domain failed

Scenario: We have an application server (IIS 7.0, Windows 2008 R2) and a seperate database server (SQL 2008) for both our test and production environments (so 4 servers total). Our application server is hosting our custom ASP.Net 4.0 applications.…
Gage
  • 141
  • 1
  • 1
  • 5
4
votes
1 answer

Two application pools or root virtual directories under one site

This might sound like a very dumb question, so let me first say what I want to achieve and then proceed to my question on how I'd envision something like this working. I am trying to achieve completely seamless deploys of our web application to IIS…
Ruslan
  • 243
  • 1
  • 6
4
votes
1 answer

What is this user name for and how did it get created?

When I created a website named Portal on my IIS 7.5 on the website permissions->security I got this user. What is its purpose? From what I have read the ApplicationPool runs under NetworkService permissions, but I noticed if I gave Portal user full…
sprocket12
  • 223
  • 2
  • 5
4
votes
3 answers

Trailing dots in url result in empty 404 page on IIS

I have an ASP.NET site on IIS8, but IIS7.5 behaves exactly the same. When I enter a URL like: mysite.com/foo/bar.. I get the following error with a '500 Internal Server Error' status code: even though I have custom error pages set up for 500 and…
Peter Hahndorf
  • 14,058
  • 3
  • 41
  • 58
4
votes
1 answer

SQL Server 2012 Management Studio Express - no server

I am having trouble with SQL Server 2012 Management Studio. There is no server name. Earlier I installed the 2008 version but something wasn't right so I uninstalled and installed 2012. Upon installation 2nd time round there wasn't an instruction…
Adrian McGuinness
4
votes
2 answers

Why do I need to add my application pool identity to the IIS_IUSRS group?

I'm setting up a .NET v4.0 web application on a Windows 2008 R2/IIS 7.5 server that uses a domain account for the application pool identity. When I access the site, I get the following error: The current identity () does not have write access to…
smcolligan
  • 41
  • 1
  • 3
4
votes
2 answers

Disable .net completely in a IIS6 Application Pool

we're managing some web sites for our clients on our servers, some running Windows Server 2003 R2 and others running 2008 R2. In Windows Server 2008 R2, we can disable completely .NET framework usage for some application pools, which is great since…
4
votes
2 answers

ASP.NET request queue priority

I'm on IIS 7 and .NET 4.0. My understanding is that IIS takes requests and passes them off to ASP.NET worker threads. If all the threads are in use, the request goes into a queue and is processed once a thread becomes available. If the queue goes…
dan
  • 426
  • 7
  • 21
4
votes
6 answers

SQL Server 2008 login problem with ASP.NET application: Failed to open the explicitly specified database

I am running SQL Server 2008 Express Edition on Windows Server 2008 with an ASP.NET application which must access the server. The ASP.NET application is associated with an application pool that runs on the NetworkService account. This account in…
eulerfx
  • 151
  • 1
  • 1
  • 6
4
votes
1 answer

IIS6 Website 'breaks' when viewed using Safari Browser

I have an application that is using ASP.NET 4.0 Webforms on IIS 6.0 that has been operational for multiple years. A recent deployment to the app has caused some very random (to us) intermittent issues in the Safari browser (not any other…
S.Kiers
  • 161
  • 5
4
votes
8 answers

Why won't IIS execute my custom 404 page? It tries to serve up the raw source code instead

I'm trying to configure Custom Errors in IIS6. I select the 404 error, set the dropdown to "URL," then enter this as the URL "/404.aspx" When go to: http://mysite.com/no-page-here It finds 404.aspx, but doesn't process it as a .Net page -- it tries…
Deane
  • 247
  • 3
  • 9