iis

IIS Windows Authentication issue in Silverlight 4

Wondering if anyone has encountered this authentication issue? My web server is running IIS7 on a Windows Server 2008 machine and the .NET 4.0 runtime. The virtual directory for my application has ASP.NET impersonation and Windows authentication turned on. Anonymous, Basic, Digest and Forms Authentication are turned off. "There was a fa...

What is the best way to authenticate web users from WCF coming from ASP.Net web application?

I have an asp.net mvc 2 web application that connects to a WCF web service hosted in IIS. This is in an intranet environment using windows authentication. I need to authenticate the user connecting to the web application inside inside of my WCF service, but the WCF cannot see who connected to the web app. This can't be a new problem, so...

asp.net mvc: How to redirect a non www to www and vice versa

Hello, I would like to redirect all www traffic to non-www traffic i have copied this into my web.config <system.webServer> / <rewrite> / <rules> <rule name="Remove WWW prefix" > <match url="(.*)" ignoreCase="true" /> <conditions> <add input="{HTTP_HOST}" pattern="^www\.domain\.com" /> </conditions> <action type="Redirect" url="...

WCF custom binding issue

I have defined a custom binding in my client and server web.config file, but when I try to connect I get this error, server is running IIS 7 Content Type application/xml; charset=utf-8 was not supported by service http://localhost/contentservice.svc/PairService. The client and service bindings may be mismatched. Server: <system.se...

Silverlight 4 OOB + Browser HTTP Stack + Client Certificates = FAIL?

I'm having an issue where IIS 7.5 (on Windows 7 64-bit) is failing when I call it from an out-of-browser Silverlight 4 app using SSL and a client certificate, with the message "The I/O operation has been aborted because of either a thread exit or an application request. (0x800703e3)". The request does make it to IIS. here is a sample fr...

MySql and SQL Server resources utilization comparision

Does Apache with MySql will use less system resources (RAM, CPU utilization) if we develop a web application instead of IIS with Sql Server? My friend told that MYSQL consume very less when compared to SQL Server. I have both PHP and ASP.NET skills. Which one will be preferable to develop application? ...

Why would my machine need a full IIS reset to see code changes to an ASP.NET project?

I've noticed that a VS2010 C# website project I'm working on seems to always need an iisreset to be able to see changes I make to the code behind files in the project. I notice that it doesn't have the right version of the assembly because when I try to debug Visual Studio won't let me put break points in the code files I've changed. I ...

iis authentication username password

hi I want to write script or batch file for changing iis authentication username password. Can I do this with script or batch file? or how can I do it? I have to do it automaticly. ...

Does an ASP.net page running on IIS make use of multicore processors?

I've got an ASP.net page that runs a script which takes anywhere between 1 second and 10 minutes to run dependant on the parameters passed in to it. My question is, if the server is multicore, will this script automatically make use of all the processors, or is it constricted to one. Thanks for any help ...

Error while browsing application in IIS

Hi All, I am using asp.net 2.0 with C#. I have deployed my application on IIS and while browsing it I am receiving below error: Could not write to output file 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7179d944\dd7c82ae\App_Web_adlogin.aspx.cdcab7d2.rqcxmj0e.dll' Please suggest us how can I remove thi...

Problem Deploying Web Service in C# that uses VC++ dll

I created a web service using VS 2008 C# that uses VC++ dll, In my development enviroment it works, but when I deploy it to the IIS I get this error: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1) [COMExcept...

How can I change the logical URI of my web service?

I have a WCF service running under IIS7. It can be accessed just fine at http://myserver.domain.com/myservice.svc I don't want to change the physical location or name of this file but I want calls to http://myserver.domain.com/this/here to be handled by http://myserver.domain.com/myservice.svc Is this possible? ...

How to give Website permission to create further Websites in IIS 7.5?

I'm creating a website in IIS 7.5 (with Windows 7) that needs to be able to create further websites. I've written code that uses Microsoft.Web.Administration to create the website programmatically, and this works fine when I run it as administrator. Now I'm trying to use the same code in the context of my web application. It fails with ...

After Deploying ASP.NET 4 web application to IIS6 server, worker process recycles cause it to stop working most of the time

This is a really odd situation, so hopefully I can explain it well enough. I am deploying an ASP.NET 4 webforms application to a Windows Server 2003 SP2 server running IIS6. Here's the problem -- when the application pool recycles its worker process (w3wp.exe), about 80% of the time, I will get an ReflectionTypeLoadException error t...

WCF Service with netTcpBinding + windows Authentication hosted with IIS and using roles for authorization

I am having a WCF Service which is hosted with IIS with nettcpbinding and Windows authentication, I am trying to do authorization with user name/roles. But service is allowing any user to access it. Is this possible in first place? ...

Web Site Upgrade from ASP .NET 2.0 to 3.5

We have a web application that runs on IIS using .NET 2.0 developed and built with Visual Studio 2005. We're going to upgrade to .NET 3.5 and begin using Visual Studio 2008. Here are my questions: I note the runtime is still 2.0-based. When I loaded the solution in Visual Studio 2008, I was asked to convert, and I did. I then ch...

Microsoft Asp.Net & IIS & server limits

How can I test my asp.net web application limits. User connections etc. And does my application is limited to server & IIS performance or what are the other factors? How can I host an application which will be used by millions of people? ...

IIS FTP server returned an error: (550) File unavailable (e.g., file not found, no access).

So I set up the FTP server properly in IIS 6.0. Initially I was not able to create or upload files to the FTP servers due to not having the Write permission. Then I gave all the permissions properly. After that I was able to create or upload files/directory using FileZilla(FTP client for Windows). But from my C# code I am still not able ...

WCF Service - automated or timed action

Hi, We have a WCF service, hosted on IIS7.5, that has to fetch some data from an external web service. Is there some way to schedule this action to be started, in our WCF service, on a regular (timed) basis? Thanks ...

error while uploading a large excel file data into SQL server from ASP interface

Microsoft OLE DB Provider for ODBC Drivers error '80040e31' [Microsoft][ODBC SQL Server Driver]Timeout expired ...