FAQ Database Discussion Community


AJAX code with classic ASP is broken on new IIS 7.5, SQL Server 2008 R2 settings

ajax,sql-server-2008,asp-classic,iis-7.5
Recently got a new machine to setup and run previously working code with classic ASP, on IIS 7.5 with SQL Server 2008 R2 on a 64-bit Windows 7 Enterprize (local development environment). Local regional settings : American. Problem: Identical code works on old machine but all the AJAX code is...

Debugger not started in the VS2008

asp.net,visual-studio-2008,iis-7.5,visual-studio-debugging
I have developed web application in .NET framework 3.5 in VS 2008, hosted in IIS under application pool ASP.NET 4.0 Integrated pipeline mode. When I start debugging by hitting F5 button, it throws the error and debugger is not started. But, If I open the same application in VS2010 and...

Passing more than 8000 Post parameters throws error

coldfusion,iis-7.5,coldfusion-9
I am working on a module which requires to submit a form with an insane amount of parameters (8k-10k). I am not sure whether this is a good idea or not. But that's the way it is. I have changed the settings in neo-runtime.xml file as mentioned in this link...

IIS 7.5 - How to remove the remaining folder when you Remove Application

iis-7.5
I have an application under a website. I'm testing a deploy/redeploy procedure. So I want to remove the application and let the deploy procedure re-add it later. When I right-click and select "Remove Application" the icon that shows an application goes away, but a regular looking folder icon remains. Is...

Is it safe to add a new website binding on production server on IIS 7.5?

windows,iis-7.5,web-hosting
We have an existing website hosted in IIS, with multiple bindings in place. Is it 100% safe to add a new binding on this production environment without the risk of interrupting active sessions or requiring an IIS restart?...

How to enable browser cache for images, css and js files separately in web.config?

asp.net,iis-7.5,browser-cache
I am running an asp.net application and want to set browser cache age limit for images(jpeg,png,gif), css and js files separately based on the extension. Please help me how to do this either in web.config file or in IIS?...

for IIS, should i use Win7 or Server 2012r2?

windows-7,iis-7,iis-7.5,windows-server-2012-r2
Ill need to set up a test IIS. From a rapid research, ive found that Win7 and Server 2012r2 are pretty much offering the same (for IIS purposes). Major difference is supported RAM and parallel RDP sessions. Rather than that, relying on the fact i need IIS, which one is...

ASP.NET 4.0 Integrated PipeLine throws javascript error

javascript,iis-7.5,asp.net-3.5,integrated-pipeline-mode
I had developed a ASP.NET application using .NET 3.5 framework and deployed in the IIS in application pool DefaultAppPool. Code: <%@ Page Language="vb" AutoEventWireup="false" Codebehind="Test.aspx.vb" Inherits="Sample.sample"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <title>Test</title> <META http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"> <meta content="Visual Basic...

php imagick error when pdf involved

php,pdf,iis-7.5,imagick
When I try to convert the first page of a PDF into JPG through PHP imagick, I get an HTTP 500 error with no log in php_errors.log. Explanation from IIS: The FastCGI process exited unexpectedly Error code: 0xc0000417 Two files are created in C:\Windows\Temp, the first one is the PDF...

Published website to local IIS 7.5

asp.net-mvc,visual-studio-2013,iis-7.5,microsoft-web-deploy
I published a asp.net mvc 4 website to IIS 7.5 (local) on windows 7 64 bit OS. It takes forever for the website to show up. I am using vs2013. After a long time it shows only the initial page, when I try to navigate to any other page, it...

Styles not applying to ASP.NET MVC site

css,asp.net,asp.net-mvc,iis,iis-7.5
I have a site that looks fine when I run it in VisualStudio. However, I deployed the site to my production server and for some reason, the styles are not being applied. There doesn't appear to be any errors, missing resources, or permissions issues on the live server. I have...

Multiple copy of IIS Site, Databases and Windows services

c#,asp.net,sql-server,windows-services,iis-7.5
I have a Big Application build in asp.net 4.5.1 Web form. The Application has two Windows Services. This is a product that we host for different vendors. The client Requirement is to have Separate URL, Database and separate Services. we are getting vendors rapidly, now this became a big problem...

How do I change where a web.config for a virtual directory in IIS is generated?

iis,web-config,iis-7.5,virtual-directory
I've created a virtual directory within our intranet web application in IIS 7.5. The virtual directory currently points to the following location: \\fileserver\root\Departments Whenever I enable directory browsing, it creates a web.config within the Departments folder. My question is - Is there a way that I can set this up...

IIS 7.5 Max Concurrent requests per system

asp.net-mvc,iis-7.5,windows-server-2008-r2,asp.net-mvc-file-upload
I hosted an ASP.NET MVC5 web application on a windows server 2008 R2 SP1. in this website there is a upload file section which users can upload large files with max size of 1 GB. When they click on upload button another popup window will be opened to allow users...

IIS manager does not show machine.config changes

frameworks,iis-7.5,iis-manager,machine-config
I'm trying to add these lined to machine.config file: <processModel autoConfig="true" maxWorkerThreads = "100" maxIoThreads = "100" /> <system.net> <connectionManagement> <add address="*" maxconnection="100" /> </connectionManagement> </system.net> machine.config file is in C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config I change it, save it, even restart the computer. but when I open IIS manager, click on computer name...

IIS 7.5 Error 500.19 but sporadically

asp.net,ssrs-2008,iis-7.5
I have Windows 2008 Sever R2, SQL Server 2008 with SSRS (not R2). I have the reportserver working, but sporadically it will give me this error: HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. I...

Service not accessible when “Enable 32-Bit Applications” set to true

web-services,iis-7.5,.net-4.5,windows-server-2008
On the development server I use IIS Veresion 7.5.7600.16385 And a Service compiled for .Net 4.5.1, Any CPU The service works fine on the development server (Win Server 2008 R2). On the client's production server however I get strange problems: (Same IIS Version, same OS version) As soon as I...

CakePHP 3.0 IIS web.config

php,cakephp,iis,iis-7.5,cakephp-3.0
All of my urls for images and css or being rendered with app prepended /app/favicon.ico /app/img/logo.png /app/css/styles.css The content of the pages is rendering fine, just not the images and css. My web.config looks like this, but doesn't seem to be helping these urls. Thus they are all resulting in...

IIS and asp mvc : how enable access to folder in filesystem

asp.net,asp.net-mvc,iis,iis-7.5
in asp mvc i have publish a website in this folder: C:\IISWorkspace\MyWebSite Now inside the folder C:\TestImages i want that the user is able to create some subfolders and put some images. For example i have created this folder and put an image: C:\TestImages\Test1\image1.png Now, in my razor view i...

Calling LoadLibraryEx on ISAPI filter in IIS

configuration,coldfusion,migration,iis-7.5,coldfusion-11
I am facing a strange issue while configuring ColdFusion with IIS. I was initially used CF 10 and due to the project needs, I have uninstalled CF10 and installed CF11. After that, I am getting an error HTTP Error 500.0 - Internal Server Error Calling LoadLibraryEx on ISAPI filter "C:\ColdFusion10\config\wsconfig\1\isapi_redirect.dll"...

Some Javascript + CSS + Images returns 500 Internal Server Error

asp.net,asp.net-mvc,iis,iis-7.5
I already search all the web but can't find any problem similar. Note: The following problem only occurs on production. In my mvc website if i reload any page multiple times, css, javascript files and images begin to give "500 - Internal Server Error". It doesn't happen with all the...

Method Put not Allowed in IIS 7.5 using Type Script + Angular Js + Web API Status 405

angularjs,http,typescript,iis-7.5,typescript1.4
I have implemented a code using Type Script and Angular Js and used http.put and passing some data to my web API than get the response from my Web API and fill it into the grid. But now the problem is i am getting error of 405 Method Not Allowed...

How can I grab the URL of my website from IIS ISAPI's GetExtensionVersion?

delphi,iis-7.5,isapi
I have a Delphi ISAPI DLL(32 bit) built with Delphi XE SPI, and hosted on a server running WinServer 2008 RS2 and IIS 7.5. See MSDN: Initialization Using GetExtensionVersion: Initialization is handled by the entry-point function GetExtensionVersion. This function's role is to perform all initialization, including the creation of worker...

How to force certain sections of the website to be browsed under SSL?

asp.net,iis,url-rewriting,iis-7.5
On our website certain sections or pages deal with sensitive user or account information. I want to force the users to browse those pages under HTTPS. Whereas other pages with public content should be available under HTTP. I was planning to install url Rewrite module on IIS and write rules...

How to display the physical path of a web application using appcmd.exe?

iis,iis-7,iis-7.5,appcmd
Please, observe: PS C:\Dayforce\DayforceRTQA\150520_747\SharpTop> $a C:\Program Files\IIS Express\appcmd.exe PS C:\Dayforce\DayforceRTQA\150520_747\SharpTop> &$a list app "MyDayforce/" /text:* APP path:"/" APP.NAME:"MyDayforce/" APPPOOL.NAME:"Clr4IntegratedAppPool" SITE.NAME:"MyDayforce" [application] path:"/" applicationPool:"Clr4IntegratedAppPool" enabledProtocols:"http" serviceAutoStartEnabled:"false" serviceAutoStartProvider:"" preloadEnabled:"false" [virtualDirectoryDefaults] path:"" physicalPath:""...

Force https redirect on all http requests on IIS

asp.net,https,rewrite,iis-7.5
I want to force all http requests to redirect to https, so I now have this rule: <rules> <clear /> <rule name="force https" stopProcessing="true"> <match url="(.*)" /> <conditions logicalGrouping="MatchAll"> <add input="{HTTP}" pattern="on" ignoreCase="true" /> <add input="{HTTP_HOST}" pattern="(sitea\.com)|(sitea\.uk)|(sitea\.org)" negate="true" ignoreCase="true" /> </conditions> <action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" /> </rule>...

IIS 7.5 ASP.NET: Access to path is Denied

c#,asp.net,iis-7.5
I have gone through several forums to help solve this issue and it seems the solution is granting full control to DefaultAppPool Identity but unfortunately its not working on my end. I am testing the application in my local machine(Windows 7) and the application uses windows authentication and the application...

IIS serves a compressed (gzip) response to Chrome Postman but not to .NET HttpClient

iis-7.5,asp.net-web-api2,dotnet-httpclient
I have created a REST web service using Web API 2.2 on a Windows Server 2008 R2 box running IIS 7.5. The problem that I'm having is that the web service is returning a compressed response (Content-Encoding: gzip) when I make the request through the Google Chrome Postman application. But...

enable URL rewrite module on iis

.net,iis-7.5
I want to add a redirect rule on site but I cannot find rewrite URL module in site under iis. does anyone know how to enable the urlrewrite module in iis?

IIS 7.5 issue on reading large CSV files

asp.net-mvc,file,csv,iis,iis-7.5
I have an MVC 4 application that currently reads data from a CSV file (this is based on client requirements, even if I wanted to have a database for it). All is working well when I debug and run it from visual studio. However, when I deploy it on IIS...

Publish will not push adovbs.inc to target File System destination (classic asp and IIS 7.5)

iis,asp-classic,iis-7.5,publish,server-side-includes
I have a classic ASP site on my Visual Studio 2012 development machine and I have noticed a strange behavior with Publish. A file called adovbs.inc exists in a folder called debug within the root of the site. Quite a few files on the (development) site reference this without problem...

“Workstation service has not been started” caused by DirectoryEntry

c#,.net,asp.net-mvc-4,iis-7.5,windows-server-2008
I have a website deployed on a Windows 2008 R2 server on IIS 7.5 that is accessed remotely. I am using Windows Integrated Authentication and reading a user's displayname ("Bloggs, Joe") which is displayed on the page. This was working fine until Friday, when all of a sudden I am...

Difference between Require SSL and using URL Rewrite in IIS

iis,ssl,url-rewriting,iis-7.5,url-rewrite-module
Is there improved security with web applications if you use "Require SSL" in the SSL Setting section of IIS? I was planning on creating a URL Rewrite rule.

point to virtual directory in IIS

asp-classic,iis-7.5
I apologize if I am not using the right technical terminology, but I am trying to be as clear as possible, I hope my post makes sense. I have added a local classic ASP website in IIS 7.5 Sites csr < website The physical files location: c:\projects\webapps\csr The URL in...

Browsing to home page generates 404 error

asp.net,iis,iis-7.5
I deployed my ASP.NET application that works within VS Express for Web 2013 to a newly-created server (Windows Server 2008 R2, IIS 7.5). Browsing to the home page generates a 404 error. Detailed error information: Module: IIS Web Core Notification: MapRequestHandler Handler: StaticFile Error Code: 0x80070002 Requested URL: http://example.com/Account/Login?ReturnUrl=%2Fdefault.aspx Physical...

ASP.NET 4.5 Web Forms Custom 404 Page Best Practice

c#,asp.net,iis-7.5,http-status-code-404,urlrewriter.net
Well, for about one week, I have been searching the web, trying my own solutions and testing the results. But unfortunately I did not end up to the satisfying result that is needed. Problem Details: Using IIS 7.5 The problem is that; either using Response.Redirect(); method or declaring customErrors and...

Access secured Web Services using integrated windows authentication from Angular app on different server

angularjs,authentication,iis,iis-7.5,windows-authentication
I have a web service (currently localhost:100) which uses Windows Authentication, is served through IIS and is set up with Access Control Allow Origin properties in the web.config: <httpProtocol> <customHeaders> <add name="Access-Control-Allow-Origin" value="http://localhost:81" /> <add name="Access-Control-Allow-Credentials" value="true" /> </customHeaders> </httpProtocol> I'm trying to access them from an angularJS app served...

$.get() and $.post() in MVC app works fine in local Cassini webserver but when published into IIS 7.5 it doesn't work anymore

asp.net-mvc,iis-7.5
I'm actually stuck on this MVC application and can't find out the cause. The code works fine in local Vis Studio 2013 Cassini webserver. Hence when I type the URL in the browser: "/Customer/EnterCustomerDetails" then I'm displayed a simple form, a DIV tag containing status message "Loading..." and after 5...

Could not find file 'C:\Program Files\IIS Express\#'

c#,iis-7.5,itextsharp
I am reading a text file and trying to parse it as an html and make a pdf of it with iTextSharp. Here I load the text file: string HTML = System.IO.File.ReadAllText(Server.MapPath("~/Misc/Html.txt")); HTML = HTML.Replace("[Date]", Paristan.Broker.UI.Components.PersianDate.GetDate(DateTime.Now)); HTML = HTML.Replace("[Title]", person.Title); HTML = HTML.Replace("[Person]", person.Name); The HTML.txt contains something like the...

Application_Start vs serviceAutoStartProviders

c#,asp.net,iis,iis-7.5
I am using IIS7.5 to force my web app to load automatically (startMode="AlwaysRunning"), and I now want to preload my cache data. I am a bit confused though because two approaches seem identical: use Application_Start in global.asax use serviceAutoStartProviders in IIS config files They seem rather redundant and doing the...

Editing Hosted Webpages in IIS

css,visual-studio,file-upload,iis-7.5
I am very new to IIS in general, but I have recently published a webpage for a client on a IIS 7.5 server. What is the best, or a good practice to editing webpages? I am trying to make some CSS adjustments for mobile devices accessing the webpages, and it...