473,379 Members | 1,201 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

designer file

TS
how do i regenerate the designer file, mine got out of sync and i deleted
it - thought it would create new one.
thanks
Jul 9 '07 #1
9 2250
TS
i was able to recover the file, but how do i get it back in sync????

"TS" <ma**********@nospam.nospamwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
how do i regenerate the designer file, mine got out of sync and i deleted
it - thought it would create new one.
thanks


Jul 9 '07 #2
Hi TS,

When you deleted the old designer files, try to right-click on your Web
Application Project and select "Convert to Web Application", this will help
you regenerate the designer files.

Please try this and let me know the result.

For more information, please see this:

http://webproject.scottgu.com/CSharp...igration2.aspx
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
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.

Jul 10 '07 #3
TS
doing this wont create new file.

if i restore my file, i'm still left with it being out of sync. how do i get
it in sync?
"Walter Wang [MSFT]" <wa****@online.microsoft.comwrote in message
news:Q6**************@TK2MSFTNGHUB02.phx.gbl...
Hi TS,

When you deleted the old designer files, try to right-click on your Web
Application Project and select "Convert to Web Application", this will
help
you regenerate the designer files.

Please try this and let me know the result.

For more information, please see this:

http://webproject.scottgu.com/CSharp...igration2.aspx
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
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.
>

Jul 10 '07 #4
Hi TS,

You're using Web Application Project, right? In my test, if I delete the
designer.cs file and use the "Convert To Web Application" function, the
designer.cs files will be re-generated.

You also mentioned that the file is also out of sync, I guess there might
be something wrong with the Web Application Project addin, if possible, I
suggest you to repair it by reinstalling it.

Also, I'm wondering if you could send me a reproducible project that has
this "out of sync" issue? I can test this on my side to see if it's related
to the project's settings.

By the way, you can also try to create a new simple Web Application Project
and test out by deleting the .designer.cs file and re-generate it.
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
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.

Jul 11 '07 #5
TS
yes web app project. i ended up geting it to work - when i pasted some html
into the html view, it then fired .designer to sync up.

thansk

"Walter Wang [MSFT]" <wa****@online.microsoft.comwrote in message
news:L$**************@TK2MSFTNGHUB02.phx.gbl...
Hi TS,

You're using Web Application Project, right? In my test, if I delete the
designer.cs file and use the "Convert To Web Application" function, the
designer.cs files will be re-generated.

You also mentioned that the file is also out of sync, I guess there might
be something wrong with the Web Application Project addin, if possible, I
suggest you to repair it by reinstalling it.

Also, I'm wondering if you could send me a reproducible project that has
this "out of sync" issue? I can test this on my side to see if it's
related
to the project's settings.

By the way, you can also try to create a new simple Web Application
Project
and test out by deleting the .designer.cs file and re-generate it.
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
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.
>

Jul 11 '07 #6
TS
i deleted it and tried to generate and i get:
generation of designer file failed: unable to load one or more of the
requested types. retrieve the loaderexceptions property for more
information.

on a side note, clicking F7 doesnt' switch to code when in .aspx page html
view.

My page inherites from a base page that inherits from page.

thanks

"Walter Wang [MSFT]" <wa****@online.microsoft.comwrote in message
news:L$**************@TK2MSFTNGHUB02.phx.gbl...
Hi TS,

You're using Web Application Project, right? In my test, if I delete the
designer.cs file and use the "Convert To Web Application" function, the
designer.cs files will be re-generated.

You also mentioned that the file is also out of sync, I guess there might
be something wrong with the Web Application Project addin, if possible, I
suggest you to repair it by reinstalling it.

Also, I'm wondering if you could send me a reproducible project that has
this "out of sync" issue? I can test this on my side to see if it's
related
to the project's settings.

By the way, you can also try to create a new simple Web Application
Project
and test out by deleting the .designer.cs file and re-generate it.
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
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.
>

Jul 11 '07 #7
Hi TS,

I tested it on my side by creating a class inheriting from Page and use
this class as the base class of the Web Form, but I still cannot reproduce
the issue. Have you tried testing with a simple web application project? I
suggest you create a copy of your project and remove some files at a time
to see if it still has the issue. When the project is small enough, maybe
you could send me a copy of it for further troubleshooting. Thank you for
the trouble.
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
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.

Jul 12 '07 #8
TS
i'm afraid i couldn't get it to reproduce.

I found a solution though - delete current designer file, close VS and
delete Bin and obj folders, then re-open and convert to web application and
it works.

"Walter Wang [MSFT]" <wa****@online.microsoft.comwrote in message
news:br****************@TK2MSFTNGHUB02.phx.gbl...
Hi TS,

I tested it on my side by creating a class inheriting from Page and use
this class as the base class of the Web Form, but I still cannot reproduce
the issue. Have you tried testing with a simple web application project? I
suggest you create a copy of your project and remove some files at a time
to see if it still has the issue. When the project is small enough, maybe
you could send me a copy of it for further troubleshooting. Thank you for
the trouble.
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
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.
>

Jul 13 '07 #9
Hi TS,

Thank you for sharing your experience here. Although the issue is not
reproducible, I believe someone else might find this post useful.
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
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.

Jul 16 '07 #10

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

Similar topics

2
by: crusell | last post by:
I'm having some problem with my Visual Studio.NET 2003 (.NET 1.1 SP1) install. I am unable to use the web forms designer with any aspx file whose form class inherits from a base class. I'm...
2
by: Bill nguyen | last post by:
Suddenly a new file was added to forms that I created in the last 2 days. I created and named a form frmDTDownload. In Solution Explorer, now I have frmDTNDownload.vb frmDTNDownload.Designer.vb...
3
by: Steven Nagy | last post by:
Hi all, ASP.NET : Framework 2.0 - C# A recent addition to my code generater will create GridView's and ObjectDataSource's in a control (ASCX). So the code gen creates an ascx, ascx.cs,...
13
by: active | last post by:
With VS2005 the windows form designer uses the files *.Designer.vb I hope no one at MS is reading this because I know it will upset them to know - I like the old way better! I've been looking...
2
by: dejavue82 | last post by:
Does anybody know how to resolve the following errors? They were caused by the designer.cs file that was auto-generated by the LINQ to SQL designer. I am using the March 2007 Orcas CTP version of...
7
by: Nathan Sokalski | last post by:
I am an ASP.NET developer, and Visual Studio 2005 seems to have stopped declaring the controls that I add in the *.designer.vb files, therefore forcing me to manually add them before I can use them...
8
by: TomC | last post by:
I want to bypass the Windows Form Designer in VS, to create a form programmatically. The elements of the form are to be arranged in a table, and I want the size of the table (and therefore the...
4
by: Goran Djuranovic | last post by:
Hi all, I am experiencing a strange thing happening with a "designer.vb" page. Controls I manually declare in this page are automatically deleted after I drop another control on a ".aspx" page. -...
2
by: Tony Johansson | last post by:
Hello! There is a file called Forms1.Designer.cs that is located below Form1.cs if we assume that we call the file that name. I wonder if it's allowed to change in the file Forms1.Designer.cs...
6
by: =?Utf-8?B?bWljaGFlbCBzb3JlbnM=?= | last post by:
Yesterday Visual Studio gave me a strange error both at compiletime and at designtime that had no obvious connection to anything I had changed recently. After some effort tracking down the problem...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.