Tagged Questions

C# is a multiparadigm, managed, garbage-collected object-oriented programming language created by Microsoft in parallel with the .NET platform

learn more… | top users | synonyms

-1
votes
2answers
19 views

How to remote access my mysql database?

can you please help people, i made an application which will be used by few friends of mine, but the application is written with connection method: Standard (TCP/IP), i was thinking it will be easy, ...
0
votes
1answer
18 views

Console application scheduled task not exiting some times on Windows Server 2008 R2

I have a C# console application as a Scheduled Task on Windows Server 2008 R2. The application is scheduled in Windows Task scheduler to run after every 15 minutes. At the end of the application I ...
1
vote
0answers
27 views

How to do a 301 regex redirect with IIS7

How can I do a 301 redirect with this pattern: /([^/]+)(?=/[^/]+/?$) in my .NET solution to redirect /en/solutions/exemple to /en/exemple in my web.config file PS:I am new to .NET and IIS that's why ...
0
votes
0answers
85 views

401 Unauthorized response from java webservice

I am getting the 401 Unauthorized response while I am calling java webservice (JAX-WS) from C# client ,It was working on my development environment but not working on production server. I can access ...
-3
votes
1answer
136 views

How to create inbound rule on Windows firewall for custom service?

Service is written in C#. It is a server that requires opening port 8080 for inbound connections. It runs as Local System and has unrestricted SID (created by sc tool). If I add in Windows Firewall ...
0
votes
0answers
79 views

MongoDB Sharding Issue

I made some Sharding tests but I always got the same issue. I got 1 config server, 3 shards (mongod) on 3 different servers (500 Go each). When I made an insertion of huge amount of data (1 000 000 ...
3
votes
1answer
149 views

How can I get an OID for a certificate template?

I'm using C# (or VBScript) to issue a certificate from an Enterprise CA. According to this answer, I need to specify the OID instead of the certificate name, and place it in an unexpected portion of ...
0
votes
0answers
270 views

Accessing Exchange server 2013 from window 7 using Remote PowerShell?

I am trying Remote PowerShell from Windows 7 to Exchange Server 2013. Following is the code snippet. public static void ConnectToPowerShell() { string password = "password"; ...
0
votes
0answers
294 views

Getting Error: “Cannot open database \”DB PATH“ requested by the login. The login failed.\r\nLogin failed for user 'ACTADMIN' ”

Overview: OS: Tried on both win 7x64 and win8.1x64 Visual Studio version: Tried on VS 2013 (.net version 4.0 and 4.5), and VS 2010 (.net version 4.0) DB used: ACT2014Default Act version: Act! Premium ...
1
vote
0answers
262 views

SharePoint Server PowerShell Access Denied

I am running a custom web service on a sharepoint server (2010). My script works fine until I make a call to update a database. I get this error: Exception calling "Update" with "0" argument(s): ...
0
votes
1answer
232 views

Timer_EntityBody, Timer_ConnectionIdle and Connection Closed Unexpectly

We have a windows application, it connects to a web service (XML web service hosted on a Windows 2008 Server IIS 7.5, no antivirus) and fetches some data to the client. But sometimes (around 5%-10% of ...
2
votes
1answer
1k views

Deploying MVC 5.1 app on web server

I made ASP.NET application with MVC 5.1 technology and tried to deploy it on Winhost server. When I go to my web site, I get the following error message. Could not load file or assembly ...
0
votes
0answers
157 views

.dll Solidworks Add-in not registering in COM

I am trying to register this .dll in COM as an Add-in to Solid Works software. The dll is building without any error or warnings.But the Add-in is not appearing in the Windows "Registry Editor" as ...
0
votes
0answers
144 views

Microsoft-Windows-TerminalServices-LocalSessionManager/Operational Log Entry in C#

I am trying to do I simple script for retrieving TerminalServices logs, but for some reason I have not found a way. Both log name and the source seem correct. I can do this in powershell but ...
0
votes
1answer
104 views

HTTP Error 500.19 - IIS Error

I have following lines in my web.config file. All I am trying to achieve is to display a custom error page if anything goes wrong in application. But instead of getting the custom page I get error as ...
0
votes
1answer
752 views

Automatically starting C# Mono application on Ubuntu server

I have a TCP server written in C# which I will run on my server. I've tested the application running on the server and client side and it all works great! I'm using mono on my Linux server to run the ...
1
vote
1answer
688 views

Authenticate user in WinForms (Nothing to do with ASP.Net)

Originally-posted on StackOverflow, cross-posted here as suggested in SO comments. Intro I need to password protect some actions in my application, such as loading/saving files, clicking ...
0
votes
0answers
143 views

Where to find Azure SQL password?

I deployed a MVC5 app to Azure with the following connectionstring: <add name="AzureSqlConnection" connectionString='Server=tcp:[myserver].database.windows.net,1433; Database=Database;User ...
0
votes
1answer
149 views

Issues with authenticating through HTTP POST

I am currently investigating an issue with our web authentication server not working for a small subset of users. Our method of authentication involves sending a hash through an HTTP POST. My ...
1
vote
1answer
462 views

Can a windows service running with network service or local system account, updated active directory container?

I have two windows services (one running as network service and the other as local system) - because of some architecture reasons these cannot run under domain user account. And there will be a store ...
0
votes
0answers
93 views

RabbitMQ in Production on Windows Platform - Production Tenets

What is the typical recommended set up for RabbitMQ in a Windows Production environment? I plan to use it for a publish-subscribe scenario with one of my Web APIs. We are a .NET shop with Windows ...
-4
votes
1answer
165 views

web.config file changings guide [closed]

Hi experts how are you all? i am student, and learning asp.net c# visual studio 2010 with using sql server 2005. I have developed a website which has database. I developed this website with self ...
2
votes
0answers
475 views

MySQL on Amazon RDS connection handshake error reached max_connection_errors

We are using a C# web app on AWS connecting to a MySql RDS. Suddenly, connections start to fail with two different exceptions: First one (most repeated): Authentication to host 'xxx' for user 'xx' ...
2
votes
0answers
2k 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 ...
0
votes
1answer
585 views

How to find IIS default port using command prompt? [closed]

How do I find the IIS Default Web Site's port number from the command prompt?
0
votes
1answer
139 views

nginx reverse proxy server protocol violation

I have nginx which proxies database server REST API with following example configuration: server { listen 80; server_name sub.domain.com; location / { auth_basic "Restricted"; ...
1
vote
1answer
116 views

Low-delay (high-responsiveness) Windows Network Service?

I have written a Windows Network Service using C# which is designed to run on a Windows 7 machine. It is designed to be able to handle multiple requests in a single millisecond, which it seems to cope ...
2
votes
1answer
204 views

.NET App hanging on Windows 2012 on startup

We have a customer that has supplied us with a Window 2012 Hyper-V server that has a Window 2012 Multipoint guest os which we run our .NET-based (v3.5) software products on. Unfortunately there are a ...
1
vote
1answer
48 views

Can I restrict IIS to run release code only

The company I work for has 2 servers, 1 release and 1 test/debug server. I want to restrict the release server that only code that is compiled as release (not having the DEBUG constant defined) can be ...
0
votes
1answer
298 views

Microsoft.Web.Administration and app pool does not set?

I have created a nice custom installer in VS2010 which not only installs the website to IIS but also does some custom actions like registering COM Dll's and other things. In the process I am also ...
3
votes
1answer
518 views

Disabling Password Complexity for OU and C# App creating AD accounts

I created a C# app that is creating a series of AD accounts from a database. The issue i am running into is the passwords i am gathering had no complexity requirements so when i am passing them into ...
-1
votes
1answer
208 views

single sign on using active directory in asp.net

I have lot's of database, so for secure authentication I want to put single sign on using the concept of active directory. After reading of lot's of material i will try to install ADFS 2.0 But i ...
-2
votes
1answer
396 views

When creating user accounts using C#, UPN logon doesn't work while sAMAccountName works

I have created accounts with C# on 2008 R2 which have a sAMAccountName and a user principal name. I can log on with the sAMAccountName (or explicitly DOMAIN\sAMAccountName), but not with the UPN. ...
3
votes
1answer
196 views

Will IIS finish pending requests on Stop-WebSite?

Lets' say my IIS8 hosted web site is up and running and happily serving requests. Now, from an elevated Powershell, I run: Stop-WebSite <MyWebSite> My assumption until recently was that IIS ...
0
votes
1answer
82 views

How to fix IIS Total Requests ramping up

I've got a site that has recently been experiencing a lot of downtime due to max memory usage. We're running a VPS with 8GB RAM, Windows Server 2008 R2, IIS 7.5, WebForms 4.0 site with SQL Express ...
2
votes
1answer
655 views

The RPC server is unavailable from .NET over AWS

I am trying to access EC2 machines remotely to get some info using C#. I wrote code as below:- ConnectionOptions options = new ConnectionOptions { Username = serverspace.ServerIP + @"\xxxxxx", ...
0
votes
1answer
179 views

Deploying c# application

I have a c# winform application that may well be deployed too 2.5k machines. What is the best way to deploy such an application (avoiding installing by hand on each machine) Thanks, ayd
0
votes
2answers
184 views

Simulating many client connection to server

I've written a protocol on top of TCP using C# Sockets class which allows the transfer of files between many clients, and put it on a Windows Server 2008 VPS. I have then written the client-side ...
0
votes
2answers
248 views

Dcpromo run as Local System in Server 2008

I am trying to have a service running on a Windows Server 2008 R2 be able to execute dcpromo in order to join and remove AD. In Server 2003, I was able to simply use Process.Start() in C# and provide ...
1
vote
1answer
134 views

Application under a site in IIS evaluates ~ to the website root not the virtual directory

I have a website in IIS lets call it QA.local. Under this root site I want to set up multiple applications that reside in a set of virtual directories E.G. QA.local/app1 and QA.local/app2. The problem ...
0
votes
1answer
278 views

Show processes running on remote computer using WMI

I'm using WMI in order to run commands on a remote machine. For now, and I know it's as it should be, the process which is being run is not shown on the screen of the remote, I can only see it running ...
1
vote
0answers
340 views

HP ILO 2 XML POST

I am using the following code on my ilo 3 or 4 machines successfully in order to get a response and parse it for information: public string doiLO3Request(string requestRibcl) { ...
0
votes
1answer
921 views

IIS slow response

I have developed ASP.NET 4.5 application which take infos about sensors from sqlite database every 3 seconds. This application runs nice on my local develop machine on IIS Express server. I have ...
1
vote
1answer
83 views

Changing the user IIS runs over

I am trying to change the user IIS runs over. I read that IIS might run using IUSR_computer_name user but I am not sure if this rule applies to IIS 7.0 The question is, trying to map the whole ...
0
votes
0answers
136 views

No logon servers available until I try in windows explorer

I have an asp.net application on a web server which tries to create a directory on another server's windows file share such as: \10.0.0.4\Share\Path\d2d37700-6061-41fb-b844-ddee84ac8d44 This usually ...
2
votes
1answer
496 views

Remote rsyslog only writing logging data to /var/log/syslog and not custom logfiles

I'm having a problem setting up rsyslog to log remote logging data to a specific file. I have two Windows Server 2008 boxes that each have a C# application using NLog.Targets.Syslog which log their ...
1
vote
1answer
330 views

Dependency issue when upgrading my computer to mvc4, and trying to deploy mvc3 applications

I am having a very similar problem to this: How to fix this MVC website error: Could not load file or assembly 'System.Web.Helpers, Version=2.0.0.0 same exact error message: Could not load file ...
0
votes
3answers
1k views

C#, connecting to a specific server that is behind the balancer

Just can't seem to find a clue about this one anywhere. The Story(Diagram of the system) In the company i work in we have 5 IIS servers... In every server there are many websites(In every server the ...
1
vote
3answers
529 views

Why doesn't my web page load completely every time?

I have an intranet website running on IIS 7. When I try to load my site, it reacts differently every time. Here are the following different scenarios that occur when I try to load my site: The site ...
3
votes
1answer
788 views

Getting error when deploying webservice to iis 7.5

I've been ask by the programming department to test deploying one of their app. For all I know about the app, is that it's a webservice wcf code c# for a wpf app. They did tell me that they did try to ...