iis

How to read an ASP.NET internal server error description with .NET?

Behold the code: using (var client = new WebClient()) { try { var bytesReceived = client.UploadData("http://localhost", bytesToPost); var response = client.Encoding.GetString(bytesReceived); } catch (Exception ex) { } } I am getting this HTTP 500 internal server error when the UploadData method ...

IIS vs. ASP.NET authorization - easiest way to secure static files?

Let's say I have the following in a web.config: <allow roles="Developers" /> <deny users="*"/> This locks down access on .aspx, .asmx, and other .NET file types, but it's still allowing unauthorized users to open static files like image.jpg. I understand why the web.config isn't asked for authorization information when someone asks f...

Why is the server ignoring rewrite on non ASPX files?

Locally this works but on the server when i do something like /user/profile i get a 404 however if i do /user/profile.aspx it works. I also rewrite images from /s/example.png to /localLocation/example.png, this doesnt work. If i write /localLocation/example.png it does show up however it defeats the purpose of my rewriting. Also if i att...

Serving different pages as different Domain Names in IIS (6 or 7)

Hi, I have a ASP.Net MVC application which serves user pages with URL like - www.myapp.com/user/rob/index, www.myapp.com/user/rob/article/1 and www.myapp.com/user/scott/index, www.myapp.com/user/scott/article/1 now I want this one application to serve pages to two different domains from outside. Like - www.RobWebSite.com/Index ww...

Sending compressed response in ASP.NET

I am running a website on IIS6 for ASP.NET application and enabled compression, which worked fine for the .aspx web pages. What isn't working is downloaded binary files that are transmitted as part of a postback response: e.g. link button is 'download to excel' - user clicks and the code generates a binary file, does a Response.Clear() ...

Windows Active Directory authentication for ColdFusion / IIS deployed WebApplication

Hi all, I need to enable Windows AD authentication for my web application (developed in coldfusion) deployed at IIS. Can any one help me out here. (About the IIS configurations required, CF settings etc ) I need the session to be created in ColdFusion server by Internet Information Server. IIS pass the active directory account name to ...

Record ASP.Net user in IIS logs

I have an ASP.NET 3.5 application (on IIS 6.0) which uses ASP.NET forms authentication. In my IIS logs, I have extended logging turned on including the cs-username field. Even after a user has logged in to my site, the cs-username still displays '-'. Is there a way to get the authenticated ASP.NET user's name to appear in the username f...

traceview used with webapplication

Hi, Has anybody been able to view Trace messages from webapplication in TraceView? I am using System.Diagnostincs.Trace.Write .... but no matter what filter i choose in TraceView i cann't see any message... (Compiled in debug mode, both TRACE and DEBUG enabled) Thanks! ...

ASP.Net web site on IIS connecting to Access DB with Links to SharePoint lists on another machine

Dear All, My Problem is the following, I have an ASP.Net web site hosted on IIS. This web site connects to an Access 2007 DB file on the same server. The DB file contains links to sharepoint lists on another server on the same domain. If I run the web site on the visual studio built-in server, I can Open connection to the DB file and ...

DoCmd.SendObject fails when IIS Admin Tools is installed.

I have an application that is written in VBA inside of Microsoft Access 2003. We have a form that allows the users to send an automated email message to the development team that uses the following code: DoCmd.SendObject acSendNoObject, , , _ "[email protected]", "", "", _ "Helpdesk Submission", msg, False, "" This code was wo...

Deploying a Silverlight Application with built-in ASMX WebService to IIS

I've got a Silverlight application which uses a built-in .ASMX WebService to access a SQL database and run some queries. Everything runs without any hitches on my Development machine. I'm trying to deploy the application to IIS 6 and I'm having some issues. The Silverlight application itself seems to run fine, however the Web Service...

file upload issue

Hello everyone, I will need client (end user) through browser to upload big files (e.g. similar to Youtube's scenario which uploads big video files), the file size should be no larger than 500M bytes. I am using ASP.Net + C# + VSTS + IIS 7.0 as my development platform. Any ideas or good practices about how to handle big file upload iss...

Failed to map the path 'MyAppName/App_GlobalResources' when running ASP.NET page in IIS

Hello, I get the error "Failed to map the path 'MyAppName/App_GlobalResources'", where MyAppName is the name registered in IIS. I ran aspnet_regiis -i,and also removed .NET 3.5 and reinstalled it since the IIS had been installed later. However, the moment i run a aspx page, this is the error i get. What does this error really mean , an...

IIS publish of WCF service -- fails with no error message

I havea WCF service which I publish from Visual Studio 2008 to an IIS 6. According to the output window of VS, the publish succeeded, no error messages or warnings. When I look at IIS, the virtual directory was created, but there is no .svc listed in the directory. The directory just has my web.config and a bin. Any attempts to call my W...

change default startup page Asp.net windows hosted godaddy

when I visit http://mywebsiteurl.com/ by default it will load Default.aspx, index.html, or welcome.html... I would like to know how I can make a directory point to index.ashx (or something else other then index.html) is it inside the web.config file? ...

Validator not displaying after deployment

I have a asp.net website which having text boxes having required field validation. when i rebuild the application and runs it i could see the validations in the website. But after deploying the website(Publishing) in IIS, i could NOT see the validators in the website. Please help me! ...

iis 7 handler error

The resource you are looking for does not have a handler associated with it. This is the error that i get when trying to load an asp file from iis 7.0 I am using windows vista home basic I got to know that the solution for this is to enable the static file handler also, there is no file handler installed in vista home basic ........C...

WCAT Problem

I am trying to stress test an ASP.Net MVC application using the WCAT tool. I get results when the WCAT client and controller are on the web server(localhost), but when I move the WCAT client to another machine, I get "404 Not found" errors. It seems that the WCAT client cannot make the http requests from the client machine even though if...

How does IIS determine what website to hit for localhost

I have a development machine setup with IIS 6. I have 3 websites configured on different IP addresses: Default (All Unassigned) WS1 (192.168.1.250) WS2 (192.168.1.249) I was wondering how IIS determines which site to hit when I specify localhost in the URL? Is this configurable? If so, how do I go about doing this? ...

What is the quickest way to compare two servers' IIS settings?

I am having non uniform results for applications running on two Windows 2003 Servers running IIS. Is there a way to quickly dump IIS configurations to a file for comparison? Are there good tools to compare two IIS servers? ...