I wondered if you can help. I am currently in the process of launching www.veterinaryelite.net. It;s currently live but I'm receving the 500 Internal Server Error.
I have uploaded and resorted Database.Bak file. All settings to allow asp.net in terms of programming function capability for the server is activated. I have adjusted the persmissions for the folders where necessary but still receiving this error.
I have tried adding the custom error configuration to the web.config file to give me a detailed list of the errors but stil not working.
Anyone have any ideas? I have the FTP details if anyone wished to take a look? I'm at a loose end.
500 is general error code. You need to get the sub code of the error (500.xx) and provide more details than this to solve this. Can you copy paste the whole error you are getting?
paulwilkinso...
0 Points
8 Posts
500 Internal Server Error
Jul 20, 2012 12:26 PM|LINK
Hi Guys,
I wondered if you can help. I am currently in the process of launching www.veterinaryelite.net. It;s currently live but I'm receving the 500 Internal Server Error.
I have uploaded and resorted Database.Bak file. All settings to allow asp.net in terms of programming function capability for the server is activated. I have adjusted the persmissions for the folders where necessary but still receiving this error.
I have tried adding the custom error configuration to the web.config file to give me a detailed list of the errors but stil not working.
Anyone have any ideas? I have the FTP details if anyone wished to take a look? I'm at a loose end.
Thanks,
Rajneesh Ver...
All-Star
36983 Points
6796 Posts
Re: 500 Internal Server Error
Jul 20, 2012 12:34 PM|LINK
Have you uploaded and tested html pages? If not then upload any index.html page and test that its working or not.
www.rajneeshverma.com
Keep Forums Clean || Use Alert Moderators.
paulwilkinso...
0 Points
8 Posts
Re: 500 Internal Server Error
Jul 20, 2012 12:41 PM|LINK
Yes, I've just added a index.html page and it works fine. It won't pick up the index.aspx page though? It returns the 500 internal server error
Rajneesh Ver...
All-Star
36983 Points
6796 Posts
Re: 500 Internal Server Error
Jul 20, 2012 12:50 PM|LINK
I just tried : http://www.veterinaryelite.net/index.aspx
and i got error page.
Update your web.config from:
<system.web> <customErrors mode="Off"/> </system.web>to:
<system.web> <customErrors mode="RemoteOnly"/> </system.web>So that we can see the error.
www.rajneeshverma.com
Keep Forums Clean || Use Alert Moderators.
paulwilkinso...
0 Points
8 Posts
Re: 500 Internal Server Error
Jul 20, 2012 12:55 PM|LINK
When the web.config file is saved as a web.config.txt I recieve the error you mentioned.
Here is my web.config.txt file; I have made the changes as you suggested but I still receive the same error.
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="rewriter" requirePermission="false" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter" />
</configSections>
<appSettings>
<add key="WebsiteName" value="Dental Elite" />
<add key="WebsiteUrl" value="www.dentalelite.co.uk" />
<add key="SiteURL" value="http://www.dentalelite.co.uk/" />
<add key="Uploads" value="~\UploadedImages\Images\" />
<add key="DefaultURL" value="http://www.webcreationuk.com/" />
<add key="Errors" value="~\UploadedImages\Errors\" />
<add key="adminMailID" value="paul.wilkinson@dentalelite.co.uk" />
<add key="ReferralScheme" value="paul.wilkinson@dentalelite.co.uk" />
<add key="CandidateRegister" value="candidateregistration@dentalelite.co.uk" />
<add key="Bcc" value="anujg@webcreationuk.com" />
<add key="PageTitle" value="Dental Elite" />
<add key="Cvfile" value="../UploadedImages/CVFiles/">
</add>
<add key="description" value="Dental Elite are a leading UK-based dental recruitment agency. We specialise in the placing of dentistry professionals right across the sector." />
<add key="keywords" value="Dental Jobs, Dentist Jobs, Associate Jobs, Locum jobs,Dental Nurse Jobs, Dental Hygienist Jobs, Dental Therapist Jobs, Dental Practice Sales, Buy a Dental Practice, Sell a Dental Practice, Dental Practices for Sales" />
</appSettings>
<connectionStrings>
<add name="ConnectionString" connectionString="server=plesksql2.ehosting.com;database=paulwigoo5699com5607_;uid=dentalpaul; password=paulisanidiot" />
</connectionStrings>
<system.web>
<pages enableViewStateMac="false" viewStateEncryptionMode="Never" enableEventValidation="false">
<namespaces>
<add namespace="System.Data" />
<add namespace="System.Data.SqlClient" />
<add namespace="System.IO" />
<add namespace="System.Configuration" />
<add namespace="ImageProcessor.Drawing" />
</namespaces>
</pages>
<compilation debug="true" >
<assemblies>
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</assemblies>
</compilation>
<system.web>
<customErrors mode="RemoteOnly"/>
</system.web>
<httpRuntime maxRequestLength="20480" executionTimeout="600" />
<httpHandlers>
<add verb="GET" path="CaptchaImage.aspx" type="WebControlCaptcha.CaptchaImageHandler, WebControlCaptcha" />
</httpHandlers>
<httpModules>
<add type="Intelligencia.UrlRewriter.RewriterHttpModule, Intelligencia.UrlRewriter" name="UrlRewriter" />
</httpModules>
</system.web>
<system.net>
<mailSettings>
<smtp>
<network host="localhost" />
</smtp>
</mailSettings>
</system.net>
<rewriter>
<!-- Redirect non www version to www version -->
<!--<if header="host" match="^sitename\.co\.uk">
<redirect url="^(.*)$" to="http://www.sitename.co.uk$1" permanent="true" processing="stop"/>
</if>-->
<!--<if url="~/(.+).aspx">
<rewrite exists="~/$1.aspx" to="~/$1.aspx" processing="stop"/>
</if>-->
<rewrite url="~/GetImage/(.+).aspx$" to="~/GetImage.ashx?Params=$1" processing="stop" />
</rewriter>
</configuration>
Rajneesh Ver...
All-Star
36983 Points
6796 Posts
Re: 500 Internal Server Error
Jul 20, 2012 01:05 PM|LINK
Its Always suggested don't share any username and password at the Forum. Always use as above notations.
Also keep your web.config as web.config don't modify it as web.config.txt.
After changing Name as (web.config) Try to browse using page name:
http://www.veterinaryelite.net/index.aspx
www.rajneeshverma.com
Keep Forums Clean || Use Alert Moderators.
paulwilkinso...
0 Points
8 Posts
Re: 500 Internal Server Error
Jul 20, 2012 01:10 PM|LINK
Ok no problem.
I have changed back to web.config and now receice the 500 internal server error?
Rajneesh Ver...
All-Star
36983 Points
6796 Posts
Re: 500 Internal Server Error
Jul 20, 2012 01:13 PM|LINK
Yes i have seen.
Have you checked from control panel that its supports asp.net 3.5 ?
Just check and if disable then enable .net for iis or website.
Also check your Inbox (PM)
www.rajneeshverma.com
Keep Forums Clean || Use Alert Moderators.
Ruchira
All-Star
42946 Points
7023 Posts
MVP
Re: 500 Internal Server Error
Jul 20, 2012 01:47 PM|LINK
Hello,
500 is general error code. You need to get the sub code of the error (500.xx) and provide more details than this to solve this. Can you copy paste the whole error you are getting?
My Tech blog | My YouTube ChannelPlease 'Mark as Answer' if this post helps you.Rajneesh Ver...
All-Star
36983 Points
6796 Posts
Re: 500 Internal Server Error
Jul 20, 2012 04:47 PM|LINK
I fixed the issue.
I did two changes:
1. Rename Index.aspx to Default.aspx (All references).
2. Published website using file system then uploaded using FTP.
www.rajneeshverma.com
Keep Forums Clean || Use Alert Moderators.