web.config problem
-
I have a subdomain mobile.JassimRahma.com and that's referring of course to a folder on my root called mobile. I just created a simple, very simple Default.aspx file and placed in the mobile folder but I am getting thie error:
I have a subdomain mobile.JassimRahma.com and that's referring of course to a folder on my root called mobile.
I just created a simple, very simple Default.aspx file and placed in the mobile folder but I am getting thie error:
and this is my SIMPLE Default.aspx:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Jassim.mobile.Default" %>
<%@ OutputCache Duration="120" VaryByParam="None" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<meta name="robots" content="noindex, nofollow" />
<meta name="description" content="A distinguished service-level information technology Manager with experience in program management, project management and team leadership." />
<meta name="keywords" content="asp.net,c#,.net,cure,cureGP,cureSurgical,cureDental,cureHospital,general practice,dental,surgical,cure online,microsoft,html,css,xml,javascript,cisco,network,netwoking,jassim rahma,jobs,vacancy,resume,career,bahrain,bahraini,cio,c.i.o.,information technology,director,head of IT,head of I.T.,IT manager,I.T. manager ,development,programming,free software,windows server,LAN,WAN,web services,web services,soap,retail,insurance,banking,finance,telecom,batelco,stc,viva,zain,free download,integration,implementation,support manager,wsdl,blackberry,internet cafe software,internet cafe system,health management system,electronic health record,electronic medical record,hms,clinic management system,EPR,EMR,EHR, human resources,ERP,CMS,GCC,G.C.C.,hsbc,nomura,jawad,costa coffee,medgulf,2connect,bahrain 2030,TCP/IP,router,routing,http,ftp,DNS,DHCP,switch,netBIOS,internetwork,RJ45,osi,WINS,database,snmp,smtp,smpp,pop3,exchange server,cyber cafe, the restart manager, surgical, dermaone, surgicare, dental," />
<meta name="author" content="Jassim Rahma" />
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" />
<title>Jassim Rahma</title><script type="text/javascript"> var \_gaq = \_gaq || \[\]; \_gaq.push(\['\_setAccount', 'UA-3409064-5'\]); \_gaq.push(\['\_trackP
-
I have a subdomain mobile.JassimRahma.com and that's referring of course to a folder on my root called mobile. I just created a simple, very simple Default.aspx file and placed in the mobile folder but I am getting thie error:
I have a subdomain mobile.JassimRahma.com and that's referring of course to a folder on my root called mobile.
I just created a simple, very simple Default.aspx file and placed in the mobile folder but I am getting thie error:
and this is my SIMPLE Default.aspx:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Jassim.mobile.Default" %>
<%@ OutputCache Duration="120" VaryByParam="None" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<meta name="robots" content="noindex, nofollow" />
<meta name="description" content="A distinguished service-level information technology Manager with experience in program management, project management and team leadership." />
<meta name="keywords" content="asp.net,c#,.net,cure,cureGP,cureSurgical,cureDental,cureHospital,general practice,dental,surgical,cure online,microsoft,html,css,xml,javascript,cisco,network,netwoking,jassim rahma,jobs,vacancy,resume,career,bahrain,bahraini,cio,c.i.o.,information technology,director,head of IT,head of I.T.,IT manager,I.T. manager ,development,programming,free software,windows server,LAN,WAN,web services,web services,soap,retail,insurance,banking,finance,telecom,batelco,stc,viva,zain,free download,integration,implementation,support manager,wsdl,blackberry,internet cafe software,internet cafe system,health management system,electronic health record,electronic medical record,hms,clinic management system,EPR,EMR,EHR, human resources,ERP,CMS,GCC,G.C.C.,hsbc,nomura,jawad,costa coffee,medgulf,2connect,bahrain 2030,TCP/IP,router,routing,http,ftp,DNS,DHCP,switch,netBIOS,internetwork,RJ45,osi,WINS,database,snmp,smtp,smpp,pop3,exchange server,cyber cafe, the restart manager, surgical, dermaone, surgicare, dental," />
<meta name="author" content="Jassim Rahma" />
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" />
<title>Jassim Rahma</title><script type="text/javascript"> var \_gaq = \_gaq || \[\]; \_gaq.push(\['\_setAccount', 'UA-3409064-5'\]); \_gaq.push(\['\_trackP
Edit your post, you have not included the referenced error message.
I know the language. I've read a book. - _Madmatt
-
Edit your post, you have not included the referenced error message.
I know the language. I've read a book. - _Madmatt
Here you can see the error http://cure.jassimrahma.com
-
Here you can see the error http://cure.jassimrahma.com
I, nor anyone else here, is going to visit an unknown website just to see your error. If you want help, then post it here.
I know the language. I've read a book. - _Madmatt
-
I, nor anyone else here, is going to visit an unknown website just to see your error. If you want help, then post it here.
I know the language. I've read a book. - _Madmatt
-
He has not even set CustomErrors section's mode to off.
Please don't forget to mark 'Good Answer', if you find it really a good one! Kashif
it is OFF...
<customErrors mode="Off">
</customErrors>and this is the error on the page:
Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration> -
it is OFF...
<customErrors mode="Off">
</customErrors>and this is the error on the page:
Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>