Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET 4 24-Hour Trainer
This is the forum to discuss the Wrox book ASP.NET 4 24-Hour Trainer by Toi B. Wright; ISBN: 978-0-470-59691-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 4 24-Hour Trainer section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 19th, 2012, 08:00 AM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Dec 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 4, visual studio 2012

<?xml version="1.0"?>

For more information on how to configure your ASP.NET application, please visit


<compilation debug="false" targetFramework="4.5" />
<httpRuntime targetFramework="4.5" />
<add name ="MyName"/>




<%@ Page Language="C#" AutoEventWireup="true" CodeFile="LoginPage.aspx.cs" Inherits="LoginPage" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<form id="form1" runat="server">

<asp:Literal ID="LiteralTheme" runat="server"></asp:Literal>

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class LoginPage : System.Web.UI.Page
protected void Page_Load(object sender, EventArgs e)
Profile.MyName = "hello world";

this.LiteralTheme.Text = Profile.MyName;

displays the following error when i try to open

it doesnt matter if i add debug = true or i add authentification with form then pass on form url.NOTHING SEEMS TO WORK :(


also the "fixed video 4" in the errata seems to be the same as the old one.


Last edited by Squackles; December 19th, 2012 at 08:07 AM..

Similar Threads
Thread Thread Starter Forum Replies Last Post
Force SQL Server 2012 to Use Visual Studio 2012 Titera BOOK: Professional Microsoft SQL Server 2012 Administration 1 May 6th, 2013 02:22 PM
Is it ok to use Visual Studio 2012 Professional with this book westonmulti BOOK: Beginning ASP.NET 4 : in C# and VB 3 October 19th, 2012 03:05 PM
Chapter 7 - Visual Studio Library gfranco BOOK: Beginning Microsoft Visual Basic 2010 1 July 5th, 2011 12:37 AM
Chapter 7 - Visual Studio Library gfranco BOOK: Beginning Microsoft Visual Basic 2010 0 April 13th, 2011 10:47 AM
Visual studio 2005(32 bit) code not work in visual studio 2008 on windows server 2008 gr8.jain Visual Basic 2008 Essentials 1 August 31st, 2009 10:07 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.