Click here to Skip to main content
15,888,816 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
my code is bellow but i am getting error 500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed.
XML
<configuration>
   <connectionstrings>
    <add name="Enlightenment" connectionstring="Data Source=ABHI;Initial Catalog=mytour;Integrated Security=True" providername="System.Data.SqlClient" />
   
  </connectionstrings>
  <system.web>
    <compilation debug="true" targetframework="4.0">
      <assemblies>
        <add assembly="System.Data.Services.Client, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
      </assemblies>
    </compilation>
    <httpruntime targetframework="4.0" />
    <authentication mode="Windows" />
    <customerrors mode="Off" />
    <trust level="Full" />
    <pages>
      <controls>
        <add tagprefix="asp" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" />
      </controls>
    </pages>
  </system.web>
  <appsettings>
    <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
  </appsettings>
  <system.webserver>
    <httperrors errormode="Detailed" />
        <asp scripterrorsenttobrowser="true" />
    <directorybrowse enabled="true" />
  </system.webserver>
</configuration>
Posted
Updated 1-Mar-15 0:51am
v3

This isn't a problem we can fix: a 500 error is (as the message says) an error internal to the server providing the resource you have requested, and that it can;t provide any more info on why.
Sometimes this is because of a database problem at the server, or a file that has been moved. We can't tell - only someone with direct access to the server and the specific resource can do that.

You need to look to the people who administer the site to find a solution, I'm afraid.
 
Share this answer
 
Hi Abhinandan,

500 internal server is a generic issue. You may need to contact your hosting provider to copy full error message on the server.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900