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
"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
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
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
http://support.microsoft.com/default.aspx?scid=kb%3BEN-US%3B313105
ASKER
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.wilsondotnet.com/Code/?path=Demos&file=StyleSheet.aspx.cs
Many others:
http://www.livingaddress.com/docnet/sysdoc_codebehind.asp