Solved

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

Posted on 2004-04-26
7
232 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

A short article about a problem I had getting the GPS LocationListener working.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …

821 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