Run time error generated

Nov 9 2017 1:59 AM
When i run a Web application that is built on the Visual Studio 2012, the unexpectedly receive the following generic error message even though specified a custom error page in the Web.config file:
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 tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off".
 
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 configuration tag to point to a custom error page URL.
 
How can solve my error plz help me...
 
and my web file is.....
 
<configuration>
<appSettings>
<add key="ValidationSettings:UnobtrusiveValidationMode" value="None"/>
</appSettings>
<connectionStrings>
<add name="conn" connectionString="Data Source=GOPAL\SQLEXPRESS;Initial Catalog=Qmedia_Final;Integrated Security=True" providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.web>
<pages enableEventValidation="false"/>
<compilation debug="true" targetFramework="4.5" >
<assemblies>
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
</compilation>
<httpRuntime targetFramework="4.5"/>
<authentication mode="None"/>
</system.web>
</configuration>

Answers (7)