Reputation: 218
I have a Page in my asp.net website which I called FAQUSER.aspx this page works fine on my local server,but after I publish that project and upload it on the production server it gives me the following error, The File 'FAQUSER.aspx.cs' doesnot exist
That's the only page of all the pages in my website that is giving this error,
So does anyone have any idea what could be the solution to that problem ??
Best Regards.
Upvotes: 0
Views: 123
Reputation: 6416
If you are using XCopy publishing you should upload .cs files to the production server with .aspx files.
Upvotes: 0
Reputation: 29401
Make sure you upload the compiled binary/binaries for the project as well as the aspx files.
Upvotes: 1