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>