Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > Visual Studio 2005
|
Visual Studio 2005 For discussing Visual Studio 2005. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2005 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 September 7th, 2007, 09:35 AM
qdd qdd is offline
Registered User
 
Join Date: Sep 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am debugging on the production server using Visual Studio 2005 Express Edition.

I have compiled the website on the production server. I was not able to find a \bin directory and if I remove the aspx.vb files, I receive an error message that the aspx.vb file cannot be found. Perhaps the build failed somehow?

Production vs. development appear to be rendering correctly. How would I check if the right version of ASP.NET is selected on the server application? Are other postbacks firing correctly?

What about if you create a very simple page with a couple different controls and see if some simple operations work so you can rule out a fundamental problem? - The simple page shows the same problem behavior.

 
Old September 7th, 2007, 09:59 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

As Peter said, and as I suggested in my message: are other postbacks firing?

What happens if you use IE on the server to look at the app on the development machine? Does that work?

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
 
Old September 7th, 2007, 12:46 PM
qdd qdd is offline
Registered User
 
Join Date: Sep 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar - yes, other postbacks are firing. The development version of the app is on the production server. I can't get the development version to open unless I open it through Visual Web Developer.

Bill

 
Old September 7th, 2007, 03:06 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I think I am out of ideas then. But I still think it's a browser thing, rather than a server thing because of what you said earlier:
Quote:
quote:As an experiment, I added a button control, "button1" with the exact same code - and it works, while the linkbutton does not:
These controls give you the following HTML:
Code:
<div>
  <a id="LinkButton1" href="javascript:__doPostBack('LinkButton1','')">LinkButton</a>
  <input type="submit" name="Button1" value="Button" id="Button1" />
</div>
The LinkButton requires JavaScript, while the Button ends up as a simple submit button that doesn't require JavaScript.

Might be worth investigating, although I cannot recommend anything on how to actually do that....

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
 
Old September 10th, 2007, 08:03 AM
qdd qdd is offline
Registered User
 
Join Date: Sep 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Imar, you were correct. I found the problem on my customer's server. He had set custom settings for Internet Explorer Security: Scripting > Active scripting > Disable, so any controls using Javascript failed. I simply changed this to "Enable" and it now works fine. Thanks Peter, Imar and Doug for your help.

Bill

 
Old September 10th, 2007, 01:29 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

It just had to be something like that.... Glad it's working now....

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





Similar Threads
Thread Thread Starter Forum Replies Last Post
Reference not found on published application snufse .NET Framework 2.0 7 February 22nd, 2008 06:15 PM
Link to a Website jmss66 VB How-To 3 June 15th, 2006 10:01 AM
When does "beginning PHP 5" is about to published? some1 Wrox Book Feedback 2 July 26th, 2005 03:17 PM
Radio buttons - link to URL larry HTML Code Clinic 2 November 20th, 2003 08:02 PM





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