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

Please note that the .NET Framework is not specific to any one programming language. The C#, VB.NET, C++/CLI and F# programming languages from Microsoft, and many other languages from other vendors, all use the same .NET Framework.

461 questions
9
votes
4 answers

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 error (500 error) are also getting redirected to…
Mark
8
votes
2 answers

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 question is similar to this one, but I am looking for…
8
votes
5 answers

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

I would like to monitor HTTP request headers. Does IIS log this information somewhere?
Saar
  • 183
  • 1
  • 1
  • 4
8
votes
5 answers

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 log on to the site etc. We've looked at perfmom,…
user880954
8
votes
4 answers

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 VSTO ClickOnce application I want to deploy to…
Terence Johnson
  • 111
  • 1
  • 1
  • 6
8
votes
3 answers

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 updates are failing. I verified that I can run the…
Boden
  • 4,948
  • 12
  • 48
  • 70
7
votes
2 answers

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 consume too much memory. And StackOverflow and…
Vincent Robert
  • 194
  • 3
  • 13
7
votes
1 answer

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 uses v4.6.x. I cant change to any other versions…
Cowborg
  • 173
  • 2
  • 2
  • 5
7
votes
2 answers

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 to be invoked remotely. I am assuming this is due…
Richthofen
  • 275
  • 4
  • 8
7
votes
3 answers

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: Problem signature: Problem Event Name:…
7
votes
1 answer

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 version of windows, without recompiling the application…
blueberryfields
  • 757
  • 1
  • 7
  • 17
6
votes
1 answer

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 Office 365. The server on which the service runs…
6
votes
3 answers

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 .NET web application, why would I want to use Windows…
James Jones
  • 551
  • 2
  • 7
  • 15
6
votes
1 answer

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 switch it over to IIS I get a 405 error. It seems to…
eskerber
  • 121
  • 1
  • 10
6
votes
3 answers

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 investigated little bit more, I've also noticed that…
Nikolay Kostov
  • 161
  • 1
  • 1
  • 5
1
2
3
30 31