Web.config file

M

Murat Dikici

Hello,
The file structure on the server is:

/FileUpload
- Web.config
- upload.aspx

I try to run the upload.aspx but it gives me a runtime error message like
this:
----------------
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 file is like this:
---------
<configuration>

<system.web>
<customErrors mode="Off"/>
</system.web>

</configuration>
 
M

Munsifali Rashid

Have you modified the web.config file, with the tag: <customErrors
mode="Off"/>

For security purposes, ASP.NET will only show errors when you view the site
on the local machine. In your case, as you are viewing the files from a
server, you need to turn off the custom errors, so that you can see the
error message, which will help you to debug the problem.

Hope this helps,

Mun
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top