Ask a Question related to ASP.NET Security, Design and Development.
-
Promeneur #1
Configuration error ?
I have a web APS application that works fine at home, with IIS. In IIS, the
application is an application, not a file folder.
When I copy the file on the Internet sever, my application does not work
anymore. I get the message:
***
Server Error in '/' Application.
----------------------------------------------------------------------------
----
Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.
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.
Source Error:
Line 23: "Forms", "Passport" et "None"
Line 24: -->
Line 25: <authentication mode="None" />
Line 26:
Line 27:
Is that really a security issue, or a more general problem? Someone said to
me it is because I just copied the file in the server directory, the server
does not know it is an application.
Maybe it is that, but I have no idea how to declare an application at my
provider server.
Er... I hope I am clear enough. Any help?
Thanks :)
Promeneur Guest
-
Impersonation Configuration Error
I have entered an identity element in my Web.Config file: <identity impersonate="true" userName="myDomain\myUserid" password="myPassword" /> ... -
Web Server Configuration Error
After installing the Cold Fusin on Windows XP I receive the following error when trying to configure the webserver: Could not connect to any... -
ASP.NET Configuration Error
I cannot configure web.config file properly on my system. Pls help me getting following error: Server Error in '/' Application.... -
Configuration Error
One possible answer can be found in http://support.microsoft.com/default.aspx?scid=kb%3ben-us%3b329065. Appears there may be other reasons as... -
Configuration Error, out of no where!
Isn't it always the case that as soon as you post, you solve the problem? Apparently, adding an extra "space" to a blank line in my web.config... -
Promeneur #2
Re: Configuration error ?
Bon, c'est réglé, il fallait des paramètres propres au provider.
Promeneur Guest
-
Me2 #3
Re: Configuration error ?
Are you using the Copy Project within the Project Menu in VS.NET?
If you specify to use Front Page in the WebAccess Method: portion of the
dialog box, the copy operation will create the Application IIS virtual
directory if it does not exist.
--
Ralph Page MBA, CMBA, MCDBA, MCSE, CCNA
-------------------------------------------------------------------------
"However beautiful the strategy, you should occasionally look at the
results."
-- Winston Churchill
-------------------------------------------------------------------------
"Promeneur" <promeneur@noos.fr> wrote in message
news:eisCoidjDHA.644@TK2MSFTNGP11.phx.gbl...the> I have a web APS application that works fine at home, with IIS. In IIS,--> application is an application, not a file folder.
>
>
>
> When I copy the file on the Internet sever, my application does not work
> anymore. I get the message:
>
> ***
>
> Server Error in '/' Application.
> --------------------------------------------------------------------------file> ----
>
> Configuration Error
> Description: An error occurred during the processing of a configurationerror> required to service this request. Please review the specific error details
> below and modify your configuration file appropriately.
>
> Parser Error Message: It is an error to use a section registered as
> allowDefinition='MachineToApplication' beyond application level. Thisapplication> can be caused by a virtual directory not being configured as anto> in IIS.
>
> Source Error:
>
>
> Line 23: "Forms", "Passport" et "None"
> Line 24: -->
> Line 25: <authentication mode="None" />
> Line 26:
> Line 27:
>
>
>
>
>
> Is that really a security issue, or a more general problem? Someone saidserver> me it is because I just copied the file in the server directory, the> does not know it is an application.
>
>
>
> Maybe it is that, but I have no idea how to declare an application at my
> provider server.
>
>
>
> Er... I hope I am clear enough. Any help?
>
>
>
> Thanks :)
>
>
Me2 Guest
-
Lauchlan M #4
Re: Configuration error ?
> When I copy the file on the Internet sever, my application does not work
Firtly go into IIS on the hosting solution and make sure your web> anymore. I get the message:
>
> ***
>
> Server Error in '/' Application.
> -------------------------------------
application is configured as a web applicaiton. Go in to Internet Services
Manager | Default Website. Have a look at the icon for the directory where
your application is. Does it look a little like a CD or a donut? If not,
right click on your web applications directory and go to 'properties'. In
the Directory tab in application settings, there should be an item
application name. If there is a 'create' button next to this, click it.
Also, try to make sure you use relative links as "~/default.aspx" instead of
"/default.aspx". The ~ will make sure it goes to the application root on the
server which may be a different relative link than "/" was on your
development machine. "/" will refer to the \wwwroot\ directory, "~/" will
refer to \wwwroot\MyWebApp\ directory.
HTH
Lauchlan M
Lauchlan M Guest



Reply With Quote

