CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2008 Tags:
Item Type: NewsGroup Date Entered: 4/3/2008 2:56:19 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 8 Views: 132 Favorited: 0 Favorite
9 Items, 1 Pages 1 |< << Go >> >|
pbz
Asp.Net User
Generation of designer file failed4/3/2008 2:56:19 PM

0

There's only one thing I can say: aaaaaaaaaaaaaa (long scream). VS2008 is driving me up the wall. I get these IDE errors quite frequently; and a friend of mine even more often. It usually happens when either we copy some block of aspx code from some other place, or when we just created a new user control and manually registering it in the aspx, or just plain randomly without a rhyme or reason. Sometimes closing the aspx file and reopening it fixes the problem, sometimes we have to actually comment any code behind code then reopen the file and that does it. Other times, the majority, none of these work and we have to restart VS. In a few cases even a restart won't fix it and then we have to be creative -- basically try random weird things. In all these cases the aspx is valid and if we actually run the application it works fine, it's the IDE that has a problem generating the designer file. Is this a known problem or am I the only one, is there a bug that we can vote on? I've experienced similar issues in VS2005, but in VS2008 the number of these has grown exponentially :(

Thanks.

grundt
Asp.Net User
Re: Generation of designer file failed4/3/2008 9:06:55 PM

0

The good news ... you're not alone ... here are some related posts:

 

The bad news ... there is no solution or work-around, that I'm aware of.

 

pbz
Asp.Net User
Re: Generation of designer file failed4/3/2008 11:11:08 PM

0

Well, thanks for the good news :)

My impression is that there's something that doesn't get cleaned up properly in the IDE because once you start seeing these errors is all downhill, but not always -- you may as well restart. The worst part is that you lose the trust. Is it me or the IDE? Here starts another witch hunt which completely distracts from what you were doing. Something that should have taken a second or two ends up taking minutes.

I really wish they would decouple the designer from the aspx editing. From some of the links you posted it gives me the impression that is somewhat tied to the designer; which I believe is true since sometimes switching to design view fixes the problem. There's no UI feedback telling me that the designer or something else is working. It should be a blocking operation; I'd prefer something like "please wait, updating the designer file" rather than me trying to guess when it's doing it and waiting or it may break. Arrr, so fragile; this needs to be fixed somehow.

Thanks.

grundt
Asp.Net User
Re: Generation of designer file failed4/4/2008 12:27:22 AM

0

I haven't seen any other mention of the differences in the header comment, Runtime versions ( see my first post here: controls not added to designer.cs ).

Could you please comment as to whether this is your experience as well. 

pbz
Asp.Net User
Re: Generation of designer file failed4/4/2008 2:08:42 PM

0

1. Yes, I always use WebApplication
2. Yes, I only switch to design view when I need to wire up an event handler, so most of the time I never see the designer
3. Happens in both aspx and ascx
4. Never noticed the version number, next time it happens I'll make sure to pay attention to the version number and let you know.

Mikhail Arkhipo
Asp.Net User
Re: Generation of designer file failed4/4/2008 3:46:36 PM

0

ASPX editing is not coupled to HTML designer. Name *.designer.cs file name somewhat misleading, it actually means "design-time generated code" it really has nothing to do with Design view. Now, if switching to and from Design view helps, perhaps IDE is not getting idle time, some hints here: http://blogs.msdn.com/mikhailarkhipov/archive/2008/04/02/wireless-mouse-html-editor-and-idle-time-processing.aspx


Thanks

------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.
grundt
Asp.Net User
Re: Generation of designer file failed4/4/2008 4:26:31 PM

0

I personally never use design view ... and I've heard the suggestion before that it might be related to lack of idle time ... but I highly doubt that that's the problem in my case.

When I've encountered the problem, it's been specific to an instance of an aspx/ascx file.  In those cases, the designer file never gets updated, whereas the designer file in other instances seems to continue to still work fine.

One thing I've noticed, which I pointed out in this post (controls not added to designer.cs), was that the header comment, in the designer file, shows different runtime versions between those where it's working and those where it's broken.

Something else that might be relevant is that this is an old project, created originally in VS2003, so it's using the WebApplication extension. 

pbz
Asp.Net User
Re: Generation of designer file failed4/5/2008 1:33:20 PM

0

Mikhail,

The coupling I was talking about it's not necessarily a hard coupling. I know that until you switch to design mode the "designer" will not even load, and the source view is fine without the designer being loaded. What I meant is that in some cases these errors will not go away until I switch to design mode, and hence the "coupling" I was talking about.

The idle time you mentioned may have something to do with this, I don't know, but what's interesting is that usually once I start getting these errors they won't stop. It's almost as if something gets stuck in the internals of the IDE and me waiting on it to finish doesn't seem to fix it.

Are you aware of a bug report on this? I couldn't find an existing report on this problem and I rather not create a duplicate; or if you guys already work on this I rather just wait.

I'm using Windows 2003, not Vista, although I have a wireless mouse is not a Microsoft wireless mouse, and the problems Rick was talking about are in the designer which I only use to wire up event handlers. 

Thank you.

pbz
Asp.Net User
Re: Generation of designer file failed4/8/2008 10:15:48 PM

0

grundt:

I haven't seen any other mention of the differences in the header comment, Runtime versions ( see my first post here: controls not added to designer.cs ).

Could you please comment as to whether this is your experience as well. 

The last few times I got the error the version number was always 2.0.50727.1433 for me.

9 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Learning Java Authors: Patrick Niemeyer, Jonathan Knudsen, Pages: 954, Published: 2005
Data processing technology and economics Authors: Montgomery Phister, Pages: 720, Published: 1979
ISTFA '98: proceedings of the 24th International Symposium for Testing and Failure Analysis : 15-19 November 1998, Hyatt Regency DFW, Dallas, Texas Authors: ASM International, ASM, Pages: 490, Published: 1998
The art of interactive design: a euphonious and illuminating guide to building successful software Authors: Chris Crawford, Pages: 385, Published: 2002

Web:
Generation of designer file failed: Unable to load one or more of ... Generation of designer file failed: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more ...
Generation of Designer File Failed: Unknown Server Tag Generation of Designer File Failed: Unknown Server Tag. I was doing some experimentation with custom web server controls in ASP.NET 2.0 so I created a quick ...
Ran Davidovitz: Understanding "Generation of designer file failed ... "Generation of designer file failed: Exception has been thrown by the target of an invocation." Once I could see the log file, it pointed me in the right ...
Generation of designer file failed | Fredrik Haglund's blog The error message “Generation of designer file failed: Unknown server tag ‘ EPiServer:Property'” in Visual Studio can really drive me mad. ...
Generation of designer file failed: Unknown server tag 'asp ... Warning 2 Generation of designer file failed: Unknown server tag 'ajaxToolkit: Accordion'. My customer control does not have a web.config. ...

Generation of designer file failed - ng.asp-net-forum ... Generation of designer file failed, > ROOT > NEWSGROUP > Asp.Net Forum > visual_studio.vs_2005_web_application_projects, Date: 11/27/2007 ...
Warning: Generation of designer file failed: Inherits attribute ... Warning: Generation of designer file failed: Inherits attribute not found., > ROOT > NEWSGROUP > Asp.Net Forum ...
Generation of designer file failed - ng.asp-net-forum ... Generation of designer file failed, > ROOT > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2008, Date: 4/3/2008 2:56:19 PM, Replies: 8, ...
Generation of designer file failed: The path is not of a legal ... Generation of designer file failed: The path is not of a legal form., > ROOT > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005, Date: 10/4/2007 ...
Error Generating Designer File - ng.asp-net-forum ... Warning 1 Generation of designer file failed: Unknown server tag 'bcn:ItemPicker '. F:\LocalProjWeb\Boron\Test01\WizardTest01.aspx 39 0 ...

Videos:
Zeitgeist 2 : Addendum - Subtitles English / French Zeitgeist: Addendum, by Peter Joseph 2008 English Subtitles ! French See ya later on thezeitgeistmovement.com You can Download Srt file ...
Zeitgeist 2 : Addendum - Subtitles English / French Zeitgeist: Addendum, by Peter Joseph 2008 English Subtitles ! French See ya later on thezeitgeistmovement.com You can Download Srt file ...
Zeitgeist 2 : Addendum - Subtitles English / French Zeitgeist: Addendum, by Peter Joseph 2008 English Subtitles ! French See ya later on thezeitgeistmovement.com You can Download Srt file ...
Zeitgeist 2 : Addendum - Subtitles English / French Zeitgeist: Addendum, by Peter Joseph 2008 English Subtitles ! French See ya later on thezeitgeistmovement.com You can Download Srt file ...
Zeitgeist 2 : Addendum - Subtitles English / French Zeitgeist: Addendum, by Peter Joseph 2008 English Subtitles ! French See ya later on thezeitgeistmovement.com You can Download Srt file ...






object reference not set to an instance of an object

vs developer 2008 ee bug? cannot display aspx in design mode and split mode

asp.net intellisense not working in vs2008

layout menu is not available .[in vs2008]

website from 2005 to web application in 2008

linq. remove. vs 2008 final version

intellisense in vs 2008

vs 2008 freezes on website open (not the same as other post)

integrating visual studio 2008 / .net 3.5 with paypal

hxmerge error at the end of the installation

debugging classic asp in vs2008?

new features for visual studio 2008 and .net framework 3.0 &3.5

connect to remote database

orcas inserting system.web.extensions at top of page.

asp.net version issue

publishing website question

oracle linq provider

difference between 3.0 and 3.5

choose items crashing visual studio 2008

giant solution with lot of projects or 2008

start debugging page!!!

reportservices

items showing up as errors after transfer to server

vs 2008 designview

web control library

include files in the .aspx or .vb portion of the .net code

error when compiling web service that was upgraded from 2.0 to 3.5

vs2008 does not generate licenses.licx automatically for websites

switch between design and source when having third party controls (ie. telerik) corrupts the aspx

question on javascript debuggin.

   
  Privacy | Contact Us
All Times Are GMT