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

17
votes
1answer
25k 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'; ...
17
votes
11answers
47k 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 ...
17
votes
2answers
8k 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 ...
11
votes
5answers
14k 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 ...
9
votes
2answers
5k 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 ...
9
votes
4answers
19k 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 ...
8
votes
4answers
7k 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
5answers
591 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 ...
7
votes
2answers
4k 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 ...
6
votes
1answer
17k 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 ...
6
votes
13answers
7k 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
6k 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 ...
6
votes
3answers
873 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
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
55k 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
248 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
1answer
3k 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 ...
5
votes
4answers
30k 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 ...
5
votes
2answers
1k 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: ...
5
votes
3answers
5k 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
245 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
2answers
3k 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
2answers
3k 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
271 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
5k 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
1answer
4k views

How do I install informix odbc on windows server 2003/2008?

I installed the informix client sdk on my pc (32 bit) and on the server, I could create an odbc connection on my pc easily, but on both windows 2003 and 2008 (64 bit) I can't. I don't know if there ...
4
votes
2answers
13k 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. ...
4
votes
4answers
226 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
2answers
2k views

How to install Crystal Reports for .net 4.0 on server

We made a project with Visual Studio 2010 and .net 4.0 using Crystal Reports. But if we publish it on the server, it won't work. I remember that with Visual Studio 2008 you just downloaded an ...
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
672 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
771 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
745 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 ...
3
votes
4answers
4k 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
4answers
251 views

Use single IP address for farm of servers

I am building an app where I have XX number of customers who can run on a single instance. The application scales out by adding more nodes (thus supporting XX more customers). I want a way to use a ...
3
votes
1answer
262 views

What is the difference between an independent client and a dependent client in terms of MSMQ

I have a client that has a server (server A) that has a .net app that is trying to write to a MSMQ on another server (server B). They are getting the error "MSMQ independent clients cannot serve MSMQ ...
3
votes
1answer
83 views

Getting .NET Intergation Services working on Second Instance of ColdFusion 10

I'm running CF 10 Enterprise, with .NET integration services installed after the initial installation and configuration of the two instances. The instance names are "cfusion", the default, and we'll ...
3
votes
3answers
5k 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 ...
3
votes
1answer
2k views

Install Mono ASP.NET on debian

I've been trying to install mono ASP.NET onto my debian VPS and I am unable to do so. I know I need mono which can support .NET 4.0 now. I am unsure if I need XSP and mod_mono, or just mod_mono. ...
3
votes
1answer
95 views

Using Microsoft Azure to host a .NET solution

I'm working in a startup which looks to deploy their code to the "cloud". One of the options is Microsoft Azure - the questions is should it be used? We use .NET with SQL Server. The front end ...
3
votes
2answers
506 views

.NET 2.0: An established connection was aborted by the software in your host machine

Scenario: I try to post a video to YouTube with the following code: YouTubeEntry createdEntry = service.Upload(newEntry); This works fine on my developer machine (running Windows XP). It fails on a ...
3
votes
2answers
854 views

How can Hosting Providers allow .NET Full Trust?

I wondered how certain .NET hosting providers can safely grant full trust to their customers? Doesn't this open up everybody who is hosting with that company to potential safety issues? Or is there a ...
3
votes
5answers
1k views

Opening an Excel spread sheet in .NET on a x64 system

I can't open an Excel spread sheet with .NET on an x64 server using the following connection string "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" + filePath + "; Extended Properties=Excel 8.0;" I ...
3
votes
1answer
1k views

Unable to start SQL Server 2008 service

I am running SQL Server 2008 R2, and I am having an issue with my local server instance. At first, this only happened occasionally and seemingly completely randomly, but was fixed when I restarted my ...
3
votes
1answer
45 views

Windows client damage authorization header (Kerberos) => IIS 400 (Bad Request)

We are facing strange behavior on about 5% of Windows (7 Pro and XP Pro, both 32 and 64 bits) client computers. These computers gets randomly error from IIS server - 400 Bad request. We are using ...
3
votes
0answers
1k views

Getting MSVCR120_CLR0400.dll is missing error message on Windows 7 machine [closed]

Not sure if this belongs on serverfault, let me know if it should be posted somewhere else. I am running Windows 7 64-bit. An installation for a corporate .NET app (desktop app that uses .NET 4.5) ...