Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.1
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 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 August 31st, 2004, 10:43 PM
Registered User
 
Join Date: Aug 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default .aspx control and load questions

Please take a look at my newly created site. Keep in mind its in test mode. Follow the here link to the .aspx page. If you click the continue button it should open up a page named Instructions.aspx. I'm getting the idea the code behind the page isn't running. If this is the problem how can I fix this, and if not, again how can I fix it?

http://www17.Brinkster.com/nflweekly.com

Below is an error I fixed, but not sure if I fixed it properly. This is the only runtime error that occurred, I've made no changes to the working files except for the change below:
--------------------------
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 'EMarriage.frmStart'.

Line 1: <%@ Page Language="vb" AutoEventWireup="false" Codebehind="Start.aspx.vb" Inherits="EMarriage.frmStart"%>
---------------------------
I deleted 'Inherits="EMarriage.frmStart"' and the page loads, but the code behind doesn't run. Any ideas?

Thanks for your time and patience,
- Jeff -

 
Old September 3rd, 2004, 11:42 AM
Authorized User
 
Join Date: Sep 2004
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Default

you have to make sure...if the namespace and class name where page_load resides is same as EMArriage.frmStart....

good luck

 
Old September 3rd, 2004, 04:03 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hey,

It has to be there, to use the code behind. It has to be the:

<Project Name>.<Any namespaces the code is in; omit if none>.<class name of code-behindpage>

For example, you have the project EMarriage, you have instructions.aspx

You have a class behind code of:

Namespace Test
Public Class MyFile

End Class
End Namespace

It would be Emarriage.Test.MyFile. If Test namespace was omitted, it would be Emarriage.MyFile.

I think your problem may be brinkster doesn't support code-behind files. You need to find if it allows you to use them.

Brian
 
Old September 6th, 2004, 10:21 PM
Registered User
 
Join Date: Aug 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for your posts guys. Brian you hit the nail on the head. Brinkster doesn't support code behind. Time to find another asp.net host.... ugh....
Thanks again,
- JT -

 
Old September 7th, 2004, 07:14 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

I use www.discountasp.net

$10/month

 
Old September 7th, 2004, 08:57 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Is this a personal site? If so, why not host it from your own domain?

J
 
Old September 8th, 2004, 02:25 AM
Friend of Wrox
 
Join Date: May 2003
Posts: 229
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Also try www.1planhost.com

Charul Shukla
 
Old September 8th, 2004, 04:25 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Try www.webhost4life.com too
 
Old September 9th, 2004, 11:00 AM
Registered User
 
Join Date: Aug 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the additional information and suggestions everyone. I have yet to choose a host and to answer kats question, yes this is a personal site. Its simple now, but I plan for it to grow into some place my friends and family can use for whatever. I may look into hosting it myself anyway. I do believe all I have to do is open up a port on my router to allow the connection. I appreciate all of your help, and please feel free to add any additional information regarding anything mentioned.
Thanks
- JT -

 
Old September 10th, 2004, 08:15 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Correct, all you have to do is open up that port. Plus, with domain names costing as little as $9.95 per year, to me it makes more sense. $10/year vs. $10/month is better for me. You can use a free Dynamic Dns service like ZoneEdit.com to constantly keep your IP address up to date.

You also have the added bonus of not having to worry about compatability issues with the hosts server, can host multiple sites from your home, etc...

J





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to load images dynamically on image control jazzydonald ASP.NET 2.0 Basics 10 July 13th, 2016 05:25 AM
Master Page Control/Web.Sitemap Questions kwilliams ASP.NET 2.0 Professional 2 January 14th, 2007 09:32 PM
How to load image Edit control cyberrider VB How-To 1 November 4th, 2005 02:25 PM
My Custom Control Fails to Load scubaduba ASP.NET 1.0 and 1.1 Professional 0 February 16th, 2005 10:05 AM
Load page from ProfileEdit.aspx dborcila ASP.NET 1.x and 2.0 Application Design 2 December 22nd, 2004 09:48 AM





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