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

15
votes
2answers
6k 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
1answer
20k 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'; ...
14
votes
2answers
5k 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
12k 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 ...
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 ...
8
votes
4answers
12k 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 ...
7
votes
2answers
4k 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 ...
7
votes
6answers
24k 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 ...
7
votes
5answers
531 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 ...
7
votes
2answers
2k views

Is Mono stable and fast enough for web production?

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 ...
6
votes
1answer
12k 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
3answers
5k 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
826 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

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
54k 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
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
26k 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
228 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
2k 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
243 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
4k 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
3k 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
1answer
137 views

Best system administrators reference for managing .NET applications

We develop all our solutions in .NET. Some of the concrete technologies we use are ASP .NET MVC, WCF and Windows Services. Our system administrators, who obviously have the responsibility on making ...
4
votes
4answers
219 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
6answers
357 views

Is .NET experience a good thing or a bad for a Sr. Sysadmin?

I'm a sysadmin and become pretty good at ASP.NET development and .NET in general. Is there a chance that my .NET skills may be a disadvantage to me? What would the pointy-haired-boss think? The ...
3
votes
4answers
170 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
2k 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
3answers
3k 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
585 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
618 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
591 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
235 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
193 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
67 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
1answer
1k 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
94 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
765 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
954 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
2answers
9k 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. ...
3
votes
3answers
4k 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
476 views

Installing .NET Framework 4.5 Features Hangs on Starting Installation Server 2012

I am running Windows Server 2012 Standard and have installed IIS 8.0 but need to install the Application Development role service, however when I try to do so the installation progress never moves. It ...
3
votes
1answer
612 views

App pool gets stuck on reset and takes .net pages out

Several times after our app pool has been told to reset, it gets stuck, the .net pages go down and the following error appears in the application event log: Failed to execute request because the ...