If you want to know what the error is, modify the web.config file as follows:
<configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration>
Basically, the error you get tells you to do this so that you can see the actual error.
A warning. If your site is on the Internet, anyone trying to browse will see the exact error message. This can be a security issue, as it can allow people to see parts of your code or even configuration.
source share