I have a Website on IIS7 which when I view it from the Local PC it looks fine but I alo host my own website / services and When I access it through that I get a
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".
Do the above or better yet just copy and paste the entire page into this thread.
proviewmedia
Member
3 Points
6 Posts
Viewing webpage
Dec 14, 2012 05:23 PM|LINK
I have a Website on IIS7 which when I view it from the Local PC it looks fine but I alo host my own website / services and When I access it through that I get a
Server Error in '/' Application.
Runtime Error
The Code for the site is;
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!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 runat="server"> <title></title> <style type="text/css"> .style1 { width: 231px; height: 90px; } .style2 { text-align: center; color: #FF6600; font-family: "Accord SF"; } </style> </head> <body> <div> <img alt="The Official Chuckle Brothers Website" class="style1" src="images/site_logo.gif" /><span class="style1"> </span> <h2 class="style2"> Online Order Tracking.</h2> <hr /> </div> <p style="font-size: small; font-family: Verdana"> Please Enter Your Order Number....</p> <form id="form1" runat="server"> <div> <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" DataKeyNames="OrderID" DataSourceID="AccessDataSource1" Height="50px" Width="125px"> <Fields> <asp:BoundField DataField="OrderID" HeaderText="OrderID" InsertVisible="False" ReadOnly="True" SortExpression="OrderID" /> <asp:BoundField DataField="OrderName" HeaderText="OrderName" SortExpression="OrderName" /> <asp:BoundField DataField="Order Date" HeaderText="Order Date" SortExpression="Order Date" /> <asp:BoundField DataField="PostCode" HeaderText="PostCode" SortExpression="PostCode" /> <asp:BoundField DataField="OrderAddress" HeaderText="OrderAddress" SortExpression="OrderAddress" /> <asp:BoundField DataField="BillingAddress" HeaderText="BillingAddress" SortExpression="BillingAddress" /> <asp:BoundField DataField="DeliveryStatus" HeaderText="DeliveryStatus" SortExpression="DeliveryStatus" /> <asp:BoundField DataField="SupplierOrderNumber" HeaderText="SupplierOrderNumber" SortExpression="SupplierOrderNumber" /> <asp:BoundField DataField="ExpectOrderIn" HeaderText="ExpectOrderIn" SortExpression="ExpectOrderIn" /> <asp:BoundField DataField="Description" HeaderText="Description" SortExpression="Description" /> </Fields> </asp:DetailsView> <asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="/App_Data/onlineTracking.accdb" SelectCommand="SELECT * FROM [CustomerDetails] WHERE ([OrderID] = ?)"> <SelectParameters> <asp:QueryStringParameter Name="OrderID" QueryStringField="OrderId" Type="Int32" /> </SelectParameters> </asp:AccessDataSource> </div> </form> </body> </html>ignatandrei
All-Star
135231 Points
21695 Posts
Moderator
MVP
Re: Viewing webpage
Dec 14, 2012 06:31 PM|LINK
what is saying after runtime error?
proviewmedia
Member
3 Points
6 Posts
Re: Viewing webpage
Dec 14, 2012 07:56 PM|LINK
Hi the URL is,
http://store.thechucklebrothersontour.co.uk/Tracking/Default.aspx?OrderId=1
this will display the error i am getting.
many Thanks
jprochazka
Contributor
4896 Points
740 Posts
Re: Viewing webpage
Dec 14, 2012 07:58 PM|LINK
Remote viewers cannot see the error.
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".
Do the above or better yet just copy and paste the entire page into this thread.