PDA

View Full Version : بروز خطا بعد از آپلود کردن سایت روی هاست



h_g1987
پنج شنبه 05 اردیبهشت 1392, 00:12 صبح
103309سلام دوستان

سایتم رو آپلود کردم، اما وقتی آدرس سایت رو میزنم پیغام زیر رو میده... با اینکه در Web Config هم Data Source و هم UserName و Password رو مطابق چیزی که در هاست تعریف کردم گذاشتم... ممنون میشم راهنمایی کنید

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.

h_g1987
جمعه 06 اردیبهشت 1392, 16:36 عصر
یعنی واقعا هیچکس نیست کمک کنه منو :گریه:

fakhravari
جمعه 06 اردیبهشت 1392, 16:59 عصر
وب کنفیگ بزار

h_g1987
جمعه 06 اردیبهشت 1392, 19:09 عصر
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="BankParsianMerchantID" value="bk1vdpRLPcnQrlC1F368" />
<add key="CustomerName" value="مجموعه فرهنگی-ورزشی انقلاب" />
</appSettings>
<system.web>
<customErrors mode="off"/>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
<roleManager enabled="true" defaultProvider="MyProvider">
<providers>
<clear/>
<add name="MyProvider" type="pOrOjE.Classes.enghelabEntitiesProvider" />
</providers>
</roleManager>
<httpModules>
<add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />
<add name="RadCompression" type="Telerik.Web.UI.RadCompression" />
</httpModules>
<authentication mode="Forms">
<forms name="enghelabEntities" timeout="43200" loginUrl="~/Login.aspx" defaultUrl="~/Dufault.aspx" />
</authentication>
<compilation debug="true" targetFramework="4.0">
<assemblies>
<add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</assemblies>
</compilation>
<pages>
<controls>
<add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />
</controls>
</pages>
<httpHandlers>
<add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
<add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
<add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
<add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
</httpHandlers>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<modules runAllManagedModulesForAllRequests="true">
<remove name="RadUploadModule" />
<remove name="RadCompression" />
<add type="ThemeSwitcher_CS.ThemeSwitcherModule" name="ThemeSwitcherHttpModule" />
<add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode" />
<add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode" />
</modules>
<handlers>
<remove name="ChartImage_axd" />
<remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
<remove name="Telerik_Web_UI_DialogHandler_aspx" />
<remove name="Telerik_RadUploadProgressHandler_ashx" />
<remove name="Telerik_Web_UI_WebResource_axd" />
<add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" />
<add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" />
<add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />
<add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" />
<add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" />
</handlers>
</system.webServer>
<connectionStrings>
<add name="enghelabEntities" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string=&quot;Data Source=enghelab.mssql.somee.com;Initial Catalog=enghelab;User ID=enghelab123;Password=13661987;MultipleActiveRes ultSets=True&quot;" providerName="System.Data.EntityClient" />
</connectionStrings>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="EShopServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="Transport">
<transport clientCredentialType="None" proxyCredentialType="None" realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
<binding name="EShopServiceSoap1" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None" realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="https://www.pec24.com/pecpaymentgateway/EShopService.asmx" binding="basicHttpBinding" bindingConfiguration="EShopServiceSoap" contract="BankParsian.EShopServiceSoap" name="EShopServiceSoap" />
</client>
</system.serviceModel>
</configuration>

h_g1987
شنبه 07 اردیبهشت 1392, 00:29 صبح
آقای fakhravari (http://barnamenevis.org/member.php?128926-fakhravari) وب کانفیگ رو دیدید؟ :ناراحت:
(http://barnamenevis.org/member.php?128926-fakhravari)

fakhravari
شنبه 07 اردیبهشت 1392, 01:03 صبح
فعلا این بزار ببین چی میشه
<customErrors mode="On"/>
2 تا داری
<customErrors mode="off"/>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
یکیش کن
<customErrors defaultRedirect="~/Error/Error.htm" mode="On">
<error statusCode="500" redirect="~/Error/Error.htm"/>
<error statusCode="404" redirect="~/Error/FileNotFound.htm"/>
<error statusCode="403" redirect="~/Error/Forbidden.htm"/>
<error statusCode="400" redirect="~/Error/400 Bad Request.htm"/>
<error statusCode="401" redirect="~/Error/401 Unauthorized Error Resolution.htm"/>
</customErrors>

hesamsalehnamadi
شنبه 07 اردیبهشت 1392, 06:34 صبح
زیر همون صفحه سایتت راهنمایی کافی کرده دوست عزیز.. لینک زیر ارورهای احتمالی و نحوه رفع کردن ارور هارو به طور کامل نشون داده

http://support.microsoft.com/kb/942055

h_g1987
شنبه 07 اردیبهشت 1392, 13:21 عصر
آقای fakhravari (http://barnamenevis.org/member.php?128926-fakhravari) قسمتی که گفته بودید رو به همون شکل اصلاح کردم ، اما باز خطا داد103376

h_g1987
شنبه 07 اردیبهشت 1392, 13:25 عصر
آقای hesamsalehnamadi (http://barnamenevis.org/member.php?52704-hesamsalehnamadi) ممنون از راهنماییتون
ایراد رو پیدا کردم اما نمیدونم چجوری مرتفعش کنم

Cause of error message 3

This problem occurs because the ApplicationHost.config file has a duplicate entry for the following code.<add accessType="Allow" users="*" />




Resolution 3

In the ApplicationHost.config file, delete the duplicate entry for the authorization rule. To do this, follow these steps:

Click Start, type Notepad in the Start Search box, right-click Notepad, and then click Run as administrator.

Note If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.
On the File menu, click Open, type %windir%\System32\inetsrv\config\applicationHost.c onfig in the File name box, and then click Open.
In the ApplicationHost.config file, delete the duplicate entry that resembles the following code. <add accessType="Allow" users="*" />




ورودیِ تکراری یعنی چی؟ من اصلا یه همچین کدی رو تویِ وب کانفیگم ننوشتم

<add accessType="Allow" users="*" />