The .NET Framework is a software framework for Microsoft Windows operating systems. It includes a large library, and it supports several programming languages which allows language interoperability

learn more… | top users | synonyms

29
votes
12answers
88k views

Unable to install .net 3.5 on Windows server 2012

I am trying to install .Net 3.5 on Windows Server 2012 and it constantly keeps failing. I am using "Add or Remove Features" and my Internet is already there. I've read that if alternate source couldn'...
20
votes
2answers
34k views

What value of thread_cache_size should I use?

I'm using Asp.Net together with MySQL. In the .Net connection string, I have set Max Pool Size to 150. If I run the following I get these values: SHOW GLOBAL STATUS LIKE 'max_used_connections'; ...
18
votes
2answers
10k views

What does the “.NET Framework Version” setting in IIS actually do?

This seems like an obvious question, but I'm trying to determine what the "Change .NET Framework Version" button on the top level IIS configuration panel actually changes. On all of my servers, it has ...
14
votes
2answers
6k views

Upgrade TFS 2010 build server to support .net 4.5

What is needed in the tfs 2010 build agent, to build .net 4.5 projects, in tfs 2008 we had to set the MSBuildPath property, but the configuration seems to be different in 2010. I get the following ...
13
votes
5answers
29k views

How to properly add .NET assemblies to Powershell session?

I have a .NET assembly (a dll) which is an API to backup software we use here. It contains some properties and methods I would like to take advantage of in my Powershell script(s). However, I am ...
11
votes
5answers
16k views

How to load-balance SQL Server 2008 for high-usage ASP.NET applications?

Imagine that you have a successful web application that uses ASP.NET and IIS 7. It generates many calls to a SQL Server 2008 database, and is expected to be available to the public with 99.9% uptime (...
10
votes
1answer
24k views

Unable to get anything except 403 from a .Net 4.5 website

Scenario: Clean Server 2008 R2 Install with IIS Role. Installed Framework 3.5 (Server Features) Installed Framework 4.5 RC (MS Download) executed C:\Windows\Microsoft.NET\Framework64\v4.0.30319>...
9
votes
2answers
7k views

Why does Windows 2008 use swap before the memory is full?

I administer a Windows 2008 server (well, on Amazon EC2) running IIS and a .NET4 Web app. I got a memory alert the other day and went and looked, and sure enough the process memory had grown over ...
8
votes
3answers
6k views

Using namespaces in Powershell

Thought about it while answering this question. How can you avoid the need to fully qualify every single type in a namespace? It's really, really tedious to write System.Security.Cryptography....
8
votes
5answers
685 views

ASP.NET High CPU Bringing Servers to their Knees

Ok, our new build is having 100% cpu spikes on each server at random intervals. For long durations it make the site totally unresponsive - this will be at peak times as people in different countries ...
8
votes
4answers
8k views

Deploy .net 4 via Active Directory group policy or WSUS

Is there a way to automatically deploy .net 4 using Active Directory group policy or WSUS? I want to push it out to lots of machines without having to go around to each one. Background: I have a ...
7
votes
3answers
8k views

Are .NET versions backwards compatible?

Over the years various versions of .NET have been deployed to my client machines via WSUS. Now it seems that on many machines these installations have hosed eachother, and certain .NET security ...
7
votes
2answers
2k views

Is Mono stable and fast enough for web production? [closed]

I am currently investigating for a new web application stack for my web server. C# looks great because it is a compiled language which seems to run quite well without too much CPU and does not ...
7
votes
2answers
24k views

Windows Services don't automatically start after reboot?

We've got some Windows services written in .NET. They start fine manually within the services mmc, but despite being set to Automatic, they never start when powering on (or rebooting) the machine. ...
6
votes
13answers
8k views

.NET 3.5 SP1 Installer hang at around 80%

I was trying to install .NET 3.5 SP1 to one of our production machines with Windows 2003 SP2. However, the installer just hang at around 80% with message "Setup is loading installation components, ...
6
votes
3answers
930 views

Vanilla Windows vs Windows Server

I probably should have asked this question a LONG time ago and I expect to be laughed out of this forum, but I NEED find the answer to this seemingly rudimentary question... If I intend to host a ....
6
votes
1answer
4k views

Is it possible to force a C# application compiled with the “Any” architecture tag to run as a 32 bit application on 64 bit windows?

I have a .Net application, compiled with the "Any" flag set for the architecture type. I am wondering if it is possible to force the application to run as a 32 bit application, on a(any) 64 bit ...
6
votes
4answers
34k views

How to configure a Web.Config file to allow custom 404 handling while still displaying on-page 500 error detail?

To customize 404 handling and based on the hosting company's suggestion, we are currently using the following web.config setup. However, we quickly realized that with this configuration, any page ...
6
votes
1answer
5k views

405 - ‘Method not Allowed’ adding service hosted in IIS7

I can't seem to get around this problem of adding a web service reference when the web service is hosted in IIS 7. I can add it just fine if I am running the VS2008 development server, but when I ...
5
votes
10answers
56k views

Install .NET 3.5 SP1 on Windows 7 RC

While attempting to install .NET 3.5 SP1 on a fresh install of Windows 7 RC, nothing happens. The machine gives a UAC prompt. When selecting Yes, nothing happens. Using the full redistributable ...
5
votes
2answers
1k views

How to query the task manager

I know the tasklist command in Windows will give a list of task names and their PID. There is another command WMIC path win32_process get Commandline which does give more detailed information, but its ...
5
votes
3answers
2k views

ASP.NET MVC shared web hosting recommendations? (Alternatively, good Windows VPS providers?) [closed]

I am looking to deploy a small, low traffic website I've built using ASP.NET MVC that just allows it's users to fill out a form and upload a file (.doc, .docx, .pdf, .txt). The administration side of ...
5
votes
2answers
372 views

Are there any best practice guides for IIS and .net applications?

I'm working with a company whose infrastructure team could use some guidance for deploying a .Net application. I've seen some incredible guides for programming best practices with .net. Are there any ...
5
votes
2answers
2k views

Running .NET app from network share in Win 7?

We have a .NET 1.1 application that we keep on a netowork share. We install the .NET Framerwork to the local PCs and also set the full trust via the following: %windir%\Microsoft.NET\Framework\v1.1....
5
votes
3answers
7k views

GZip Compression On IIS 7.5 is not working

I am trying to support GZip compression for my static files under IIS (which should be enabled by default but not) but not working so far. Here is the the section under <system.webServer> node ...
5
votes
3answers
6k views

What is Causing this IIS 7 Web Service Sporadic Connectivity Error?

On sporadic occasions we receive the following error when attempting to call an .asmx web service from a .Net client application: "The underlying connection was closed: A connection that was expected ...
5
votes
1answer
1k views

Installing mod_mono on Ubuntu: handler doesn't seem to get registered

I'm trying to install mod_mono on Apache 2 (Prefork MPM). I'm using Ubuntu Karmic, and just want an auto-hosting setup (so that any .aspx files are executed, similar to how PHP is normally setup). I ...
4
votes
2answers
266 views

Installing .NET 1.1 over later versions: Safe?

I have a server that is running all versions of .NET Framework, from 2.0 up to 4.0. An application I need to deploy won't run correctly on later versions, and was originally compiled for 1.1. Is it ...
4
votes
2answers
2k views

Is there a .NET 4.0 offline install?

I'm trying to install .NET 4.0 on some VMs using dotNetFx40_Full_setup.exe and am getting error 0x800C0005. The issue likely involves the firewall/proxy/security configuration. Rather than dealing ...
4
votes
3answers
4k views

Unable to install .NET Framework 4.6 on Windows Server 2012 R2 Core

When using the the offline installer (https://www.microsoft.com/en-us/download/details.aspx?id=48137) to install .NET 4.6 on a Windows Server 2012 R2 Core machine the following error is being returned:...
4
votes
1answer
2k views

Jenkins pulling from Bonobo Git Server

I have installed Jenkins Git plugin for SCM on Jenkins Bonobo Git Server To configure Jenkins to build from Git I type in url, which is on my local network http://devserv/Bonobo.Git.Server/<...
4
votes
1answer
22k views

How to add NETWORK SERVICE to Users permission group?

I'm adapting an application from a different server, their installation guide tells me to Add Server Name\Network Service identity to Users permission group. So how can I? I've tried: Via ...
4
votes
2answers
4k views

Why does the .NET Folder.CopyHere Method not allow dialog suppression for .ZIP files when run within a SQL Server Agent PowerShell job step?

I am using PowerShell in a SQL Server Agent job step to automate the extraction of .ZIP file contents to a directory. Based upon highest-voted answer on this question: How to zip/unzip files in ...
4
votes
1answer
11k views

Add Machine Key to machine.config in Load Balancing environment to multiple versions of .net framework

I have two web servers behind a F5 load balancer. Each web server has identical applications to the other. There was no issue until the config of the load balancer changed from source address ...
4
votes
2answers
4k views

Web app running as NETWORK SERVICE can connect to SQL Server but windows service running as LOCAL SYSTEM cannot

I have installed a .net web application on a Windows Server 2003 IIS server, running in an Application Pool as NETWORK SERVICE and connecting to SQL Server on a different machine using Integrated ...
4
votes
2answers
292 views

Arguments against deploying .Net 4.0 Framework on internal desktops

Edit in response to early answer and comments The biggest tangible argument for support .Net 4.0 apps is developer productivity - due to language enhancements, but also due to access to a greater ...
4
votes
2answers
6k views

Exactly which .NET version does Windows Server 2008 R2 Core support?

So, Microsoft added .NET support to Windows Server 2008 R2 Core, but which is the latest version that is supported? I know it has to be either .NET 3.5 or .NET 3.5 SP1, but which is it?
4
votes
2answers
782 views

Install .NET 4.6.1 remotely via powershell

I am trying to remotely install .NET framework4.6.1 on a large group of machines. I'm using powershell to remotely script this. The problem is that for whatever reason the .exe does not seem to want ...
4
votes
2answers
6k views

High CPU usage of IIS process (w3wp.exe) because of many slow clr.dll!CopyPDBs

I am using Windows Server 2008 R2 Enterprise with IIS 7.5, hosting ASP.NET MVC 5 applications. I've noticed lately that one of the w3wp.exe processes is using extremely high CPU bandwidth: After ...
4
votes
4answers
232 views

App Pool limitations

We currently have about 600 .net sites in a single app pool. We're starting to get out of memory exceptions and have to recycle the app pool to fix the problem. I know it's generally a good idea to ...
4
votes
0answers
5k views

Access to message queuing system is denied MSMQ?

My problem is a little confusing. I have 2 servers (Windows Server 2008 R2) with MSMQ installed and I want to use Server B to consume a MessageQueue on Server A. When I try to Receive it always ...
3
votes
4answers
175 views

Is .NET Framework v3.5 an upgrade to v3 or a separate product?

Basically, SharePoint says it needs .NET Framework 3 but when you search on that version on www.microsoft.com, it guides you towards v3.5 Cheers, Rob.
3
votes
3answers
3k views

Why do nmap -p <port> and nmap -A scans show different results?

I have a C# application that I've written that listens on port 789. It is running on a Windows XP Professional computer. Running netstat -an | find "789" TCP 0.0.0.0:789 0.0.0.0:0 ...
3
votes
1answer
523 views

Can you obtain a list of users via ADFS?

I need to implement a company website that would be accessed from the outside of the company. It is required that the users are able to login with the same credentials as they access the company ...
3
votes
4answers
5k views

Does IIS log request header information? If yes, where?

I would like to monitor HTTP request headers. Does IIS log this information somewhere?
3
votes
1answer
841 views

Performance Test and TCP tuning

We are in the process of performance testing an application which receives tcp requests converts them to soap requests (WCF-httpBinding) which other services work on. The server is Windows Server ...
3
votes
3answers
988 views

How to install php, mysql, apache and visual studio on same computer?

from 3 years, I am unable to find the solution for this thing, I want to use http://localhost/ for either for XAMPP for PHP testing, and something like http://localhost:32465/ default locations for ...
3
votes
2answers
913 views

sql server licencing (How many cal) [duplicate]

Possible Duplicate: Can you help me with my software licensing question? My asp.net web app is using one sql server account to work. i need to buy sql server standart edition. i wonder to know ...
3
votes
3answers
8k views

Is deploying .NET Framework 3.5 possible in WSUS?

I've searched Google and seen discussions on it, even on their own MS blogs but I'm at a loss. I've gone into WSUS and chose all of the .NET Framework packages I can find (they were in the "Service ...
3
votes
1answer
141 views

Can't install Active Directory Management Gateway Service on Windows Server 2003 DC because hotfix 969166 is missing

I need to install the Active Directory Management Gateway Service on two Windows Server 2003 domain controllers, in order to be able to use the Active Directory PowerShell module on other computers in ...