CodeBehind problem in the creation of a project by the visual studio wizard

Posted on 2004-04-26
Last Modified: 2013-12-04
When I create a .Net web application in c#, visual studio creates some files and then pop up the following message:

"The class file "WebForm1.aspx.cs" specified as the code behind could not be uploaded. Make sure that the codebehind attribute in the page or control directive properly references an existing code behind file"

The file "WebForm1.aspx.cs" doesn't seem to exist.  If I create one, it doesn't work neither.

I tried also to re-install visual studio .net, I also tried to repair the installation.

Can you help me?


Question by:olivierverdin
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 22

Expert Comment

ID: 10923409

Author Comment

ID: 10941798
I am not looking to codebehind example.  I would like that Visual Studio .net is starting a project properly.  The wizard is not working for me.

Another way would be perhaps to create a project from scratch file per file.  How can I do this?

Thanks for your help,


LVL 22

Expert Comment

ID: 10944650
Oh, that's different.  I presume you've seen this, but just in case:

Author Comment

ID: 10952830
No, it doesn't help.

Can you explain me how to create a Web application from scratch, I mean without using the wizard of Visual Studio since it is not working for me.

Thanks for your help,

LVL 22

Accepted Solution

cookre earned 125 total points
ID: 10954904

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ejb stateless example 2 63
Bot application - advice 3 79
VLC command 34 78
File attachment in the SQL Database from application 10 41
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question