Wrox Programmer Forums
|
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics 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 February 25th, 2009, 03:50 PM
Authorized User
 
Join Date: Jan 2009
Posts: 23
Thanks: 10
Thanked 0 Times in 0 Posts
Default Version issues

I am building in VWD EE. I think I am building in version 2.0, but a couple of days ago I think it asked me did I want to convert to 3.5, and I said yes, not really thinking about it.

Since then I have not been able to add new pages to my site. I thought it was to do with the master page but I have googled the error message and it seems to be to do with the version. Any suggestions as to how I can resolve this issue?

(And, on a similar but related issue; I tried to upload to a domain and get the same error message)

Code:
 
 
Server Error in '/' Application. 

Parser Error 

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. 

Parser Error Message: Could not load type 'ApplicationName.NewProfile'.

Source Error: 

Line 1:  <%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Navigation.Master" CodeBehind="NewProfile.aspx.vb" Inherits="ApplicationName.NewProfile" %>Line 2:  <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">Line 3:  </asp:Content>
Source File: /NewProfile.aspx    Line: 1 


Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053 
 
Old February 25th, 2009, 05:04 PM
Lee Dumond's Avatar
Wrox Author
 
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

Just a practical question here: have you tried converting it back to 2.0?
__________________
Visit my blog at http://leedumond.com
Follow me on Twitter: http://twitter.com/LeeDumond

Code:
if (this.PostHelpedYou)
{
   ClickThanksButton(); 
}
 
Old February 27th, 2009, 04:12 AM
Authorized User
 
Join Date: Jan 2009
Posts: 23
Thanks: 10
Thanked 0 Times in 0 Posts
Default

Dumb question, I'm sure, but could you tell me how to convert it back to version 2.0.
 
Old March 2nd, 2009, 03:00 PM
Lee Dumond's Avatar
Wrox Author
 
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

  1. Right click on website name.
  2. Click Property Pages (last option in list)
  3. Click Build option in left side menu
  4. Under Target Framework, select .NET Framework 2.0 in the drop down.
__________________
Visit my blog at http://leedumond.com
Follow me on Twitter: http://twitter.com/LeeDumond

Code:
if (this.PostHelpedYou)
{
   ClickThanksButton(); 
}
The Following User Says Thank You to Lee Dumond For This Useful Post:
Spider (March 3rd, 2009)





Similar Threads
Thread Thread Starter Forum Replies Last Post
connection string issues, web.config file issues kaliaparijat ASP.NET 2.0 Professional 1 June 12th, 2008 08:07 AM
Oh! Another Version mike_remember ASP.NET 3.5 Basics 3 September 18th, 2007 09:51 AM
Passwords from version 1 to version 2 Maxxim BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 February 6th, 2007 06:49 PM
Which version UNCLEBENZ Visual C++ 1 November 2nd, 2005 05:39 PM





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