500 INTERNAL SERVER ERROR please help

Last post 10-28-2009 9:29 PM by darkknight187. 6 replies.

Sort Posts:

  • 500 INTERNAL SERVER ERROR please help

    10-27-2009, 12:50 PM
    • Member
      20 point Member
    • damien56172
    • Member since 11-23-2008, 1:32 AM
    • Posts 14

    Hello everyone I had my site running before . I did not pay hosting for a month and now I have to upload all my files and set the two databases up again , witch I just did. I now am getting this error.

    500 INTERNAL SERVER ERROR

    How do I fix this issue.

    Here is how my web config file looks like :

    <?xml version="1.0"?>

    <configuration>

    <location path="Admin">

    <system.web>

    <authorization>

    <allow roles="Administrators"/>

    <deny users="*"/>

    </authorization>

    </system.web>

    </location>

    <location path="PostAd.aspx">

    <system.web>

    <authorization>

    <deny users="?"/>

    </authorization>

    </system.web>

    </location>

    <location path="EditPhotos.aspx">

    <system.web>

    <authorization>

    <deny users="?"/>

    </authorization>

    </system.web>

    </location>

    <location path="MyAds.aspx">

    <system.web>

    <authorization>

    <deny users="?"/>

    </authorization>

    </system.web>

    </location>

    <location path="MyProfile.aspx">

    <system.web>

    <authorization>

    <deny users="?"/>

    </authorization>

    </system.web>

    </location>

     


    <system.web>

    <customErrors defaultRedirect="Error.aspx" mode="RemoteOnly"/>

    <authentication mode="Forms"/>

    <!--<identity impersonate="true"/>-->

    <compilation debug="true"/>

    <pages styleSheetTheme="Blue"/>

     


    <membership defaultProvider="CustomizedMembershipProvider" >

    <providers>

    <add name="CustomizedMembershipProvider"

    type="System.Web.Security.SqlMembershipProvider"

    connectionStringName="LocalSqlServer"

    enablePasswordRetrieval="false"

    enablePasswordReset="true"

    requiresQuestionAndAnswer="true"

    applicationName="/main"

    requiresUniqueEmail="true"

    passwordFormat="Hashed"

    maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7"

    minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"

    passwordStrengthRegularExpression=""/>

    </providers>

    </membership>

    <profile enabled="true">

    <properties>

    <add name="FirstName" type="System.String"/>

    <add name="LastName" type="System.String"/>

    <add name="MemberId" defaultValue="0" type="System.Int32"/>

    <group name="Core"/>

    </properties>

    </profile>

     


    <roleManager enabled="true" defaultProvider="CustomizedRoleProvider">

    <providers>

    <add name="CustomizedRoleProvider"

    type="System.Web.Security.SqlRoleProvider"

    connectionStringName="LocalSqlServer" />

    </providers>

    </roleManager>

     


    <siteMap defaultProvider="RoleEnabled_AspNetXmlSiteMapProvider" enabled="true">

    <providers>

    <clear/>

    <add name="RoleEnabled_AspNetXmlSiteMapProvider" type="System.Web.XmlSiteMapProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" siteMapFile="web.sitemap" securityTrimmingEnabled="true"/>

    </providers>

    </siteMap>

    </system.web>

     


    <connectionStrings>

    <add name="classifiedsConnection" connectionString="Data Source=apost.db.5141878.hostedresource.com; Initial Catalog=apost;  uid=apost; Pwd=xxxxx;"/>

    <remove name="LocalSqlServer"/>

    <add name="LocalSqlServer" connectionString="Data Source=bpost.db.5141878.hostedresource.com; Initial Catalog=bpost; uid=bpost; Pwd=xxxxx;"/>

    </connectionStrings>

     


    <!--<system.net>

    <mailSettings>

    <smtp>

    <network host="yourSMTPhostname" port="25" defaultCredentials="true" userName="enterUserNameHereIfRequired" password="enterPasswordIfRequired"/>

    </smtp>

    </mailSettings>

    </system.net>-->

    </configuration>

     

  • Re: 500 INTERNAL SERVER ERROR please help

    10-27-2009, 1:29 PM
    • Contributor
      3,286 point Contributor
    • Rajneesh Verma
    • Member since 07-15-2008, 10:22 AM
    • Lucknow, U.P. INDIA
    • Posts 749

    Hi,

    Have you paid for That domain.

    If yes then reconfigure that domain with space. 

    Try to contact with your service provide.


    Thanks..

    RajneesH Verma
    Sr. Software Developer
    09742846246 (Karnataka)
    09839040266 (Uttar Pradesh)
    Technology Specialist at www.innovateonindia.com

    Please remember to click "Mark as Answer" on the post that helps you and close that thread which fulfill your requirement.
  • Re: 500 INTERNAL SERVER ERROR please help

    10-27-2009, 1:33 PM
    • Member
      20 point Member
    • damien56172
    • Member since 11-23-2008, 1:32 AM
    • Posts 14

    Yes I have paid for that domain. My host is with godaddy. What do you mean with "space" 

    Thanks

  • Re: 500 INTERNAL SERVER ERROR please help

    10-27-2009, 2:52 PM
    • Contributor
      3,286 point Contributor
    • Rajneesh Verma
    • Member since 07-15-2008, 10:22 AM
    • Lucknow, U.P. INDIA
    • Posts 749

    web space which allocated to your domain by godaddy have you paid for that also. if yes then you get your control panel detail after login in panel point to your domain again. You have ftp details also? am i right?

    if you want to check is your domain pointed right? then put a index.html page and check it. is it running?.

    if yes then check your sql server database connectivity which recreated after paying for it.



     can you give url of site.

    Thanks.

    RajneesH Verma
    Sr. Software Developer
    09742846246 (Karnataka)
    09839040266 (Uttar Pradesh)
    Technology Specialist at www.innovateonindia.com

    Please remember to click "Mark as Answer" on the post that helps you and close that thread which fulfill your requirement.
  • Re: 500 INTERNAL SERVER ERROR please help

    10-27-2009, 8:35 PM
    • Contributor
      2,578 point Contributor
    • darkknight187
    • Member since 09-14-2006, 12:35 AM
    • Bothell, Washington
    • Posts 1,010

    Since you have recreated the databases again, did you update the connection strings to point to the new databases?

     

    And did you remember to set the runtime to asp.net 2.0?

     

    Good Luck

    Daniel Meis 

    Please remember to click “Mark as Answer” on the post that helps you.
    This can be beneficial to other community members reading the thread.
  • Re: 500 INTERNAL SERVER ERROR please help

    10-28-2009, 1:14 PM
    • Member
      20 point Member
    • damien56172
    • Member since 11-23-2008, 1:32 AM
    • Posts 14

    Ok i Got it to work It was just a syntax error on the web config file. Now I have another problem  on the postad.aspx

    when I type up all the input fields and I hit the Finish Button I get a RUNTIME ERROR . Is this caused by the ads.vb file in the BLL DIRECTORY or the ads.xsd in the DAL DIRECTORY.  Another problem how do you change AdType "ForSale" to "SERVICES" what changes must I make ?  

    Thanks everyone for all your Help !

  • Re: 500 INTERNAL SERVER ERROR please help

    10-28-2009, 9:29 PM
    • Contributor
      2,578 point Contributor
    • darkknight187
    • Member since 09-14-2006, 12:35 AM
    • Bothell, Washington
    • Posts 1,010

    As far as your error, you should copy and paste it, to give us more info.
    The only guess I have is that since you redid the databases, Did you remember to add in the categories? If there's no category it will error out.

     

    And your change from For Sale:
    The easiest way is just search your project for "For Sale" 

    There's several places, but the most important is in App_Code/Web(I think)/Outputformatting

     

    Good Luck

     

    Please remember to click “Mark as Answer” on the post that helps you.
    This can be beneficial to other community members reading the thread.
Page 1 of 1 (7 items)