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
195 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
156 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
317 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
584 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
783 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 ...
0
votes
1answer
308 views

Why are my MySQL connections running slower on localhost than through network?

This is my basic scenario: I have an ASP.NET MVC 3 web application which connects to a MySQL database through MySQL .net connector 6.5.4 . I have this scenario for almost a year, but some weeks ago we ...
1
vote
2answers
310 views

Using IIS6 to run kill process. Executable hangs

I'm using the following code (any tried many variations) in a web page that is supposed to kill a process on the server: Process scriptProc = new Process(); SecureString password = new ...
1
vote
0answers
215 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 ...
0
votes
1answer
454 views

Code runs fine on localhost but doesn't execute on gatorhost

I wrote a small website in VWD. I am running it on my home machine using the localhost features of VWD. It runs flawlessly. Now the backstory. I had a linux server with gatorhost. I had them switch ...
0
votes
3answers
231 views

Stop rsync from deleting files that are being uploaded

I have a script which will upload files from a specific directory (with rsync) to the server, but in the mean time another script will pull files from the server (also with rsync and with the --delete ...
1
vote
2answers
2k views

C#/SQL Server: Login failed when connecting from remote machine

I've got an SQL Server 2008 Express set up on one machine and am trying to connect with my C# app to the server from another machine (both Win 7). The server machine has a user account for me in the ...
2
votes
1answer
612 views

2 Received from header at IIS SMTP email send via C# application

I am using windows server 2008 r2 and IIS 7.5 normally. I am using IIS 6 smpt server to send emails. Right now when i send email via my C# application i am seeing 2 received from headers. What might ...
2
votes
1answer
293 views

Regular expression not working on Powershell

Background: I need to match a multiline pattern(?) in a C# source file. The regular expression will be manipulate by Powershell. I have tested and it works on RegexBuddy (with the Dot Matches ...
2
votes
3answers
988 views

How to send mails using a custom .NET application and Windows authentication to a distribution list that only allows authenticated senders?

This is basically a cross post from my StackOverflow question to see if I can get a server side perspective. I'm trying to send automated emails from a C# console application from machines to clients ...
1
vote
1answer
88 views

Strange data returned from Exchange Web Services SDK. How do I update the CAS SCP data?

I'm using the Exchange Web Services SDK and am getting strange results after these lines run: ScpUrlGuidString = @"77378F46-2C66-4aa9-A6A6-3E7A48B19596"; ScpPtrGuidString = ...
3
votes
2answers
847 views

Options for real-time web notifications and updates using Comet/XMPP vs WebSocket technologies on a Microsoft stack?

I am scoping out the architectural options for a project that will render live updates (like Facebook) of user activities - logins, photos, etc. Two main UI components of this are an auto-updating ...
1
vote
2answers
1k views

Why doesn't IIS scale consistently?

I have a WCF service (written in .NET 4) running under IIS 7.5 on Windows 2008 R2 64-bit. I created a test tool that spawns 10-20 (or more) threads - each thread creates a random payload and hits the ...
0
votes
1answer
1k views

Application will not open in Win7, IIS 7.5, ASP.NET4 environment when called via C# code

I think I have a security issue here but can't seem to get around it. I am running IIS 7.5 with an application pool named "MyAppPool." I am then calling a program from C# code, PDFCreator.exe, which ...
2
votes
1answer
282 views

Test Exchange 2010 connectivity programmatically with C# [closed]

Other than a simple ping, I'm looking for ways to connect to Exchange just for monitoring purposes. Should I connect to a Web Service? WMI? I'm merely trying to test that the Exchange server is up ...
0
votes
1answer
661 views

Error when sending email via outlook, Does this require a server application?

Requirement: My application has a requirement to send emails via outlook. I could accomplish this using Outlook = Microsoft.Office.Interop.Outlook; The application works fine on development ...
0
votes
0answers
457 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 ...
1
vote
2answers
303 views

Identify AD Group Type: Distribution Group or Security Group

How do I know whether a AD group is a Distribution Group or Security Group? Note: I am an ordinary user. I do not have permission to run power shell scripts. Any way to identify using User Interface ...
0
votes
3answers
844 views

SMTP server for Windows Server 2008?

We had smarter mail installed, but it kept wiping/corrupting all our email. This was problematic to say the least. Anyway, finally we decided to move and are now using Gmail. We have all our DNS ...
-1
votes
1answer
136 views

Share the logic to implement the gpo change report? [closed]

As I need to research to make easy auditing of GPO changes through collections of XML reports of GPO. I wish to compare the XML and produce report like old values and new values in a table using C# ...
2
votes
0answers
218 views

How do I limit outgoing mail in IIS [closed]

I am going to use C# to write e-mails into the Pickup directory. Each e-mail will have a 3-5mb pdf attachment. There will be about 500-700 e-mails dropped into the pickup directory at one time. I ...
2
votes
1answer
255 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
214 views

DNS resolves in a wrong way [closed]

I have a simple ping app made in C#. the only thing it does is pinging a host. when I'm running it on my local computers, it works in the way it should, but once I'm moving it to my server, it works ...
7
votes
5answers
463 views

ASP.NET High CPU Bringing Servers to their Knees

Ok, our new build is having 100% cpu spikes on each server at random intervals. For long durations it make the site totally unresponsive - this will be at peak times as people in different countries ...
3
votes
1answer
199 views

Run CLI command on a windows EC2 Instance using c#

i'm programming a system in .net that designed to run an execution file on a remote machine via cli command, in this case, Amazon EC2 windows instance. I've searched the AWS .net SDK and found no ...
1
vote
2answers
648 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, ...
2
votes
2answers
425 views

How to see all websites in IIS using appcmd list site

I want to see all the websites in IIS 7.5. I typed appcmd list site It lists only “Default Website”. It is typed from C:Windows\System32\inetsrv. Any idea why it does not list other sites that ...
0
votes
1answer
981 views

SQL Server database connections being dropped intermittently

Occasionally in one of our production environments (we have a dozen or so without different clients pointing to each) we get exceptions at different points in the process. The code doesn't do ...
1
vote
2answers
1k views

Allowing non-admin users to unstick the print spooler

I currently have an issue where the print queue is getting stuck on a central print server (windows server 2008). Using the "Clear all documents" function does not clear it and gets stuck too. I ...
0
votes
1answer
925 views

configure culture configuration in MVC3 application

I deployed a MVC3 Application that works well in development environment, that's because the date format in the develop machine it's dd/mm/yyyy. But When The application was deploy in the server ...
0
votes
2answers
3k views

Change an Active Directory password in C#

At first, please forgive my English, it is not my mother tongue. Then, here is my problem: I'm working on a web platform that manage the Active Directory. I can create, delete, edit a group, user, ...
1
vote
1answer
1k views

Configuration Error: 'Logon failure: the specified account password has expired.'

My boss just made several Windows updates to our server computer last night and in doing so we can no longer access the server from within the application. I went on the server to try and see what ...
1
vote
1answer
48 views

Installation folder of MSSQL server 2008?

How do I find the folder path where my MSSQL server 2008 R2 is installed, inside my C# code?
-1
votes
1answer
473 views

is there any free solution to send mass mail on Windows Server 2008 [closed]

I have a server computer and installed Windows Server 2008 and IIS7. I need to send newsletter to 5000 customers. I want send everyday. But i don't configure mail account. I'm creating Gmail account. ...
1
vote
1answer
396 views

Most secure way of connecting an intranet to an external server

I have an internal server that hosts an asp.net intranet application. I want to keep it completely and utterly secure and private however we need to expose some information through a WCF service to ...
0
votes
1answer
247 views

Minimum permissions required for a SQL Server user account

I have a sql server user named SchoolTeacher to access my application. It has the following rights to my PrimarySchool database INSERT, UPDATE, DELETE, EXECUTE, CONNECT, SELECT The user must be ...
0
votes
3answers
438 views

What are the proper contents of an ICMP message? (Buffer, Don't Fragment, etc..)

I'm creating a Tracert program and am wondering if the value "buffer" used in the Ping payload really matters. Can it be anything, or do routers respond differently based on the contents of the ...
2
votes
1answer
106 views

Seeing a lot of requests into the web server - for random hostnames not my own

This seems like a phishing attack, and it's a disclosure vulnerability to send 404 response in this case. Unfortunately that's just what IIS does. I would rather these guys not even know my server ...
0
votes
1answer
409 views

Quota, AD and C#

At first, my mother tongue is not English, so I apologize for the possible mistakes. I'm working on a WS2008R2 server with an Active Directory and a web platform manages this AD with C# code. A ...
0
votes
1answer
79 views

automatic backup [duplicate]

Possible Duplicate: how to get database backup automatically i want to have automatic backup in my program.it means that for example every 30 minutes a table that contains backup schedules ...
1
vote
2answers
2k views

Keep WCF live , no IIS recycle

I have a WCF application. I d like to keep this application live all the time. If there is a certain period of inactivity, does IIS app pool recycles? How do I keep it alive all the time? Should i ...
0
votes
0answers
229 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
1answer
284 views

windows authentication issue with asp.net

i have an asp.net application that uses windows authentication. however i am having trouble with it: <location path="default.aspx"> <system.web> <authorization> ...
1
vote
1answer
919 views

does IIS server have to be on domain for windows authentication and roles?

i have an asp.net application that uses windows authentication. i installed IIS server 5.1 on my xp machine and it works great with the win authorization; however, i am unable to use "roles" because ...
2
votes
2answers
260 views

Deploying C# Windows Service in multiple servers

I've created a C# windows service and its ready to be deployed. I have 215 servers on which this windows service is to be installed. I have to login to each box and deploy the service. Is there an ...
-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 ...