|
-
May 17th, 2013, 02:52 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] New to ASP.NET: HTTP Error 500.21 Error Code 0x8007000d
Hi. I'm new to ASP.Net and just recently installed IIS 7.5
I'm having some problem in running my application in the IIS Manager. I've watch this tutorial http://www.youtube.com/watch?v=LNzw_NmiSHQ and did everything that it says. I've encountered some problems and google search for solutions. I've also installed the IIS URL Rewrite Module 2 as I've read as a solution to my problems and nothing happened. I've also went to the "Turn Windows feature on or off" and check all the checkbox that I could find which regards to the IIS and nothing happened. I've also made sure that the permission to the IIS_IURS is granted to that file.
I've reread the error again and the following says:
Most likely cause:
* Managed handler is used; however, ASP.Net is not installed or is not installed completely.
*There is a typographical error in the configuration for the handler module list.
Links and More Information:
*IIS core does not recognize the module
The last thing I wanted to do is uninstall the IIS and try to redo everything again. The resolution in the microsoft says that I have to "Delete the malformed XML element from the ApplicationHost.config file or from the Web.config file".
Below is the Web.config file in my application:
Code:
<?xml version="1.0"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<connectionStrings>
<add name="CSR_PayrollDatabaseConnectionString" connectionString="Data Source=GLOBAL-SQL;Initial Catalog=CSR_PayrollDatabase;Integrated Security=True"
providerName="System.Data.SqlClient" />
<add name="MSR_PayrollDatabaseConnectionString" connectionString="Data Source=GLOBAL-SQL;Initial Catalog=MSR_PayrollDatabase;Integrated Security=True"
providerName="System.Data.SqlClient" />
<add name="hrmsDBConnectionString" connectionString="Data Source=GLOBAL-SQL;Initial Catalog=hrmsDB;Integrated Security=True"
providerName="System.Data.SqlClient" />
<add name="hrmsDBConnectionString1" connectionString="Data Source=GLOBAL-SQL;Initial Catalog=hrmsDB;Persist Security Info=True;User ID=jotomau1;Password=J0tomau"
providerName="System.Data.SqlClient" />
<add name="hrmsDBConnectionString2" connectionString="Data Source=idd-sql;Initial Catalog=hrmsDB;Persist Security Info=True;User ID=jotomau1;Password=J0tomau"
providerName="System.Data.SqlClient" />
</connectionStrings>
<system.web>
<!--<xhtmlConformance mode="Transitional"/>-->
<customErrors mode="Off"/>
<httpHandlers>
<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
validate="false" />
</httpHandlers>
<compilation debug="true" strict="false" explicit="true" targetFramework="4.0">
<assemblies>
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
</assemblies>
<buildProviders>
<add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</buildProviders>
</compilation>
<browserCaps>
<case match="^Mozilla/5\.0 \([^)]*\) (Gecko/[-\d]+)?Netscape[6|7]/(?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters'\w*)).*">
tagwriter=System.Web.UI.HtmlTextWriter
browser=Netscape
version=${version}
majorversion=${major}
minorversion=${minor}
frames=true
tables=true
cookies=true
javascript=true
javaapplets=true
ecmascriptversion=1.5
w3cdomversion=1.0
css1=true
css2=true
xml=true
</case>
<!-- MOZILLA //-->
<case match="^Mozilla/(?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters'\w*)).*">
<case match="^[5-9]\." with="${version}">
tagwriter=System.Web.UI.HtmlTextWriter
</case>
</case>
<!-- OPERA 5+ //-->
<case match="Opera[ /](?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters'\w*))">
<filter match="[4-9]" with="${major}">
<filter match="[5-9]" with="${major}">
tagwriter=System.Web.UI.HtmlTextWriter
</filter>
</filter>
</case>
</browserCaps>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</handlers>
</system.webServer>
<system.serviceModel>
<behaviors>
<endpointBehaviors>
<behavior name="HRMS.SuggestNamesAspNetAjaxBehavior">
<enableWebScript />
</behavior>
</endpointBehaviors>
</behaviors>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true"
multipleSiteBindingsEnabled="true" />
<services>
<service name="HRMS.SuggestNames">
<endpoint address="" behaviorConfiguration="HRMS.SuggestNamesAspNetAjaxBehavior"
binding="webHttpBinding" contract="HRMS.SuggestNames" />
</service>
</services>
</system.serviceModel>
</configuration>
The question is, which one should I delete?
If you guys have any tutorials on how to deploy ASP.Net to IIS 7.5 please do share if the only solution that I have right now is to reinstall the IIS.
The IIS 7.5 is currently installed in my Windows 7 and I'm using Microsoft Visual Studio 2010 for ASP.Net.
Many thanks.
Manny Pacquiao once posted in his twitter:
It doesn't matter if the grammar is wrong, what matter is that you get the message
-
May 17th, 2013, 03:05 AM
#2
Thread Starter
Fanatic Member
Re: New to ASP.NET: HTTP Error 500.21 Error Code 0x8007000d
I found my solution. I forgot to install the ASP.Net to the IIS 7.5
hahahaha.. maybe I'm just exhausted of all the projects that I'm handling...
Manny Pacquiao once posted in his twitter:
It doesn't matter if the grammar is wrong, what matter is that you get the message
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|