C# is a programming language created by Microsoft in parallel with the .NET platform. Programming questions should be asked on Stack Overflow.

learn more… | top users | synonyms

0
votes
1answer
302 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
1k 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
362 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
47 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 ...
0
votes
1answer
148 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
237 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 ...
1
vote
2answers
264 views

c# .net forms keep disappearing TaskManagerClosing [closed]

So this one has me stumped, and seems really odd. I wrote some c# forms which act as the "server" component in a client server app setup. (Client sends udp data, server program chugs some numbers and ...
0
votes
3answers
256 views

Website running slow on clients machine?

I have a web application which i am hosting. It is working fine on my machine and most machines i try on. My client is saying the functionality of the web application is working fine. However, it ...
0
votes
1answer
770 views

How to change Hyper-V VM network settings via WMI?

I am not sure where to post this question whether at programmers.stackoverflow.com or here. So please forgive this if i am at the wrong place. My question is: How to set Subnet Mask , DNS address ...
2
votes
1answer
421 views

Distinguished name of Configuration in AD is tampered?

A user of our product came out with a problem which was caused by the DN of Configuration object in AD. We had a rather static lookup method to find Configuration object, thus it failed. Let's say ...
1
vote
1answer
390 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 ...
1
vote
0answers
81 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 ...
0
votes
2answers
254 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 ...
0
votes
1answer
116 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, ...
1
vote
1answer
1k views

IIS Application Pool Memory Size Problem

I increased my application pool memory size from default to 500 mb. and i have IIS 7.5. My server sometimes falling down (service unavailable) and i don't know the reason. I did couple of changes at ...
1
vote
0answers
584 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
2answers
633 views

Active Directory: currently logged in users with C#

Is there a way to list all currently logged in users in Active Directory (ADAM) using C#?
0
votes
1answer
218 views

how to prevent windows server 2008 from automatically ending user sessions

i am connected to a windows server 2008 R2 server using a terminal TC (thin client). all of our applications are running on the server and if a user is idle for more than 5 minutes, his session will ...
3
votes
1answer
1k views

Install Mono ASP.NET on debian

I've been trying to install mono ASP.NET onto my debian VPS and I am unable to do so. I know I need mono which can support .NET 4.0 now. I am unsure if I need XSP and mod_mono, or just mod_mono. ...
1
vote
3answers
408 views

Program to monitor new exe files in Windows (C/C++)

I am currently looking for a program or source in C / C++ that will allow me to monitor any new executable files and output the results to a text file Any help would be greatly appreciated
0
votes
2answers
1k views

Changing IIS application pool identity to local system

Hey guys, I've recently been having problems with Microsoft Server 2008, Plesk, and MSSQL. The problem was that when one of my applications in the pool tried to access the database I got an error ...
0
votes
2answers
138 views

Hosting Website Issue

I have a web project which I want to post in to our company`s hosting server: IIS Vs.6.0. The name of the server which is running our whole websites is: testing.test.com and domain is testing.com I am ...
0
votes
4answers
297 views

High Performance Server - what should I Use?

I have a large game engine which serves mobile phone clients and a web site. The DB is MSSQL2008 and the engine is written using C#. The web site is built with ASP.NET MVC and the web service for the ...
0
votes
2answers
387 views

how to publish web service on internet

I developed web-services in c# and published on IIS now i want to take this web-services out of Intranet to Internet i am looking for what are possible solutions for this. I am very much beginner to ...
0
votes
2answers
603 views

how to publish web service on internet [duplicate]

Possible Duplicate: how to publish web service on internet I developed web-services in c# and published them on IIS. Now I want to take these web-services out of Intranet and expose them ...
1
vote
2answers
444 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 ...
3
votes
2answers
218 views

SQL Server Express 2008 R2 or SQL Server 2008 R2 Web?

We have swtiched from MySql to SqlServer, but I don't know what version of SqlServer to use in production ... We have a webapplication (C# / ASP.NET) SqlServer Express 2008 R2 ? SqlServer Web 2008 ...
3
votes
1answer
93 views

live site and holding side by side until go live

I will shortly be going live with a new .net web application. It will be deployed to a load balanced environment over 5 servers. Before go live there is a holding site on all the 5 servers to which ...
6
votes
2answers
3k views

DB auto failover in c# does not work when the principal server physically goes offline

I'm setting up DB auto failover in C# with SQL Server 2008 and I have a 'high safety with automatic failover mirror' using a witness setup and my connection string looks like "Server=tcp:DC01; ...
0
votes
1answer
253 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
200 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
587 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
2answers
253 views

How to make Sql Server 2005 run on port 1966?

When I'm trying to connect to MSSQL I get error that there is nothing running on the port 1966. when I look at processes I see 3 named sqlserver.exe, but when I see the PID's understand .. they are ...
2
votes
5answers
1k views

Portable SQL Server

I need to install SQL Server, however I have a BIG problem with it. I remember when I tried to install it I got error with MSXML and it was not installed because of MSXML and some other component. Is ...
0
votes
2answers
4k views

SQL Server Express 2008 R2 fails on silent install /q or /qs . Windows 7 32 bit and 64 bit

I have a little problem. I can't get SQL Server Express installed within my application in windows 7 32 and 64 bit version. It gets installed correctly in windows XP. And it gets installed ...
0
votes
1answer
649 views

C# uploading files to IIS server with FTP

I'm trying to upload an website to an online server programmaticly via C# and using FTP. example C:\website\wwwroot to "ftp://ftp.host.com/website/wwwroot" When I do this, the wesbite says "You ...
0
votes
1answer
27 views

ASP Guidance - Development on laptop with limited internet access (nonhosted)

I am fairly experienced with the .NET family of languages, as well as web development (from a PHP perspective.) I am home for winter break and have limited internet access but would like to learn ASP ...
0
votes
1answer
534 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 ...
2
votes
1answer
1k views

The administrative limit for this request was exceeded

I have a command to wipe out our Active Directory (AD) structure and rebuild it for testing. The command will also be used in Prod to do the initial setup of the AD structure. On our dev sandbox AD ...
4
votes
1answer
280 views

Backup database at certain intervals?

My client would like to have the database backed up several times per day, as well as the ability to backup the database manually. I've created a page to backup the database manually, it just calls a ...
2
votes
3answers
926 views

How to scan network for intel vpro computers?

Ive seen an example in the docs of Intel AMT SDK but it takes so long to tell me that is there 1 intel vpro pc in my network and it doesnt tell me the name or ip address of that pc. Is there a way to ...
1
vote
2answers
433 views

my IIS server does not have MIME Types pan

I wanted to change the MIME type of my website. Unfortunately, I could not find the MIME type in my IIS manager. Could you please help me out. The version of my IIS is 6.1 Regards,
3
votes
2answers
615 views

How do I recover a dropped table from SQL Server Express 2005?

Something disastrous happened to me. I accidentally dropped my important table from SQL Server 2005 Express DB. Is there any way to recover that table with all records? Can DB Log file help? I have a ...
0
votes
2answers
114 views

repair database [duplicate]

Possible Duplicate: repair suspect database my sql server 2008 told me that you database is suspect and I can't see my tables or my data what should I do ?
0
votes
1answer
255 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 ...
5
votes
1answer
153 views

Crazy idea: Identify if system is idle when it's a black box

I need to be able to tell if a series of servers have anyone active on them, and if not then to automatically shut them down (turn off the VM). It's not a trivial task, because I have 1000+ server ...
0
votes
2answers
507 views

Querying a LINUX DHCP server in C#

I have a very large network say Class A. I have Linux DHCP and Microsoft DHCP servers deployed. I am successful in querying Microsoft DHCP server but Is there any way to Query LINUX DHCP server to get ...
0
votes
5answers
3k views

Querying a DHCP server in C#

I have a really large network. Class A network and due to security reasons broadcast and any other PING has been blocked. I want to get all the PC IP that are alive. Is there any way to query DHCP ...
2
votes
2answers
1k views

Cannot Delete SQL Server Database via Command Line Executable

When running a command line executable, one of the tasks is to drop a database. When this gets run, SQL Server tells me that 'DBName' does not exist or you do not have permission. The database is ...
0
votes
1answer
909 views

Programmatically Copy Database like SQL Server 2008 Copy Database Wizard

I need the ability to copy a database similar to what the Copy Database wizard accomplishes in SQL Server, but in a more automated (i.e. command line) fashion. I am writing a small application in C# ...