Skip to main content

Questions tagged [.net]

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

Filter by
Sorted by
Tagged with
57 votes
11 answers
312k 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'...
Tim Tom's user avatar
  • 681
30 votes
6 answers
104k 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 ...
amandion's user avatar
  • 323
26 votes
3 answers
86k 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'; ...
Martin's user avatar
  • 379
26 votes
2 answers
62k views

How to See Detailed 500 Errors?

I have ii8 which I have tried to deploy my asp.net web api to. I guess I am doing something wrong as when I try to see if my api is working I am getting a 500 error. However it does not tell me what ...
chobo2's user avatar
  • 491
25 votes
1 answer
6k views

IIS 7.5 - Disable Overlapped Recycle property not being obeyed when web.config is updated

I have a site which holds an exclusive lock on some resources. I used the .NET Application_Start and Application_End events to acquire and release the lock on these resources at the appropriate time. ...
John's user avatar
  • 351
19 votes
2 answers
21k 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 ...
John Hargrove's user avatar
18 votes
1 answer
115k 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 ...
Madara's Ghost's user avatar
14 votes
2 answers
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 ...
JustEngland's user avatar
12 votes
5 answers
17k 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 (...
Yakov-MIK's user avatar
  • 123
10 votes
2 answers
13k 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 ...
Ernest Mueller's user avatar
10 votes
2 answers
41k 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>...
Basic's user avatar
  • 426
10 votes
6 answers
28k views

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

I would like to monitor HTTP request headers. Does IIS log this information somewhere?
Saar's user avatar
  • 203
10 votes
3 answers
14k 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....
Massimo's user avatar
  • 71.7k
10 votes
4 answers
60k 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. ...
James Crowley's user avatar
9 votes
1 answer
22k views

.net framework 3.5 Error code: 0x800F081F

I have just updated my work PC to Windows 10 Enterprise. After the update I have noticed that all of my remote connection tools other than RDP wont install or wont work and I am getting a prompt to ...
Eddie Studer's user avatar
9 votes
2 answers
3k views

How to restrict unauthorized domains pointing to my website's IP address

I found that some domain (namely bajajra.com) is pointing to my website's IP address. I am using IIS 10 to host my website. How can I restrict the access to all such unauthorized domains? This ...
Vikas Sharma's user avatar
9 votes
4 answers
70k 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 ...
user avatar
9 votes
1 answer
4k views

Can IIS serve my .NET app over the QUIC protocol?

We have a super chatty (ajax) html 5 app (gmail-like in its construction, tons of js). The reading of QUIC sounds interesting. https://en.wikipedia.org/wiki/QUIC Can IIS (or any .NET hosting engine)...
Jonesome Reinstate Monica's user avatar
8 votes
3 answers
13k 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 ...
Boden's user avatar
  • 5,008
8 votes
3 answers
19k 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:...
Castrohenge's user avatar
8 votes
1 answer
26k views

Get IIS to use .NET Framework > 4.6

I have a newly installed Win Server 2016 with "IIS 10" installed (by "add features"->/guide/--> tick install IIS") When I look at my app pools I see that thay have ".NET CLR Version" 4.0 and my apps ...
Cowborg's user avatar
  • 193
8 votes
4 answers
11k 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 ...
Terence Johnson's user avatar
8 votes
5 answers
984 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 ...
user avatar
7 votes
1 answer
5k 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 ...
blueberryfields's user avatar
7 votes
2 answers
10k 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 ...
Richthofen's user avatar
7 votes
2 answers
3k 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 ...
Vincent Robert's user avatar
6 votes
13 answers
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, ...
Oscar Kuo's user avatar
  • 243
6 votes
1 answer
6k 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 ...
d0001's user avatar
  • 329
6 votes
3 answers
2k 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 ....
James Jones's user avatar
6 votes
3 answers
15k 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 ...
Nikolay Kostov's user avatar
6 votes
1 answer
6k 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 ...
eskerber's user avatar
  • 121
6 votes
3 answers
9k 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 ...
tugberk's user avatar
  • 945
6 votes
3 answers
7k 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 ...
user avatar
6 votes
1 answer
16k views

The specified module 'MSOnline' was not loaded because no valid module file was found in any module directory

For one of my applications I have a Windows service (on Windows Server 2012 R2 x64) which role is to execute many jobs on differents schedules and triggers. One of them is to reset a user password on ...
cyrilv's user avatar
  • 325
6 votes
1 answer
2k 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 ...
Trevor Johns's user avatar
6 votes
0 answers
8k 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 ...
JeanKininho's user avatar
5 votes
2 answers
10k 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 ...
E.S.'s user avatar
  • 155
5 votes
1 answer
27k 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 ...
medina's user avatar
  • 135
5 votes
3 answers
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 ...
Rob Burke's user avatar
  • 215
5 votes
2 answers
615 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 ...
tsimon's user avatar
  • 163
5 votes
2 answers
19k views

.NET Framework 4.7.2 stuck on installation and roll back on Windows Server 2016

When trying to install the .NET Framework version 4.7.2, it gets stuck on the installation and freezes here: I waited for over an hour for the .NET Framework to install, and it stayed at the same ...
AndreasKralj's user avatar
5 votes
1 answer
1k 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 ...
Massimo's user avatar
  • 71.7k
5 votes
2 answers
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....
schooner2000's user avatar
4 votes
3 answers
14k views

.NET Core console app fails from task scheduler with 0xC0000005

I have written a simple .NET Core console app (which writes some log files, hits a database and sends some emails). Triggering the task by double-clicking on the .exe within Windows works fine. ...
Mick Byrne's user avatar
4 votes
10 answers
57k 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 ...
4 votes
3 answers
10k views

Why is IIS allowing only 3 connections at the time?

I have installed IIS (Version 10.0.10.586.0) on Windows 10, I am trying to do some stress tests locally with jmeter creating a lot of get requests simultaneusly but jmeter is being allowed to do only ...
ferflores's user avatar
  • 153
4 votes
4 answers
4k 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 ...
Andrew's user avatar
  • 153
4 votes
2 answers
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 ...
TrueWill's user avatar
  • 119
4 votes
1 answer
5k 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/<...
Bjørn's user avatar
  • 276
4 votes
2 answers
6k 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 ...
peterk411's user avatar
  • 178

1
2 3 4 5
10