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
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 ...
1
vote
2answers
532 views

Try to delete files used by IIS

I got a service coded in c# whoes deleted somes web site files hosted on iis, before an update. But sometime when i delete the files, they stay there. If I try to delete them manually, via explorer, ...
1
vote
2answers
370 views

To set up smtp server in IIS

I am trying to set up SMTP server on IIS 7. I have selected "Deliver e-mail to SMTP server", and "Use localhost" checkmark and the port number is set to 25. My c# code is below protected void ...
0
votes
2answers
162 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 ...
0
votes
2answers
234 views

In IIS7 how can I set the number of requests IIS can handle

I have a Windows 2008 / IIS 7.5 server that I want to act as a proxy for another service call. The problem I am having is that the service I am calling often takes a while to respond, so I need the ...
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 ...
2
votes
1answer
242 views

Install Visual C# Express 2010 onto client machines - redistributable package needed

I would like to install Visual C# Express 2010 onto several machines on the Windows network at the school where I work. I can only find web and ISO installers, but I really need MSIs for both Visual ...
1
vote
1answer
159 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 ...
1
vote
1answer
276 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 ...
1
vote
1answer
208 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
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
333 views

Outlook Addin Best Practice - Where to store the configuration when you deploy the addin from a server?

I've seen some posts about this, but i have a specific requirement. What is the optimal solution to save the configuration for an Outlook (2007/2010) Addin when you want to also make sure that the ...
0
votes
1answer
9 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
38 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 ...
0
votes
1answer
174 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
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
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 ...
0
votes
1answer
107 views

Reattach Console Session in a Windows Server machine

In a Windows Server machine (such as Windows Server 2008), there can be a console session and many more RDP sessions. But sometimes the console session get detached from the server. From a service ...
0
votes
1answer
184 views

CTI Integration

We are trying integrate CTI into our product. Currently our client is using Simens HiPath. Our development expertise is using MS languages such as C#, .Net etc. We need to fetch data from SQL server ...
0
votes
1answer
104 views

SmtpMail.Send(_MailMessage); doesn't work

I am using default smpt virtula server to send mail using c# but it doesn't send any mails and also it doesn't throw any exceptions public static void SendEmail(string _FromEmail, string _ToEmail, ...
0
votes
1answer
230 views

Programmitically how to create task scheduler in windows server 2008

In windows application, when i import the task scheduler(.job format) in windows XP machine it is working fine. but when i am trying to import the task scheduler in windows server 2008 it is not ...
0
votes
1answer
180 views

Setup an IIS self signed certificate on Oracle Application Server

My main server is running IIS 7 and has an ASP.NET/C# website that needs communicate to another server that uses Oracle Application Server. Currently, the website is communicating to the Oracle ...
0
votes
1answer
476 views

C#, WebClient and Windows Server 2008

I have a big problem with WebClient class on Windows Server 2008. I have small code that downloads data from web using WebClient.DownloadFile/DownloadData method. Everything works ok on Windows 2003 ...
0
votes
1answer
462 views

WCF Service in Windows Services

I create WCF service library and i test that working fine on WCF Test client(default). when i host the WCF service in winodws service that time i got the error. I am using windows XP sp3, .Net 3.5 and ...
0
votes
1answer
232 views

What is the problem with SQL Server 2005 Express?

I've eveloped and application using C# and Sql Server 2005 Express. I try to run the application on other computers. I install .Net everything's ok, when I try to install SQLEXPRESS three cases ...
0
votes
1answer
206 views

Multi-Application Server Environment and Memcached Security

We are looking to integrate Memcached into our infrastructure, but have a security concern before we do. We run several platforms including ASP.NET and Coldfusion and have many app developers working ...
-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 ...
-1
votes
1answer
42 views

W2k3 Custom Services Slowness

i am using sc.exe to create a custom exe windows service (auto start enabled) into a Windows 2003 SP2 machine and it runs very very very slow compare if i uses the same application and run it using a ...
1
vote
0answers
199 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) { ...
1
vote
0answers
239 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
0answers
201 views

SocketException (Timeout) only when running as scheduled task

I'm running a C# web-scrapper application (that I wrote) on a Windows Server 2003 instance under a user belonging to the local Administrator group. When I run it within a desktop/remote-desktop ...
1
vote
0answers
77 views

IIS windows integrated Auth

I have a one way trust with a foreign domain, they access my web application hosted in IIS using windows integrated auth.. problem i am seeing for every new request iis does the auth agains the DC ...
1
vote
0answers
426 views

Fail to install .NET Framework 3.5 on Windows XP Embedded

I've a XP Embedded device on which I tried to install the Full 3.5 Framework (not the Compact one) but doesn't work because the size of the hard disk drive is to small (only ~200MB left). 1) Can I ...
1
vote
0answers
443 views

calling web service using current users credentials

I have a web service which is on another server than my web server and that service requires a domain user to function...we have NTLM authentication and my application is a web part.. whenever the ...
1
vote
0answers
149 views

What rights user needs to run adamsync.exe under ws2008

I'm logged as an administrator and I want to impersonate user using c# and then run adamsync.exe under this impersonate user context. Impersonated user exists in the domain and belongs to domain ...
0
votes
0answers
33 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 ...
0
votes
0answers
13 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
0answers
28 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 ...
0
votes
0answers
282 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
564 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
0answers
115 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 ...
0
votes
0answers
41 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
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: ...
0
votes
0answers
70 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 ...
0
votes
0answers
141 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" ...
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 ...
0
votes
0answers
406 views

How to route all internet traffic via a virtual tap device and a public server

We want to route all traffic from one pc to a local virtual device (TAP-Win32 Adapter which is also used by OpenVPN) and then from there to another tap device on a public server. after that all ...
0
votes
0answers
219 views

My mvc 2 application serves 404 for all pages except home page, iis 6

I asked this question on Stack Overflow, and it was suggested that this would be a better place to ask: I have an mvc 2 application that is running in ii6 in the test environment and production ...
0
votes
0answers
382 views

WMI network programming in C#

I am working on network project in C# and I can use only WMI and Win32_* classes. I'm using Win32_NetworkAdapter for connection to remote computers but I've got an RPC error which I can't figure out ...