Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional 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 January 15th, 2007, 03:11 PM
Registered User
 
Join Date: Jan 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to highpointbleed
Default

Yes, and the other types of buttons work. I also question the set up of IIS (one of my many shortcomings - I always seem to come into places where it is already set up). On the old box, when I debug, it starts up with the actual address... on the new box, it goes to localhost...


smell that - that's tension...
 
Old January 15th, 2007, 03:52 PM
Registered User
 
Join Date: Jan 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

What do you mean by the don't post back? Do you mean you click them and nothing is happening or do you mean that the form gets sent to the server but no ASP.NET code is executed?
 
Old January 15th, 2007, 04:07 PM
Registered User
 
Join Date: Jan 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to highpointbleed
Default

nothing happens. I click them, no activity whatsoever. I have a bookmark for debbugging set on the click event handler for that button and nothing happens

smell that - that's tension...
 
Old January 15th, 2007, 04:20 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Are you sure the version of the aspnet_client files matches those of the framework on the server?

I had the exact same behavior a while ago, and it turned out that the aspnet_client files where from a .NET 1 version without a service pack, and the actual site was running with a service pack (or vice versa, can't recall).

To be sure, run the aspnet_regiis -c on the server, or grab a copy of the client files from the %windir%\Microsoft.NET\Framework\v1.1.4322\ASP.NET ClientFiles folder on the *server*

HtH,

Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
 
Old January 15th, 2007, 04:24 PM
Registered User
 
Join Date: Jan 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by highpointbleed
 nothing happens. I click them, no activity whatsoever. I have a bookmark for debbugging set on the click event handler for that button and nothing happens


Than I would say there is something wrong with the JavaScript generated by rendering part of ASP.NET. Which would mean there is nothing wrong with your code. There's something wrong with the configuration.

Did you try a different browser?
 
Old January 15th, 2007, 05:10 PM
Registered User
 
Join Date: Jan 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to highpointbleed
Default

iMAR,

I went out to the Microsoft folder, grabbed those files, an placed them in the directory, replacing some out of date ones (I guess) and VIOLA, the buttons worked.

I guess the files on my old box work with the older version of IIS as they are being served up... I don't know, I just know that they work.

Thanks, a million times, thanks,

Doug

smell that - that's tension...
 
Old January 15th, 2007, 05:15 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

You're welcome.

You may want to use Windows Update on both machines, as I think one of them is missing a Service Pack for .NET 1.x. Installing the same service pack on both machines should solve the problem, and allows you to Xcopy the client files in the future.

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.





Similar Threads
Thread Thread Starter Forum Replies Last Post
block browser back button in asp.net URGENT naeem_ul_hussan Classic ASP Professional 2 August 3rd, 2007 11:40 AM
onChange posting back to same page? busher Classic ASP Basics 1 March 1st, 2005 06:20 PM
posting back javascript data badgolfer ASP.NET 1.0 and 1.1 Basics 2 September 26th, 2004 09:05 PM
history.back or hitting the back button won't work lian_a Classic ASP Basics 4 July 29th, 2004 12:14 AM





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