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

-2
votes
0answers
17 views

Boolean method using Multiple if else return value in c# [closed]

Boolean method using IF else return value how Performing .. Example My structure boolean result=false; public boolean Initialize () try { if(IsPRI) { result=true; } else result=false; } ...
-1
votes
1answer
28 views

High CPU being caused by garbage collection in w3wp.exe

I am having a problem with High CPU happening on my my website in IIS8. This happens randomly and not very often but it does happen especially when the load is heavy on the site. The only way to ...
0
votes
0answers
45 views

Install “Microsoft Report Viewer” on Windows Server 2012 R2

I am attempting to install Microsoft Report Viewer (2015) on a web server. The web server is a Windows Server 2012 R2 (x64) instance. The web server will be running a .NET application that uses the ...
0
votes
0answers
4 views

Printing from .NET Application is Slow on Only 1 Web Server

We have 2 Identical VM Windows 2008 R2 Web Servers that run .NET Web Applications with Identical Code on IIS 7.5 with Identical Configurations with identical print drivers. (Used WinMerge to compare ...
2
votes
2answers
1k views

IIS reset fails after updating .NET framework

After I uninstalled Visual Studio 2010 beta 2 and installed Visual Studio 2010 RC, executing IISRESET gives the following error message: C:\Program Files\Microsoft Visual Studio 10.0\VC>iisreset ...
0
votes
3answers
1k views

How to retrieve names of all private MSMQ queues - efficiently?

How can I retrieve the names of all of the private MSMQ queues on the local machine, without using System.Messaging.MessageQueue.GetPrivateQueuesByMachine(".")? I'm using PowerShell so any solution ...
1
vote
1answer
69 views

SecureCookies, HTTPOnly cookies, .Net, and SSL offloading

So I've been looking into implementing HttpOnly and SecureCookies in my web environment. I have an F5 as the load balancer and a couple of C# web applications hosted in iis 7.5 for the website. The ...
0
votes
1answer
2k views

Unable to run query in SQL Management Studio because of JIT debugging error

Recently I have built a Windows server 2008 and installed SQL Server 2008 and Dynamics CRM 2011 on it. Everything is working fine but when I open the SQL Server management Studio and try to open a new ...
0
votes
1answer
15 views

DLL files are incorrect size when uploaded to server via FTP

I've set up a new server with FTP access. However I have noticed that when uploading .dll (.net assembly) files via FTP, the destination file is a different size to the original file. This seems to ...
0
votes
0answers
13 views

Centralized management of app.config parts for self-hosted .NET services

What will be the best way to handle these scenarios, if they are not one-time, but regular: Self-hosted services on a quite a bunch of machines are needed to be repointed to different database in a ...
0
votes
0answers
6 views

IIS 7 Timeout is too short and code isn't returned to the browser

I have a piece of code that needs to run for 300 secs (5 min) that worked in IIS 6 fine. But in IIS 7 things changed. But I did add this: <system.web> <httpRuntime ...
0
votes
0answers
49 views

IIS 8.5 on Windows Server 2012 R2 cannot handle more than one concurrent connection

I am in a bizzare situation. Here's my scenario: I have been working on an MVC5 Web API2 Project hosted on Rackspace hosting. According to the diagram I've added, the API project is AppOne. We have ...
3
votes
2answers
70 views

Health-Check on .NET 4.5 Installation

On a Windows Server 2012 R2 Core Server box, I get these results: PS C:\Users\vagrant> Get-WindowsFeature | Where-Object {$_.DisplayName -like "*.NET*"} Display Name ...
2
votes
1answer
56 views

What is a safe way to allow any windows user to encrypt a file but only a specific application decrypt it

I've developed a service that reads text files from a location. Some of the text files may contain sensitive information. We would like to allow any user to run a standalone tool to encrypt the ...
3
votes
3answers
3k 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 ...
3
votes
3answers
7k 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 ...
1
vote
1answer
364 views

How to install .NET 3.0 or 3.5 on Windows Server 2003?

I'm having difficulty installing .NET 3.0 or 3.5 on my Virtual Dedicated Server with Windows Server 2003. I get this error every time: http://img402.imageshack.us/i/net30setuperror.jpg/ Any ...
4
votes
2answers
431 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 ...
1
vote
0answers
51 views

Correct Azure VM firewall settings for Azure SQL Database v12

One of the recommendations when a client runs on an Azure VM and needs to connect with your Azure SQL Database v12 is to: Ensure that the port ranges of 11000-11999 and 14000-14999 on your Azure ...
-1
votes
1answer
155 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 ...
2
votes
2answers
5k views

Unable to Run WCF Services (.SVC) on Windows Server 2012

I got a server with windows server 2012; however, I was unable to run svc files with it. I was able to run asmx files on it. I decided I wanted to figure out how to run svc files. I tried the the ...
3
votes
1answer
109 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 ...
1
vote
1answer
5k views

.NET 4 Framework installation freezes Windows 7 [closed]

So I had a problem when installing VS2010, it froze during .NET 4 installation. I tried installing standalone Framework installation and during the install it freezes computer completely, demanding a ...
29
votes
12answers
81k 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 ...
0
votes
0answers
50 views

Intel Rapid Storage Technology (RST) 14.6 failed to start

After upgrading RST to version 14.6 (was something like 10.x) on Windows Server 2008 R2 Standard I got this errors (in Russian), no running service and no GUI can be opened from tray icon anymore: ...
0
votes
1answer
44 views

.NET based applications will not launch

We have a .NET 3.5 application that we've been using for about three years with no major issues and since yesterday it does not launch at all. The application hangs. It first starts three processes, ...
1
vote
0answers
29 views

Scheduled Tasks running twice on windows server 2012 R2

On my production server (Windows server 2012) I have scheduled various tasks. I have enabled Task Scheduler history but its of no use. LastRunResult of each of my tasks shows Last run of the task was ...
1
vote
1answer
87 views

.NET Framework Upgrades and Installations

This is a 2 part question regarding installing and updating .NET on a server. I have a server with .NET 4.5 installed. I would like to update it to have .NET 4.5.2. If I install this package, will ...
1
vote
1answer
243 views

Are Application Pools Generally Larger In IIS 8.5 vs IIS 7.5?

We recently moved our websites from IIS 7.5 to IIS 8.5. We did not change any of the code in the websites The app pools are identical in configuration We are running ~70 sites on this ...
0
votes
0answers
10 views

Multiple domains pointing to one server. Using a rewrite rule to set preferred domain

I just launched a new website for a client. As part of the new launch I want to try and sort out their domains. Currently they have 3 domains all pointing to the same server which is bad when it comes ...
0
votes
1answer
34 views

IIS timeout for active connections

Is it possible to set a timeout for active connections in IIS? I know that you can set a timeout for idle connections. What leads me to ask this question is a scenario with a load balancer in front ...
20
votes
2answers
33k 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'; ...
0
votes
0answers
13 views

Workbench Connects/Auths to Database but Application Fails

Why can mySQL Workbench Connect to the database but my app can not using the same pc? I can connect to my database using mySQL Workbench and manipulate the data however my .NET app using the same ...
0
votes
2answers
145 views

application response times grinding to a halt in .net - cant stop crashing

We have about 200 desktops across the US using our point of sale/website application on a daily basis. This application is considered mission critical and cannot go down for our retailers. For the ...
1
vote
2answers
239 views

Where (and how) to put PDB files for custom .NET code?

Our developer sent me a PDB file to help debug a custom application. I currently have my symbol directory set to c:\symbols, and several Microsoft symbols are there in this folder format: ntdll.pdb ...
0
votes
1answer
37 views

Forward urls on same domain to different servers

During a rollout of a large site (IIS, .NET, EPiServer) with multiple markets we want to forward markets to the new server when the market has been added to the new web platform, but we still want to ...
0
votes
0answers
14 views

How can I know when to implement a load balancer on IIS Applications?

I have a .NET application running on IIS (Windows Server 2012 R2), the server has 32 logical procesors and 60gb of RAM. Currently is receiving about 4 million requests per day and it is using barely ...
1
vote
2answers
603 views

Can I see a log of IIS loading (or not loading) a .net httpmodule?

I have a site that uses a .net security module to secure certain areas of the website. It's not working, the pages that should be password protected are not. Other than that, the site doesn't throw ...
2
votes
0answers
270 views

The wait operation timed out

I have encountered this problem when running a Data-fill routine for a Data-set Data-adapter in C# which uses a stored procedure written in SQL Server Azure. The SQL Server stored procedure executed ...
13
votes
5answers
28k 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 ...
2
votes
1answer
2k views

Cannot install any .net 4.5.x updates. Error Code 64C

The Problem I have a Windows Server 2008 R2 machine, which got serious problems with it's .Net Framework installation. The problem came to light when Windows Updates related to .net 4.5.1 started to ...
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 ...
0
votes
0answers
28 views

Executing .NET Application on a Network share by a service account

we have a Cluster of two Windows Server (2008) nodes that run our SQL server and execute SSIS packages. I have created a new package, that starts a .NET application on a cluster share. To remove the ...
1
vote
0answers
54 views

Secure Connection from DMZ Web Server to Internal Web Server

We have a .NET web service running on an internal IIS web server that allows outside organizations to send us documents that are then automatically filed on our Sharepoint server (running off the same ...
1
vote
0answers
1k views

adamsync.exe /sync is failing with “Naming Violation”

I am trying to synchronize my AD LDS instance (localhost:50006) with AD DS entries (basically trying to get user and computer accounts from AD DS so that I can use windows security principals in my ...
3
votes
1answer
444 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 ...
1
vote
1answer
155 views

Mono is crashing after the process starts

I have a .net application running on mono 4.0.2 in ubuntu 14.04. Mono sometimes crashes after the application starts. I see this error in the logs. Stacktrace: Native stacktrace: ...
2
votes
1answer
578 views

Server.CreateObject Failed in Classic ASP IIS 10

I installed our web application on a new Windows 10 machine, which uses IIS 10. Our app is 32-bit so I set the app pool to use 32-bit and I also set the web app folder to allow "EVERYONE" full ...
0
votes
3answers
5k views

Can I detect authenticated domain users in IIS / ASP.NET without prompting everyone else for credentials?

I am updating an old ASP .NET 3.5 webforms application which uses forms authentication. The requirement is that it needs to automatically log in authenticated domain users whilst still allowing ...
0
votes
1answer
2k views

Microsoft .NET Framework NGEN service starts and then immediately stops

I'm reviewing the system log of a Windows Server 2008 R2 machine used as an Azure web role instance and I see the following messages from Service Control Manager: 2:28:28 PM The Microsoft .NET ...