I work with VisualStudio.NET. I have some code here (several *.aspx + *.aspx.cs files) which works perfect ;) on localhost.
But if I copy the files to a different directory on localhost it does not work any more.
" Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS."
Ok, so I deleted "Web.config", then I get the following error:
" Parser Error Message: Could not load type 'test1.multiLanguageEditVariable'."
"<%@ Page language="c#" Codebehind="multiLanguageEditVariable.aspx.cs" AutoEventWireup="false" Inherits="test1.multiLanguageEditVariable" %>"
But both files files exist (apsx and aspx.cs) and a apsx.resx ios beeing generated.
I can only upload (FTP) files to the real server, I can't configure folders to become an application.
What can I do to get my files working online?
Thank you, regards