Jump to content
Forumu Destekleyenlere Katılın ×
Paticik Forumları
2000 lerden beri faal olan, çok şukela bir paylaşım platformuyuz. Hoşgeldiniz.

web.config ile ilgili.


Öne çıkan mesajlar

Mesaj tarihi:
yaptım asp.net site localde gayet duzgun çalışıyor. yalnız hosta attığımda çalışmıyor.
hosttaki root klasorde defaultta oluşturulan web.config var. onu baz alarak locale indirip onu editleyip, tekrar hosta yüklüyorum. İç sunucu hatası olduğundan sayfa görüntülenemiyor diyor. hosting aldığım firma nbthost. adam gibi cevap vermediler 2 saattir. buraya danışayım dedim. host tarafında çalışmaya yeni başladığımdan elim kolum bağlı duruyorum öyle. ne yapsam bilemedim. çözün gözünüzü seveyim şu sorunu hacılar sinir yaptı bende...
Mesaj tarihi:
detaylı hataya plesk uzerınden önizleme yaparak baktım. çok saçma bı hata. defaultta gelen webhostla ilgili bölümündeki pathi relative değil okuyamıoz adam gibi kusura bakma diyor. hosting şirketindeki tipte diyorki;

tip said:

Local ile 2008 IIS7 shared sistemler arasında bir çok fark vardır. Geğer webconfig editlemeniz gerekiyor ise. host webconfig dosyasını bilgisayarınıza indirmeniz editlemeniz ve tekrar yüklemeniz gerekmektedir.
Mesaj tarihi:
Custom Errors mode offmuş bide zate.


<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<handlers>
<clear/>
<add name="Plesk_Handler_0-1122220750" path="*.asp" verb="GET,HEAD,POST,TRACE" modules="IsapiModule" scriptProcessor="c:windowssystem32inetsrvasp.dll" resourceType="Either" />
<add name="Plesk_Handler_0-1122220620" path="*.cer" verb="GET,HEAD,POST,TRACE" modules="IsapiModule" scriptProcessor="c:windowssystem32inetsrvasp.dll" resourceType="Either" />
<add name="Plesk_Handler_0-1122220619" path="*.asa" verb="GET,HEAD,POST,TRACE" modules="IsapiModule" scriptProcessor="c:windowssystem32inetsrvasp.dll" resourceType="Either" />
<add name="Plesk_Handler_0-1122220618" path="*.cdx" verb="GET,HEAD,POST,TRACE" modules="IsapiModule" scriptProcessor="c:windowssystem32inetsrvasp.dll" resourceType="Either" />
<add name="Plesk_Handler_0-1122220615" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.SimpleHandlerFactory" scriptProcessor="C:WindowsMicrosoft.NETFrameworkv2.0.50727aspnet_isapi.dll" resourceType="Unspecified" />
<add name="Plesk_Handler_0-1122220614" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" scriptProcessor="C:WindowsMicrosoft.NETFrameworkv2.0.50727aspnet_isapi.dll" resourceType="Unspecified" />
<add name="Plesk_Handler_0-1122220613" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" scriptProcessor="C:WindowsMicrosoft.NETFrameworkv2.0.50727aspnet_isapi.dll" resourceType="Unspecified" />
<add name="Plesk_Handler_0-1122220607" path="*.rem" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" scriptProcessor="C:WindowsMicrosoft.NETFrameworkv2.0.50727aspnet_isapi.dll" resourceType="Unspecified" />
<add name="Plesk_Handler_0-1122220604" path="*.soap" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" scriptProcessor="C:WindowsMicrosoft.NETFrameworkv2.0.50727aspnet_isapi.dll" resourceType="Unspecified" />
<add name="Plesk_Handler_0-1122220574" path="*.shtm" verb="GET,POST" modules="ServerSideIncludeModule" resourceType="Either" />
<add name="Plesk_Handler_0-1122220573" path="*.shtml" verb="GET,POST" modules="ServerSideIncludeModule" resourceType="Either" />
<add name="Plesk_Handler_0-1122220572" path="*.stm" verb="GET,POST" modules="ServerSideIncludeModule" resourceType="Either" />
<add name="Plesk_Handler_0-1122220571" path="*.php" verb="*" modules="IsapiModule" scriptProcessor="d:pleskadditionalpleskphp5php5isapi.dll" resourceType="Either" />
<add name="Plesk_Handler_0-1122220570" path="*.php3" verb="*" modules="IsapiModule" scriptProcessor="d:pleskadditionalpleskphp5php5isapi.dll" resourceType="Either" />
<add name="Plesk_Handler_0-1122220569" path="*.phtml" verb="*" modules="IsapiModule" scriptProcessor="d:pleskadditionalpleskphp5php5isapi.dll" resourceType="Either" />
<add name="Plesk_Handler_0-1122220568" path="WebResource.axd" verb="GET,DEBUG" type="System.Web.Handlers.AssemblyResourceLoader" scriptProcessor="C:WindowsMicrosoft.NETFrameworkv2.0.50727aspnet_isapi.dll" resourceType="Unspecified" />
<add name="Plesk_Handler_0-1122220567" path="trace.axd" verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TraceHandler" scriptProcessor="C:WindowsMicrosoft.NETFrameworkv2.0.50727aspnet_isapi.dll" resourceType="Unspecified" />
<add name="Plesk_Handler_0-1122220566" path="WebAdmin.axd" verb="GET,DEBUG" type="System.Web.Handlers.WebAdminHandler" scriptProcessor="C:WindowsMicrosoft.NETFrameworkv2.0.50727aspnet_isapi.dll" resourceType="Unspecified" />
<add name="Plesk_Handler_0-1122220563" path="*.dll" verb="*" modules="IsapiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" />
<add name="Plesk_Handler_0-1122220562" path="*.exe" verb="*" modules="CgiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" />
<add name="StaticFile" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" resourceType="Either" />
</handlers>
<httpErrors>
<clear/>
<error statusCode="401" subStatusCode="-1" prefixLanguageFilePath="" path="D:Webdnztrk.comerror_docsunauthorized.html" responseMode="File" />
<error statusCode="403" subStatusCode="-1" prefixLanguageFilePath="" path="D:Webdnztrk.comerror_docsforbidden.html" responseMode="File" />
<error statusCode="404" subStatusCode="-1" prefixLanguageFilePath="" path="D:Webdnztrk.comerror_docsnot_found.html" responseMode="File" />
<error statusCode="405" subStatusCode="-1" prefixLanguageFilePath="" path="D:Webdnztrk.comerror_docsmethod_not_allowed.html" responseMode="File" />
<error statusCode="406" subStatusCode="-1" prefixLanguageFilePath="" path="D:Webdnztrk.comerror_docsnot_acceptable.html" responseMode="File" />
<error statusCode="412" subStatusCode="-1" prefixLanguageFilePath="" path="D:Webdnztrk.comerror_docsprecondition_failed.html" responseMode="File" />
<error statusCode="500" subStatusCode="-1" prefixLanguageFilePath="" path="D:Webdnztrk.comerror_docsinternal_server_error.html" responseMode="File" />
<error statusCode="501" subStatusCode="-1" prefixLanguageFilePath="" path="D:Webdnztrk.comerror_docsnot_implemented.html" responseMode="File" />
<error statusCode="502" subStatusCode="-1" prefixLanguageFilePath="" path="D:Webdnztrk.comerror_docsbad_gateway.html" responseMode="File" />
</httpErrors>
</system.webServer>
<system.web>
<compilation debug="true" targetFramework="4.0" />
<customErrors mode="Off">
</customErrors>
</system.web>
</configuration>



site test.dnztrk.com.

buda plesk üzerinden önizlemeye bastığımda aldığım hata;


HTTP Hatası 500.19 - Internal Server Error
Absolute physical path "D:Webdnztrk.comerror_docsunauthorized.html" is not allowed in system.webServer/httpErrors section in web.config file. Use relative path instead.
×
×
  • Yeni Oluştur...