473,513 Members | 2,605 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

datagrid paging problem IIS windows 2003 server

Scenario:
ASP 2.0 on XP pro dev machine works fine.

Publishing to windows 2003 server worked OK until I included paging for a
datagrid.

On page load I cal sub binddata

Private Sub binddata()
Dim ds As DataSet = getMydataset()
mydatagrid.DataSource = ds
mydatagrid.DataBind()
end sub

on mydatagrid_PageIndexChanged:

mydatagrid_PageIndexChanged(...) Handles mydatagrid.PageIndexChanged
mydatagrid.CurrentPageIndex = e.NewPageIndex
binddata()
End Sub

What happens:
a) sometimes I get to move to another page OK but get error on navigating to
another
b) timeout errors

Any clue? If I give up datagrid paging everything works fine on server 2003.
On XP dev machine no problem. Both access same SQL server 2000 database.

Best regards,
Manuel Alves
Apr 4 '06 #1
4 1184
Manuel,

I've noticed strange behaviour on machines that don't have all the updates
installed on them. Are all the updates installed on the machine your are
pulling the site up in?

Regards,

--
S. Justin Gengo
Web Developer / Programmer

Free code library:
http://www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Manuel Alves" <mj**@newsgroups.nospam> wrote in message
news:uZ**************@TK2MSFTNGP14.phx.gbl...
Scenario:
ASP 2.0 on XP pro dev machine works fine.

Publishing to windows 2003 server worked OK until I included paging for a
datagrid.

On page load I cal sub binddata

Private Sub binddata()
Dim ds As DataSet = getMydataset()
mydatagrid.DataSource = ds
mydatagrid.DataBind()
end sub

on mydatagrid_PageIndexChanged:

mydatagrid_PageIndexChanged(...) Handles mydatagrid.PageIndexChanged
mydatagrid.CurrentPageIndex = e.NewPageIndex
binddata()
End Sub

What happens:
a) sometimes I get to move to another page OK but get error on navigating
to another
b) timeout errors

Any clue? If I give up datagrid paging everything works fine on server
2003. On XP dev machine no problem. Both access same SQL server 2000
database.

Best regards,
Manuel Alves

Apr 4 '06 #2
Hi Manuel,

I think you can have a look at Justin's suggestion. Also, based on the code
snippet you provded, it doesn't look like a code logic issue, likely a
environment specific problem. Have you tried running the same application
on other server machine(with paging turn on) to see whether the problem
remains?

Regards,

Steven Cheng
Microsoft Online Community Support
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Apr 5 '06 #3
Thank you. Moving to another server solved the problem.

The machine I was publishing to was a server 2003 upgraded from win srv
2000. It has all the fixes and framework 2.0 EXCEPT .NET Framework 1.0
Service Pack 3 that always failed to install no matter what I tried.

Once again, thanks to you both for your prompt and usefull response.

Best regards,
Manuel Alves
"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:gG**************@TK2MSFTNGXA01.phx.gbl...
Hi Manuel,

I think you can have a look at Justin's suggestion. Also, based on the
code
snippet you provded, it doesn't look like a code logic issue, likely a
environment specific problem. Have you tried running the same application
on other server machine(with paging turn on) to see whether the problem
remains?

Regards,

Steven Cheng
Microsoft Online Community Support
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Apr 5 '06 #4
You're welcome Manuel,

Glad to be of assistance.

Regards,

Steven Cheng
Microsoft Online Community Support
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Apr 5 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4774
by: MJB | last post by:
I have a windows application that returns 10s of thousands of rows to a DataGrid (for all intents and purposes you can assume that it's a DataGrid, I'm actually using the Infragistics UltraWinGrid...
2
2656
by: Carolyn Vo | last post by:
I have been looking and looking but can't seem to find out how to get the row selected in a web control datagrid (NOT a web form datagrid!!!), and how to highlight the selected row. I'm sure this...
2
2227
by: enak | last post by:
I can not get my datagrid to page. I have a datagrid that I can sort 2 of the columns. This works great. I added paging and when I display the dg it shows 5 pages. (I am showing page numbers at...
1
1856
by: Christopher Pragash | last post by:
Hello All I am having a pretty wired problem...I am writing a web part (SPS 2003) that uses a Datagrid. In the web part, I create the datagird assign some properties and add event handlers for...
5
1698
by: Patrick.O.Ige | last post by:
Hi Guys, I have a datagrid wit editing and updating. But after adding Paging IT WON'T PAGE!! It compiles well but when i click on the paging link it doesn't go to the next link.. When i remove...
6
1801
by: Shawn | last post by:
Hi. I already have a datagrid where I'm using paging. I have a stored procedure that fills a temp table with 200-500 rows and then sends back 10 records at the time. When I go to page 2 the SP...
5
2757
by: tshad | last post by:
Is there a way to carry data that I have already read from the datagrid from page to page? I am looking at my Datagrid that I page through and when the user says get the next page, I have to go...
2
2207
by: Cindy | last post by:
Hello. For some reason, I am able to "connect" to the Northwind database whenever I use the wizard; however, when I run the application, my datagrid does not display. Here are the exact steps I...
0
1646
by: webaccess | last post by:
Hi Friends ..!! I want to use datagrid/dataview control to data in tablular format,also I want to add paging and format the data of table column. Problem is data is coming from API Dom in as...
0
7260
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7160
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7384
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7099
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7525
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5685
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5086
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
1594
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
456
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.