Smoerble
asked on
.aspx runs on localhost but not on real server?
hi all,
following problem:
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='MachineTo Applicatio n' 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.multiLanguageEditVa riable'."
in line:
"<%@ Page language="c#" Codebehind="multiLanguageE ditVariabl e.aspx.cs" AutoEventWireup="false" Inherits="test1.multiLangu ageEditVar iable" %>"
But both files files exist (apsx and aspx.cs) and a apsx.resx ios beeing generated.
The problem:
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
following problem:
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='MachineTo
Ok, so I deleted "Web.config", then I get the following error:
" Parser Error Message: Could not load type 'test1.multiLanguageEditVa
in line:
"<%@ Page language="c#" Codebehind="multiLanguageE
But both files files exist (apsx and aspx.cs) and a apsx.resx ios beeing generated.
The problem:
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
ASKER
As I said:
I cannot do anything like this on the server, I only have FTP access.
I already have some working *.aspx scripts there, but I created them without VisualStudio.
I cannot do anything like this on the server, I only have FTP access.
I already have some working *.aspx scripts there, but I created them without VisualStudio.
where is your bin folder located? It can be just anywhere
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thx for the copy paste, that helped.
the dll was in test2/bin, not in wwwroot/bin ;)
Points granted for the copyPaster ;)
the dll was in test2/bin, not in wwwroot/bin ;)
Points granted for the copyPaster ;)
:)
If not check the path!