<div mce_keep="true">I have used the wizard against the Northwind database on my local dev box and I noticed it takes about 10 seconds to make a single row editable - I have 2 monitors setup and there is a large nunber of anonymous code items appearing
- Is it normal for the code to take a fair bit of time?</div>
<div mce_keep="true">When deleting a row I get the following error:-
Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Could not find a row that matches the given keys in the original values stored in ViewState. Ensure that the 'keys' dictionary contains unique key values that correspond
to a row returned from the previous Select operation.</div>
<div mce_keep="true">The cpu usage for devenv.exe goes to 50% and the memory usage rockets - the page is also struggling as it becomes quite slow and almost unuseable - im paging through a table and trying to delete a row - Browser ends up hanging.
There is an issue with the AJAX update panel for pages that have a lot of view state. What happens if you set EnablePartialRendering="false" in your site.master?
I see the same thing even when I set EnablePartialRendering="false" in site.master. I am guessing that just a few of us are seeing this, because it makes the site unusable and nobody is saying anything.
I think Gregor is right, it seems that part of the problem its the anonymous code items that appers on Visual Studio while the site is running. I select the Costumers page and just moving the mouse over the grid sends the cpu usage up to 50% (I am guessing
thats 100% for one of the CPUs of my AMD Athlon). Mmmmm, I also have 2 monitors...
If I close the solution explorer on VS while running the site, its a little bit faster, but still sends the cpu to 50% on the Visual Studio process.
Can you please explain what you mean by "anonymous code items"?
Also, to repro this, you just use the wizard to create the custom pages for the Customers table? Are there any other steps/customization that you are doing that we should be aware of to reproduce this problem?
Thanks,
Leonid
This posting is provided "AS IS" with no warranties, and confers no rights.
I have 2 monitors so when I run the webpage I can see within the solution under Script Documents (one the project is running) that there are a bnumber of lines that just say anonymous code items.
Yeah I just added Customers table from northwind and therefore no customisation.
gsuttie2002
Contributor
2759 Points
655 Posts
Dynamic Data March Update findings (used the wizard)
Apr 11, 2008 10:33 AM|LINK
Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Could not find a row that matches the given keys in the original values stored in ViewState. Ensure that the 'keys' dictionary contains unique key values that correspond to a row returned from the previous Select operation.</div>
Anyone else seeing this?</div>
MCSD, MCAD, MCSD.Net
davidebb
Contributor
7006 Points
1366 Posts
Microsoft
Re: Dynamic Data March Update findings (used the wizard)
Apr 11, 2008 06:08 PM|LINK
There is an issue with the AJAX update panel for pages that have a lot of view state. What happens if you set EnablePartialRendering="false" in your site.master?
thanks,
David
jesusgarza
Member
6 Points
3 Posts
Re: Dynamic Data March Update findings (used the wizard)
Apr 15, 2008 05:45 PM|LINK
I see the same thing even when I set EnablePartialRendering="false" in site.master. I am guessing that just a few of us are seeing this, because it makes the site unusable and nobody is saying anything.
I think Gregor is right, it seems that part of the problem its the anonymous code items that appers on Visual Studio while the site is running. I select the Costumers page and just moving the mouse over the grid sends the cpu usage up to 50% (I am guessing thats 100% for one of the CPUs of my AMD Athlon). Mmmmm, I also have 2 monitors...
If I close the solution explorer on VS while running the site, its a little bit faster, but still sends the cpu to 50% on the Visual Studio process.
jesusgarza
Member
6 Points
3 Posts
Re: Dynamic Data March Update findings (used the wizard)
Apr 15, 2008 06:01 PM|LINK
I forgot, I see this on CustomPages only.
Leonid Tsybe...
Participant
1145 Points
226 Posts
Microsoft
Re: Dynamic Data March Update findings (used the wizard)
Apr 15, 2008 07:56 PM|LINK
Can you please explain what you mean by "anonymous code items"?
Also, to repro this, you just use the wizard to create the custom pages for the Customers table? Are there any other steps/customization that you are doing that we should be aware of to reproduce this problem?
Leonid
This posting is provided "AS IS" with no warranties, and confers no rights.
gsuttie2002
Contributor
2759 Points
655 Posts
Re: Dynamic Data March Update findings (used the wizard)
Apr 22, 2008 01:18 PM|LINK
Hi There
I have 2 monitors so when I run the webpage I can see within the solution under Script Documents (one the project is running) that there are a bnumber of lines that just say anonymous code items.
Yeah I just added Customers table from northwind and therefore no customisation.
Thanks
Gregor
MCSD, MCAD, MCSD.Net