Solved

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

Posted on 2004-04-26
7
235 Views
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?

Thanks,

Olivier
0
Comment
Question by:olivierverdin
  • 3
  • 2
7 Comments
 
LVL 22

Expert Comment

by:cookre
ID: 10923409
0
 

Author Comment

by:olivierverdin
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,

Olivier

0
 
LVL 22

Expert Comment

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

http://support.microsoft.com/default.aspx?scid=kb%3BEN-US%3B313105
0
 

Author Comment

by:olivierverdin
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,

Olivier
0
 
LVL 22

Accepted Solution

by:
cookre earned 125 total points
ID: 10954904
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
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…

790 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