PDA

View Full Version : HTTP Error 500.19 - Internal Server Error خطای



عادل شجاع تنگستانی
سه شنبه 13 دی 1390, 09:25 صبح
سلام دوستان بعد از رفع خطای
<customErrors mode="Off"/> با کمک دوستان به یه خطای جدید روبه رو شدیم که اگه دوستان لطفا کنن جواب اینو هم بهمون بدن



Server Error


Internet Information Services 7.5

Error Summary HTTP Error 500.19 - Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.


Detailed Error Information ModuleIIS Web Core NotificationUnknown HandlerNot yet determined Error Code0x80070032 Config ErrorThe configuration section 'forms' cannot be read because it is missing a section declaration Config File\\?\d:\DZHosts\LocalUser\ctest\www.ctest.somee .com\web.config
Requested URLhttp://ctest.somee.com:80/ Physical Path
Logon MethodNot yet determined Logon UserNot yet determined

Config Source 19: <customErrors mode="Off"/> 20: <forms loginUrl="~/Account/Login.aspx " timeout="2880" /> 21: </authentication>
Links and More Information This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error. View more information » (http://go.microsoft.com/fwlink/?LinkID=62293&IIS70Error=500,19,0x80070032,7601)





این هم Web.config خوهشا کمک کنید من همون ترم آخری هستم


<?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="ApplicationServices"
connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\asp netdb.mdf;User Instance=true"
providerName="System.Data.SqlClient" />
</connectionStrings>

<system.web>
<compilation debug="false" targetFramework="4.0" />

<authentication mode="on"/>
<customErrors mode="Off"/>
<forms loginUrl="~/Account/Login.aspx " timeout="2880" />
</authentication>
<membership>
<providers>
<clear/>
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices"
enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
applicationName="/" />
</providers>
</membership>

<profile>
<providers>
<clear/>
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
</providers>
</profile>

<roleManager enabled="false">
<providers>
<clear/>
<add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" />
<add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
</providers>
</roleManager>

</system.web>

<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
</configuration>

hamid_shrk
سه شنبه 13 دی 1390, 09:28 صبح
کاش از تگ code استفاده میگردید تا واضح تر میدیدیم وب کانفیگتون رو.
میتونی یه عکس از خطایی که میگیره بذاری؟

rana-writes
سه شنبه 13 دی 1390, 18:07 عصر
سلام
من اين بار موقع آپلود هاستم اين خطا رو داشتم كه خود هاست برام برطرف كرد و يه جورايي انگار مشكل از خودشون بود

با هاست تماس بگيرين.

االبته ممکنه که این خطا از عدم دسترسی خواندن (Read) در Network Service هم باشه كه موجب ميشه که IIS نتونه فایل web.config رو بخونه
موفق باشين