Counterfeit Posted January 24, 2004 Posted January 24, 2004 Hi Guys, when I create a new ASP.NET Project, VS copy all Files to the IIS Folder but following error comes: The class "WebForm1.aspx.cs" specified as the codebehind for "WebForm1.aspx" could not be loaded. Make sure that the codebehind attribute in the page or control directive properly references an existing code behind file. Hope you can help me, all thinks work but not this :( He creates me WebForm1.aspx but not WebForm1.aspx.cs. :mad: Quote
Moderators Robby Posted January 25, 2004 Moderators Posted January 25, 2004 You said "when I create a new ASP.NET Project, VS copy all Files to the IIS Folder" I don't understand why does it Copy? Have you tried to create a new project and point directly to the IIS folder? Quote Visit...Bassic Software
iebidan Posted January 26, 2004 Posted January 26, 2004 That's not a problem, when you create a new Web Project VS creates it in the IIS and saves a local copy of it in C:\Documents and Settings\<user logged in>\VSWebCache\<server name>\<project name>\<page name>.aspx When I started using .NET I tried to keep the project on my computer, but there are no options for it, so if you're working on a remote server this is the place to find your project Quote Fat kids are harder to kidnap
Moderators Robby Posted January 26, 2004 Moderators Posted January 26, 2004 Ahhhh, now I know what he ment, thanks iebidan Quote Visit...Bassic Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.