I have been searching and searching for a fix for this problem for almost 2-weeks now.
I have resorted to uploading the original unmodified classifieds site to go daddy.
I have created two seperate databases, mssql 2005 both have dns and schemas enabled, and I changed the run time to 2.0
I have made to user accounts one guest and one admin.
And it will work fine for several hours, and then with no warning it will just stop, and display this message.
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.
I called godaddy so I could see what is in the event log, and they told me nothing.
After a little while, most often several hours, it will refesh the application automatically and will work fine again for a short period of time.
I even tried going through the stored procedures one by one. No luck.
My complete web.config is:
<?xml version="1.0"?>
<
configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"><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 mode="Off"/><pages styleSheetTheme="Red"/>
<
authentication mode="Forms"/><membership>
<
providers><clear/>
<
add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="LocalSqlServer" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="true" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" 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"/>
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>
<
compilation debug="true"/></system.web>
<
connectionStrings><add name="classifiedsConnection" connectionString="Data Source=whsql-v19.prod.mesa1.secureserver.net;
Initial Catalog=DB_146498; User ID=myusername; Password='xxXxxXXx
" Trusted_Connection="False" providerName="System.Data.SqlClient" />"<remove name="LocalSqlServer"/>
<
add name="LocalSqlServer" connectionString="Data Source=whsql-v20.prod.mesa1.secureserver.net;
Initial Catalog=DB_146500; User ID=myusername; Password=xxXxxXXx;
" Trusted_Connection="False" providerName="System.Data.SqlClient" />"</connectionStrings>
<
system.net><mailSettings>
<
smtp>
<
network host="yourSMTPhostname" port="25" defaultCredentials="true" userName="enterUserNameHereIfRequired" password="enterPasswordIfRequired"/>
/
></smtp>
</
mailSettings></system.net>
</
configuration>
I got the connection string from go daddy themselves on the SqlConnection (.NET): section.
So other than the web.cong file and adding two users, this is the original kit.
What is happening.
Thank you in advance
Be sure to visit
www.detelli.comAnd please remember to click ?Mark as Answer? on the post that helps you.
This can be beneficial to other community members reading the thread.