Link to home
Start Free TrialLog in
Avatar of olivierverdin
olivierverdin

asked on

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

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
Avatar of cookre
cookre
Flag of United States of America image

Avatar of olivierverdin
olivierverdin

ASKER

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

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
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
ASKER CERTIFIED SOLUTION
Avatar of cookre
cookre
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial