Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old January 10th, 2007, 07:21 PM
Registered User
 
Join Date: Sep 2006
Location: Auckland, , New Zealand.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default New Install of ASP.Net Won't Display DataList

Hi,

I have recently installed asp.net v1.1.4322 on a Windows Server 2000 so I could place my new asp.net website on our server. I installed asp.net using aspnet_regiis -i.

The server is a production server and has several websites already on
it (before the install of asp.net).

The new .aspx pages from my new site do display, however my DataList
does not display when viewed from the production server. The DataList
will display OK from the development server, so I am sure it has something to does with the new install of asp.net.

I have tried uninstalling asp.net (aspnet_regiis -ua) and reinstalling (aspnet_regiis -i).

Any suggestion would be great as I don't know how to move forward with this.
  #2 (permalink)  
Old January 10th, 2007, 09:32 PM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

do you have a TRY CATCH surrounding the databind to the Datalist that might be surpressing an error?

-------------------------
I will only tell you how to do it, not do it for you.††
Unless, of course, you want to hire me to do work for you.

^^Thats my signature
  #3 (permalink)  
Old January 10th, 2007, 09:57 PM
Registered User
 
Join Date: Sep 2006
Location: Auckland, , New Zealand.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I removed my TRY CATCH block with no luck.

  #4 (permalink)  
Old January 10th, 2007, 11:47 PM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Have you inadvertently set the Datalist's visible property to false? Are you running 1.1 and 2.0 side by side?

-------------------------
I will only tell you how to do it, not do it for you.††
Unless, of course, you want to hire me to do work for you.

^^Thats my signature
  #5 (permalink)  
Old January 11th, 2007, 02:14 AM
Registered User
 
Join Date: Sep 2006
Location: Auckland, , New Zealand.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am running only 1.1 and have just installed it on there for the first time. I am trying to "update" the the server so it can handle .net apps.

I developed the website on the development server and the datalist works fine there.

I have even copied the same files from the new website located on the production server to a new website on the development server and the copied website works as expected on the development server. I am sure it is something on the production server.

I have uninstalled the Framework and reinstalled from a redistributable package then ran aspnet_regiis -i again but no change.

  #6 (permalink)  
Old January 12th, 2007, 05:21 AM
Authorized User
 
Join Date: Jul 2006
Location: DongYing, , China.
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to abeen
Default

May be miss the Event about DataList databind.

 ABeen
  Life is not fair,get used to it .
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
IF condition in ASP.NET DataList surendran ASP.NET 3.5 Basics 1 October 31st, 2008 02:44 PM
datalist display almotions ASP.NET 2.0 Basics 1 February 18th, 2008 03:19 AM
DataList ItemCommand event problem in ASP.NET page naidukap ASP.NET 1.0 and 1.1 Professional 0 December 26th, 2005 03:26 AM
DataList Is not showing Data using ASP.NET and C# kmazumdar ADO.NET 5 August 20th, 2004 11:18 AM
Datalist does not display data sanjeet ADO.NET 1 August 9th, 2003 12:26 AM



All times are GMT -4. The time now is 06:44 AM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.