473,326 Members | 2,337 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,326 software developers and data experts.

VS Designer going crazy....


Hi,



Better and better.. Now I get this error when I want to add a form to my WINDOWS FORM project :



"The file could not be loaded into the Web Forms designer. Please correct the following error and then try loading it again:
The designer could not be shown for this file because none of the classes within it can be designed."



Does anybody have an idea for a solution to this problem ???????????????



Thanks,



Steph.
Nov 17 '05 #1
4 1067
A wrong installation?
What if you create a new project ( win app ) does it happen still?
if so reinstall VS :(

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Steph." <st***@nomail.com> wrote in message news:%2****************@tk2msftngp13.phx.gbl...

Hi,



Better and better.. Now I get this error when I want to add a form to my WINDOWS FORM project :



"The file could not be loaded into the Web Forms designer. Please correct the following error and then try loading it again:
The designer could not be shown for this file because none of the classes within it can be designed."



Does anybody have an idea for a solution to this problem ???????????????



Thanks,



Steph.
Nov 17 '05 #2
No it's my old 2003 installation. Works fine with other projects.

I was working in my project as usual... I needed a new form so I used the "Add New Item" Dialog, choosed Form, Named it "FRM_GridOptions", and then I got this error instead of the new form designer...

In the project's folder, only "FRM_GridOptions.cs" is created, no "resx" file.

After getting the error, if I try to open an exsisting form in this project, I get the same error screen instead of the form designer...

BUT, if I close "error screen" and delete the "new" (faulty) form from the project manager, I'm able again to open exsiting forms, but it is still impossible to add a new form (or control) using the "Add New Item" Dialog.
BUT, I can make a copy of an exsisting form, rename it work with it with no problems.

Adding a new "User control" also raise the same error...

If a create a brand new project : no problems, everything is working - other exsisting projects works fine also.
There must be something wrong in my current project... maybe in the solution file... but I can't see anything unusual...

Thanks for your interest,

Steph.
Nov 17 '05 #3

I've maybe a solution... but don't know if it's safe....

I've deleted the ".suo" file in the project directory, and now the Form designer seems to work fine ! I can add forms and work with them.

But I have no idea about what is this "PROJECT_NAME.SUO" file ?
Is an important file ? What's the purpose of this file ?
Thanks,

Steph.
Nov 17 '05 #4
Hi,
Another possible solution is create a new project and using "add existing item" go adding the your forms. It's a pain, but may be a solution
cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Steph." <st***@nomail.com> wrote in message news:uQ**************@TK2MSFTNGP15.phx.gbl...

I've maybe a solution... but don't know if it's safe....

I've deleted the ".suo" file in the project directory, and now the Form designer seems to work fine ! I can add forms and work with them.

But I have no idea about what is this "PROJECT_NAME.SUO" file ?
Is an important file ? What's the purpose of this file ?
Thanks,

Steph.
Nov 17 '05 #5

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

Similar topics

0
by: JackJian | last post by:
Hi guys, I have developed a MDI windows application with C# on my desktop box (1024*768), lately I load my code into my laptop to do the improvement, the resolution of the laptop is 1680*1050,...
0
by: tascien | last post by:
Hi, here is what is happening in vs.net. 1 - switch to the designer, and add a buch of controls or panels, so that the page needs to scroll... 2 - Scroll all the way down and probably select a...
4
by: dp | last post by:
After looking and looking, it appears that Access ADPs graphic query designer won't display: update customer set = . from customer, where customer. = .; It comes up with the "Query...
7
by: Martin Schulze | last post by:
Hello, i tried to compose myself a custom usercontrol which is derieved from System.Windows.Forms.UserControl. It contains 2 comboboxes and one textbox (which are also custom controls, but...
0
by: Frnak McKenney | last post by:
Environment: OS Name Microsoft Windows 2000 Professional Version 5.0.2195 Service Pack 4 Build 2195 Microsoft Visual C# .NET 2003 Microsoft Development Environment 2003 Version 7.1.3088...
2
by: Benny Raymond | last post by:
Hi, I'm working on an app that has to inherit Form and override WndProc for several different reasons. Anyway it performs some actions on the window when WM_CREATE is called. The big problem...
1
by: TXIce | last post by:
Not sure if this is the right group...but I'm going to try here anyways. I have a problem that is driving me absolutely crazy. I'm starting a new ASP.Net web application and I'm trying to add an...
0
by: Bob | last post by:
I'm trying to get a combox in a datagridview to be displaying diffrent filtered data each time it lands on a row. I thought of adding the follwing code as a test. Later I would have verified that...
3
by: Crazy Cat | last post by:
Hi, I'm developing an application that is basically a VB.NET front end to a SQL Server Express 2005 database -- right now I'm using VB.NET 2005 Express until my MSDN subscription gets delivered...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.