HTTP Error 500.19 - Internal Server Error. Error Code 0x8007000d . When Creating a new website or converting a virtual directory to application.

27. June 2015

HTTP Error 500.19 - Internal Server Error. Error Code    0x8007000d . When Creating a new website or converting a virtual directory to application.

Module    CustomErrorModule
Notification    SendResponse
Handler    Not yet determined
Error Code    0x8007000d
Config Error    Configuration file is not well-formed XML
Config File    \\?\C:\inetpub\temp\apppools\DefaultAppPool\DefaultAppPool.config
Requested URL    http://localhost:80/umbracotest
Physical Path   
Logon Method    Not yet determined
Logon User    Not yet determined

 

 

 

 

Solution which worked for me :

1. Goto C:\inetpub\temp\appPools\DefaultAppPool and find DefaultAppPool.config file , you will see 

<!-- ERROR: There's been an error reading or processing the applicationhost.config file.  -->

in it .

2. Delete this file .

3. Restart Your website from IIS Manager and check

4. Your website will start working now . If it doesnot and IIS gives again the error but a different one like httperror tag is not configured then you just have to enter a line in your website web.config file

<httpErrors errorMode="DetailedLocalOnly"></httpErrors>

5. Now restart your website from IIS manager and it will work .

 

IIS ,

Virtual Directory looking at parent web.config

11. October 2014

Virtual Directory looking at parent web.config

Web Application inside a virtual directory refers web.Config of parent directory and error related to that configuration file encountered .

Solution for this is to include a statement : 

<location path="." inheritInChildApplications="false"> 
<system.web>
 ...
</system.web>
</location>

You have to insert the <location> tag as mentioned above in the parent web.Config .

For Reference : http://forums.asp.net/t/1164283.aspx?Virtual+Directory+looking+at+parent+web+config

 

IIS , ,

Enabling Server Side Includes (SSI) in IIS Web Server

22. July 2013

Enabling Server Side Includes (SSI) in IIS Web Server is a very simple to follow procedure

Step 1 : Goto Start->Control Panel 

Step 2 : Click on Programs and Features

Step 3 : Click on Turn Windows features on or off

Step 4 : Check the option Server-Side Includes under the Internet Information Services , please check the image for reference .

 

Step 5 : You are good to go , click ok and use your Server Side Includes ( SSI ) codes in html files and host under IIS Web Server . Thanks !

 

IIS ,

How to configure IIS to use a specific IP in Multi IP configuration server

14. April 2013

How to configure IIS to use a specific IP in Multi IP configuration server . 

There can be times when you want to run apache and IIS simultaneously on your single Server and also on port 80 , in that case the only option is to get an extra ip allotted to your machine and assign each one of them to each server . 

Now configuring apache is simple just go to this below link 

http://www.codeproject.com/Tips/395286/How-to-Access-WAMP-Server-in-LAN-or-WAN

and for configuring IIS 7 to use 1 IP you will have to explicitly change that , changing binding settings in IIS to specific IP wont work until and unless you reconfigure IIS using this blog post http://support.microsoft.com/kb/954874

 

 

IIS ,

How to create multiple ftp sites in IIS over single domain

8. April 2013

How to create multiple ftp sites in IIS over single domain

Using these blog posts i was able to create multiple ftp site on single domain with different virtual hosts/sub-domains , i also got to know how to access these with clients like username should be subdomain.examplpe.com|username

Using FTP Virtual Host Names in IIS 7

http://www.iis.net/learn/publish/using-the-ftp-service/using-ftp-virtual-host-names-in-iis-7

Virtual Hosts and Host Names in FTP7

http://blogs.msdn.com/b/robert_mcmurray/archive/2007/08/28/virtual-hosts-and-host-names-in-ftp7.aspx

IIS ,

Running IIS and Apache in Same computer simultaneously using different ports

8. April 2013

Running IIS and Apache in Same computer simultaneously using different ports

The following posts were beneficial in this case :

http://altafhussainbd.wordpress.com/2011/12/22/running-iis-and-apache-in-same-box/

IIS ,

How to create an IIS FTP Site

8. April 2013

How to run php website on IIS 7 with ASP.NET website simultaneously

7. April 2013

How to run php website on IIS 7 with ASP.NET website simultaneously

The process to do this is ( i suppose that IIS 7 is currently working and serving a ASP.NET website ) install php from microsoft web platfom installer ( you can get that here - http://www.microsoft.com/web/downloads/platform.aspx ) it will automatically install the dependencies .

Now php is installed and we will have to install CGI from control panel -> Program and Features - > Turn windows features ON or OFF

and check CGI features as shown in picture

 

 

Now simply add a new website in IIS with default app pool and your site is up and running with php installed .

 

 

IIS

Taking over your website server under different Domain name by someone

26. March 2013

Recently i found out that my site was captured under a different domain name . When i was searching for some link in google there was a link which was pointing to my website's page but the domain name was entirely different from mine . I checked in my server that IIS was bound to all HTTP request coming through port 80 to my site hence someone just used my ip address under their domain name and started publishing my site under it . 

 

Solution to this problem is simple, bind your website in IIS to specific domain and never leave domain binding empty else you could also face the same problem .

IIS , ,

Login failed for user 'IIS APPPOOL Classic .NET AppPool' when trying to connect to a SQL SERVER using Windows Authentication

5. March 2013

The solution i found for this problem is on this blog post .

 

http://stackoverflow.com/questions/4736140/login-failed-for-user-iis-apppool-classic-net-apppool

 

  • Go into IIS Manager
  • On the node with your computer name, select "Application Pools"
  • Click "Classic .NET AppPool" and select "Advanced Settings..."
  • Select "Identity" property and change its value to "LocalSystem"

IIS