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

0
votes
1answer
14 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
0answers
7 views

Invalid capture filter [migrated]

Im getting the error : "tshark: Invalid capture filter "> test1.txt" for interface NetToAutomationSlave!" private void OpenTWireShark() { string path = string.Format(@"-i 3 -Y ...
0
votes
0answers
37 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
51 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
17 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
41 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
165 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
29 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
112 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 ...
0
votes
0answers
285 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' ...
0
votes
0answers
574 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
108 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
76 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
80 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 ...
0
votes
0answers
121 views

Task fails, while exe itself runs properly

An application I wrote, connects itself to an ftp-server located outside our intranet - and then does its magic in retrieving data parsing it and so on. When I run this application, everything works ...
2
votes
1answer
106 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
41 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
0answers
42 views

IIS 6 / ASP.NET Reading POST request as GET?

I have an ASP.net C# application that relies on the IsPostBack property. The application is failing because GET requests are mysteriously being sent. I'm monitoring requests & responses, as well ...
0
votes
1answer
176 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 ...
0
votes
0answers
105 views

Sporadic server error 502 bad gateway

This is the error message: "502 - Web server received an invalid response while acting as a gateway or proxy server." I already asked in stackoverflow: ...
3
votes
1answer
374 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
111 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 ...
0
votes
0answers
72 views

TightVNC reverse connection while user can interact with pc

How can I use tightvnc to interact with another desktop while user interacts with his own pc? Example Scenario VNC process Starts on desktop 2 while User uses 'default' desktop, like virtawin ...
-2
votes
1answer
257 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
123 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
58 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 ...
0
votes
0answers
142 views

Error: Retrieving the COM class factory for remote component with CLSID {XX} from machine X.X.X.X failed due to the following error: 80070005

When i am connecting to the remote iis server for retreiving all the sites list from that server, it gives the error as "Retrieving the COM class factory for remote component with CLSID {XX} from ...
0
votes
0answers
61 views

Add and remove SSL binding with a non admin account

Is it possible to add and remove SSL bindings with a non-admin account? I've tried to add my non-admin account to IIS Manager Users, but when I connect remotely with this user there is no "Bindings" ...
2
votes
1answer
414 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
124 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
109 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
163 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
69 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
160 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
204 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
265 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
75 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
128 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
386 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
277 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
766 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
413 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
599 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 ...
1
vote
1answer
210 views

.svc web service broken when moving to IIS 7

I'm trying to move an application from IIS 6 to IIS 7. I've managed to get everything working except for the web services (.svc files). These return 404 exceptions. In the failed request logs I get ...
1
vote
0answers
241 views

Dynamically Insert single record into MS access from SQL server

I have two databases(SQlserver and MS Access) with same schemas (same tables). SQL server database has data but Access has no data (blank database). My goal : when user enters a ClientId and click ...
1
vote
2answers
178 views

what would need to change on IIS for SSL Enabled SQL server

I have IIS set with windows intergrated security, the intranet c# web application connects database with trust connection. Everything works fine until we enabled SSL on the database (Sql server 2008), ...
1
vote
1answer
134 views

single application multiple users through thin client

I am having one application built in C# winforms. In the backend I am using SQLSERVER 2008 Express. The application is used remotely through thin clients. My problem is that when one user is using my ...
1
vote
1answer
296 views

excecute batch command over MSI Package

I have a huge network of PCs that are all in a same domain (active directory). I want to enable WMI service and relative port, then set the domain's administrator credentials to WMI credentials over ...
1
vote
2answers
477 views

IIS get full error message for failed requests

I have IIS set-up and serving my webservice. Unfortunately if the webservice throws an exception, all I get is a blue box with the title failed request. What options do I have to actually see what ...
2
votes
2answers
670 views

iis 7.5 website not reachable in lan

I'm running a Windows Server 2008 R2 with IIS 7.5 and want to deploy an old silverlight business application with membership provider and wcf data services (not ria) on it, so everyone in the LAN ...