non so cos'altro ti serve nel config, ma crea un file di testo (che poi rinomini in web.config) così e mettilo sul server:

codice:
<?xml version="1.0"?>
<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>