• 15-03-2009, 21:38:30
    #1
    Merhaba arkadaşlar,

    asp.net'te birşeyler yaptım ancak local'de çalışan dosyam serverda aşağıdaki hatayı veriyor yardımcı olursanız sevinirim..


    Server Error in '/' Application.

    Runtime Error

    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

    Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

    <!-- Web.Config Configuration File -->

    <configuration>
    <system.web>
    <customErrors mode="Off"/>
    </system.web>
    </configuration>
    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

    <!-- Web.Config Configuration File -->

    <configuration>
    <system.web>
    <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
    </configuration>
  • 16-03-2009, 00:36:27
    #2
    ya çok zor birşey mi sordum ??
  • 16-03-2009, 13:27:41
    #3
    Debug modda çalıştırıp ayrıntılı hata mesajı yazsan yardımcı olan olur mutlaka şu durumda hatanın kaynağı görünmüyor
  • 17-03-2009, 16:43:58
    #4
    Web.Config dosyanda

    <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>

    satırını

    <customErrors mode="OFF" defaultRedirect="mycustompage.htm"/>

    Şeklinde değiştirki hatayı görebilelim. Şuan gördüğün hata standart hata sayfası ve hiç bir bilgi içermiyor.
  • 17-03-2009, 20:25:05
    #5
    aşağıdaki hatayı veriyor şuan

    Server Error in '/' Application.

    The current identity (MEDYA-7GTGARNT6\IWAM_plesk(default)) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET Files'.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Web.HttpException: The current identity (MEDYA-7GTGARNT6\IWAM_plesk(default)) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET Files'.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:

    [HttpException (0x80004005): The current identity (MEDYA-7GTGARNT6\IWAM_plesk(default)) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET Files'.]
    System.Web.HttpRuntime.SetUpCodegenDirectory(Compi lationSection compilationSection) +8913774
    System.Web.HttpRuntime.HostingInit(HostingEnvironm entFlags hostingFlags) +152

    [HttpException (0x80004005): The current identity (MEDYA-7GTGARNT6\IWAM_plesk(default)) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET Files'.]
    System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +8886319
    System.Web.HttpRuntime.EnsureFirstRequestInit(Http Context context) +85
    System.Web.HttpRuntime.ProcessRequestInternal(Http WorkerRequest wr) +259
  • 17-03-2009, 23:41:56
    #6
    Kimlik doğrulama veya yönetimden onay bekliyor.
    spy_scorpion adlı üyeden alıntı: mesajı görüntüle
    aşağıdaki hatayı veriyor şuan
    Server Error in '/' Application.
    The current identity (MEDYA-7GTGARNT6\IWAM_plesk(default)) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET Files'.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Web.HttpException: The current identity (MEDYA-7GTGARNT6\IWAM_plesk(default)) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET Files'.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [HttpException (0x80004005): The current identity (MEDYA-7GTGARNT6\IWAM_plesk(default)) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET Files'.]
    System.Web.HttpRuntime.SetUpCodegenDirectory(Compi lationSection compilationSection) +8913774
    System.Web.HttpRuntime.HostingInit(HostingEnvironm entFlags hostingFlags) +152
    [HttpException (0x80004005): The current identity (MEDYA-7GTGARNT6\IWAM_plesk(default)) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET Files'.]
    System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +8886319
    System.Web.HttpRuntime.EnsureFirstRequestInit(Http Context context) +85
    System.Web.HttpRuntime.ProcessRequestInternal(Http WorkerRequest wr) +259

    Bana chmodlar ile ilgili bir durummuş gibi geldi. Çünkü localhost'da çalışıpta sunucuda çalışmamasının nedeni bu olabilir localhostta bütün chmodları serbest algıladığı için sorun alamamışsındır. Chmodları kontrol edin bence.
  • 19-03-2009, 00:39:15
    #7
    chmod mu windows sunucuda ne zaman chmod oldu? Çalışmama nedeni IWAM_plesk(default) kullanıcısının 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET Files' klasörü üzerinde yetkisi olmaması bu klasör .net isapi dll kodlarınızı read ederken tmp dosylarını depoladığı yer klasöre USERS için genel yetki verilebilir. Fakat başka bir çözümüde olabilir aplikasyon havuzu ile ilgili bir ayarda yapılabilir.