Hi Patrick,
Thanks very much for your feedback.
I have inserted a large number of rows and I have reproduced out your
issue, although is not the 13285 rows.
I will spend some more time on this issue. Thanks for your understanding.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Have you tried turning off viewstate? If viewstate is enabled, there is a
large amount of extraneous data sent into Excel, and it can fail.
> Hi Jeffrey,
>
> thank you for your answer.
> The main problem is, that there is no error. The IE as I already wrote has 170 Megs of memory.
> To export the grid I use a Export - Button. I put a breakpoint at in the 'first line' override protected void OnInit(EventArgs e). It is never called
when the grid has this size. When I have abot 200 rows everything just
works fine.
> I performed several tests with changing Row-Cont.
> At 13.285 rows the Export-Click leads to the described 'error'. 13.284 works fine.
>
> Greetings
> Patrick
DOKOM - 13 May 2004 08:11 GMT
Hi Rick
thanks for your hint, but I turn off the viewstate in line 3 of my function: 'this.EnableViewState = false;' before I send the stream to Excel
Regard
Patrick
"Jeffrey Tan[MSFT]" - 17 May 2004 03:40 GMT
Hi Patrick,
I still can not find any known issue about this problem. I will consult
internally for this issue.
Please wait for a little more time. Thanks for your understanding.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
DOKOM - 17 May 2004 08:21 GMT
Hello Jeffrey, hello Yanhong
I'm still trying to fix the problem without succes yet
Please keep your investigations up
Thanks in advance for your help and regard
Patrick
Yan-Hong Huang[MSFT] - 18 May 2004 02:11 GMT
Hi Patrick,
Sure. I will contact our product group on it and update in the newsgroup as
soon as possible. Thanks very much.
Best regards,
Yanhong Huang
Microsoft Community Support
Get Secure! ?C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
Yan-Hong Huang[MSFT] - 19 May 2004 09:46 GMT
Hi Patrick,
We have performed much research on it. Currently the behavior is somewhat
different on our side. It seems that when the dataset contains too much
data, those data can't be transferred to client side by response object.
The test that we have performed:
1) In button click handler, add code slice to save string info in server
side to see whether the string info can be got correctly from dataset. In
our test, it can be saved to a file.
2) Then we use response object to directly send the string to the client
side without involving Excel (remove mime tyep in the code). That is just a
table. However, it is also not shown. So it seems that when the string is
too large, it can't be sent to client side now.
We will perform more research to see whether it is caused by some
limitation. I suggest you also simply the table schema to see whether you
can get more rows under the test. Currently if we use array list to
transfer 60000 rows, it doesn't have any error.
For the time being, could you use the technology in that KB artilce as a
workaround? That is to say, automating excel in the client side to show the
data in Excel.
Thanks very much.
Best regards,
Yanhong Huang
Microsoft Community Support
Get Secure! ?C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
DOKOM - 24 May 2004 08:51 GMT
Hi again
I have tried the suggestions made by you
Unfortunately the button click handler is not called after filling my datagrid with that huge load of data
Therefore you're workaraound did not work on my site
As you suggested I have Excel set up to retrieve the data directly which works well, bur for future projects it would be helpful to know, why the Export fails. Maybe you could do some more research on that to help me on that question
Regard
Patrick
Yan-Hong Huang[MSFT] - 24 May 2004 09:59 GMT
Hi Patrick,
Sure. We are performing research on it with dev team. Thanks very much for your feedback.
Best regards,
Yanhong Huang
Microsoft Community Support
Get Secure! ?C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.