problem with the ASP.NET application
Hi,
I have the following problem
I created the ASP.NET application via vb.net
Visual Studio 2003 IIS: 5.1 Framework 1.1.4322
on my local pc it's works perfect.
On the Server computer my application does not work
it does not run the .ASPX pages (even simple .aspx page)
I get the Server Error in '/' Application. message
(and not the real error message)
--
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.
Server details:
Windows: 2000 IIS: 5.0 Framework: 1.1.4322
On the same computer there is another ASP.NET site , that works without any problem
any ideas how it can be fexed
Thanks
[947 byte] By [
kent] at [2007-12-17]
I changed the customErrors mode to "On" with a defaultredirect in the webconfig
it's still the same message because it fails before getting the redirect page
it looks like as the aspx pages can not run
i created simple ASP page - it works (so iis probably not a problem)

can i reinstall the framework only for one directory ?
Do you have any other versions of the .NET installed on this computer?
Is this a Windoes 2003 server?
One thing I would try is to go to the Framework directory like
C:\windows\microsoft.net\framework\v<....>\
and then run aspnet_regiis.exe -i -enable
The server os is Windows 2000 and only 1.1 framework is installed.
I found the real error message by customerror="RemoteOnly" and view it on the server machine.
Server cannot access application directory 'E:\Inetpub\webspace\mlm.co.il\www\'. The directory does not exist or is not accessible because of security settings.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: Server cannot access application directory 'E:\Inetpub\webspace\mlm.co.il\www\'. The directory does not exist or is not accessible because of security settings.Source Error:
| An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
One thing I would try is to create a Virtual root and then place your page in that virtual root.
there might be some security reasons why the root apps don't work.
Next there might be an error in your aspx page. Can you catch the exception and do
a reponse.write with the exception message?
he solution to the problem is
in the directory property of the
in Security Tab i added the additional user computername/ASPNET and that all
it's works now.
i dont undestand how it works (without the aspnet user) on another site in the same server
Thanks to all for the help and fast reply !!!!!!!!!!!!!!!!