These forums are read-only and considered to be an archive. Please use the new Community for future interaction and posts.

Server Error in '/' Application.

Hi all,

I got this problem here below. I do not have access to the server console as this is a hosting server. When I create the sites, it becomes an application by default. I also enabled ASP.Net 2.0 as you can see below. I ahve done a lot of search in the forums but without success. This is the trial version but planing to buy if the application does the job we need.
Any ideas where to start?

Thank you in advance


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='MachineOnly' beyond machine.config.

Source Error: 


Line 9:      <authentication mode="None" />
Line 10: 
Line 11:     <identity impersonate="true" />
Line 12:     
Line 13:     <compilation debug="false" />
 

Source File: d:\hshome\phytorian\files.smarttechs.ca\web.config    Line: 11 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433 
Rafael 4/28/2008 1:31 AM
Hi guys,

Any one got similar problem...

I have a hosting company called Ixwebhosting and they do have ASP.NET version 2.0.50727.
When the site is created, it creates it as application automicatlly.

I did as instructed to upload the folder FileVista to the hosting

When I run the htt://domain.name.com/default.asp I  get the following error:

Server Error in '/' Application.
--------------------------------------------------------------------------------

Runtime Error 
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. 

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>
 

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>
 

Any ideas?
I kinda need this application to handle over 100 users and it does all that we need.

Thank you in advance.

Rafael
Rafael 4/29/2008 1:55 PM
Hi Rafael,
The first error is about overriding a setting defined in machine.config. This setting is not allowed to be overridden on your hosting company so remove this line from web.config:

<identity impersonate="true" /> 

To see the details of the other error, add this line to the web.config between <system.web> tags:

<customErrors mode="Off"/> 
Cem Alacayir 5/6/2008 1:30 PM