iis

404 Errors only with .aspx extensions

I have a .NET 2.0 application running on IIS 6. When I choose the browse option on .gif and .txt files they appear in the browser. When I choose to browse to any .aspx page, I get a 404 error not found. The site is an IIS application and the bin directory has the required .dll files. There are no events in the event log. ...

Languages / Libraries / Modules for building a "template builder" web application?

My company builds websites for membership-based associations. We currently use custom DLL's (written in CodeGear Delphi) which interact with a SQL Server database and use a custom HTML-based template language. Basically we build templates in HTML / CSS / Javscript with the dynamic parts being generated by tags in the format <#TAG NAME>. ...

Is it possible to retrieve the raw SQL which returned an error in SQL Server?

I've got a SQL Server 2005 database and a classic ASP front end (don't ask). I'm trying to debug some errors in the IIS log file (error code 80040e14), and I'm not having much joy at the ASP end of things. Is it possible to retrieve the raw SQL which caused the error from SQL Server directly, or failing that set SQL Server to record such...

Can IIS 6.0 show server status just like tomcat

the server status might contain: CPU Usage, Memory Usage and other server's status data. any recommendations ? ...

How to best deal with deploying a solution to IIS as a virtual directory - dealing with relative paths, bin folders, etc...

So we have our main parent portal and our own site under that: Portal/MySite. MySite is a virtual directory under the Portal. The problem is that MySite needs its own master pages, files in the bin folder, etc... However, the only way to get MySite to work was to move the MySite.dll into the Portal's bin folder. The problem with thi...

IIS routing configuration error with ASP.NET MVC?

I am unsure if my title was accurate enough. I am trying to make SEO URLs for my website which is developed in ASP.NET MVC. I configured my route to include: routes.MapRoute( "Default", // Route name "{controller}/{action}/{id}/{seo}", ...

How do I call a vbs script from Inno Setup script with cscript and vbs arguments?

The following is an entry I'm using to attempt to create a virtual directory in IIS 6: [Run] Filename: {tmp}\cscript.exe mkvirtdir.vbs; Parameters: "-c LocalHost -w ""Default Web Site"" -v ""ectUpload_Server""", {app},""ectUpload_Server"""; WorkingDir: {tmp}; Flags: skipifdoesntexist; StatusMsg: Creating IIS Virtual Directory" I get t...

how to add Reflection Permission to IIS or to add it to web.config ?

I'm using FileHelpers for reading csv files, and all it was ok until I switched from VS dev server to IIS, I get a "PolicyException: Required permissions cannot be acquired", I googled and found that I need to add Reflection Permission for this to work, anybody knows how ? ...

WCF WebService content type error in IIS

Hi, I have a WCF Webservice that returns a bank list from database, when I use IIS server I get the message "Cannot process the message because the content type 'text/xml; charset=utf-8' was not the expected type 'application/soap+xml; charset=utf-8'.". And when I use self hosting (application console) to run the WS, works without error...

IIS7 Failed to grant minimum permission requests

I get this error when I'm using FileHelpers.dll, but my IIS is set to Full trust level so it should not be that way That's the full stack trace: [PolicyException: Required permissions cannot be acquired.] System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, Permissio...

You are not authorized to view this page

I am getting the following error while browsing the my webpage i checked and seen anaymous access has been enabled and integrated aunthentication has been turned off ... Could you please help? You are not authorized to view this page You do not have permission to view this directory or page using the credentials that you supplied. ...

random IIS session timeout

Hello, I have a very strange problem and I am looking for any advice. I have a ASP.NET website running off of IIS 6 which works well for the most part. However, the sessions seem to be randomly cleared? So if I login...click around, i am booted out randomly. Sometimes it's after 30 seconds/4 clicks. Sometimes it's the first click, somet...

Switch to SSL using a relative URL

I would like to create a relative link that switches the current protocol from http to https. The last place I worked had something set up on the server so that you could make that happen, but I don't remember much about it and I never knew how it worked. The rationale for this is that I wouldn't need to hardcode server names in files t...

Automated creation of IIS websites

We have web application portal that hosts multiple applications each in with its own IIS Website. So each time we adopt another machine to run our code, either developer workstation, or server, we have to manully create all of the websites for each of our applications, (and of course the list just keeps on growing). Is there an API call ...

Does ASP.NET MVC perform better under IIS7 versus IIS6?

I'm running my ASP.NET MVC app on an IIS6 host right now, and they're not willing to upgrade my server, nor move my site to an IIS7 server - unless I purchase a new account to transfer to. Under IIS6 I understand there are a lot of wildcard mappings happening to get the .net framework to process the incoming connections for each type. ...

You are not authorized to view this page

I am getting the following error while browsing my asp.net page deployed in IIS You are not authorized to view this page You do not have permission to view this directory or page using the credentials that you supplied. -------------------------------------------------------------------------------- Please try the following: Contact ...

IIS Hosted MSMQ WCF application failing to start because unrelated que exist on the machine

I have a problem that is pretty much desctibed on this blog: http://www.keithelder.net/blog/archive/2008/11/24/workaround-for-wcf-netmsmqbinding-bug-the-service-queue-does-not.aspx the very problem is described on the blog as: The wcf claims that service ‘~unittestqueue` does not exist? Well that queue DOES exist on the server but th...

Where can I find management scripts for IIS 6.0?

I'm running Windows 2003 R2 and IIS 6.0 with web applications written in ASP.NET. I am looking for good samples of scripts (.bat, .cmd, .VBS, or powershell) to allow me to: For websites: Create website Verify if website exists Delete website For virtual directories: Create virtual directory Verify if virtual directory exists Del...

You are not authorized to view this page is a dns issue?

I am getting the following error while browsing my asp.net page deployed in IIS: You are not authorized to view this page You do not have permission to view this directory or page using the credentials that you supplied. -------------------------------------------------------------------------------- Please try the following: Contact...

You are not authorized to view this page active directory problem

I am getting the following error while browsing my asp.net page deployed in IIS..I am using active directory data retrieval in my website and credentials to the active directory is stored in the web.config file ... You are not authorized to view this page You do not have permission to view this directory or page using the credentials th...