Deployed mvc webapplication to iis - runtime error with no details of exception RRS feed

  • Question

  • User199745312 posted

         during file upload  i read a line of file as shown below so my doubt its raising an exception in remote machine     

    using (StreamReader reader = new StreamReader(fileName))
                    header = reader.ReadLine();

    It Shows runtime error enable customerror mode="off" but i done this but didnt get stacktrace

    Friday, October 18, 2013 6:46 AM


  • User-1716253493 posted
    Maybe you need full server path. To see detailed error try set also : <system.webServer>
    errorMode= "Detailed" />
    = "true" />
    <remove value= "
    default.aspx" />
    <add value= "
    default.aspx" />
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, October 18, 2013 10:27 AM