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

2
votes
1answer
163 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
258 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
358 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
301 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
223 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
167 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
361 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
115 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 ...
0
votes
1answer
59 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
98 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
258 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
72 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
581 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
128 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
211 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
108 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
248 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
188 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
536 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
489 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
243 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
214 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
164 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
43 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 ...
-3
votes
1answer
59 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 ...
1
vote
0answers
12 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 ...
1
vote
0answers
121 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): ...
1
vote
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 ...
1
vote
0answers
273 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
294 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
223 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
80 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
533 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
508 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
163 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
14 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 ...
0
votes
0answers
34 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 ...
0
votes
0answers
142 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
97 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 ...
0
votes
0answers
70 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
101 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
0answers
97 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
76 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
406 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
256 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
133 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
480 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
237 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
403 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 ...
-5
votes
0answers
18 views

Can I read ulimit size in windows using c#

Can I read ulimit size in windows using c#. Actually I need to read the ulimit size of widows os using a tool which is developed in c#. Please let me know the steps if any.