freelanceprogrammers.org Forum Index » ASP

Maybe a web.config problem?? New to asp.net, PLEASE HELP


View user's profile Post To page top
holyinsomniac Posted: Mon Jan 03, 2005 8:31 am


Joined: 03 Jan 2005

Posts: 1
Maybe a web.config problem?? New to asp.net, PLEASE HELP
Hi guys,

I have already modified the web.config file and modified the
customErrors mode = `off`. Still, I continue to get this generic
error message. I opened a ticket with reseller-center and they say
they have given proper permissions to the folders. This is really
frustrating, because there is really no code on the page i`m trying
to display, there is only 1 button because i just want to test how
asp.net functionality on their servers. Following is the stack I got
from the help desk at reseller-center, apparently they are able to
view the proper error on that machine.

PLEASE HELP !!!!

Thanks
Azam
____________________________________
They pretend to pay me, I pretend to work.


This is the error message:
--------------------------
Web.config file problems using asp.net
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>

----------------------------------------------------------------------
---------------


Here is a response from Reseller-Center help desk:

----------------------------------------------------------------------
--------------
I have given the aspnet user account full permissions of this site,
however the aplication is sending this error to console.

Server Error in `/YoDesiApp` Application.
----------------------------------------------------------------------
----------

Access denied to `C:hshome...TestApp`. Failed to start monitoring
file changes.
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: Access denied
to `C:hshome...TestApp`. Failed to start monitoring file changes.

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.

Stack Trace:

[HttpException (0x80070005): Access denied
to `C:hshome...TestApp`. Failed to start monitoring file changes.]
System.Web.DirMonCompletion..ctor(DirectoryMonitor dirMon, String
dir, Boolean watchSubtree, UInt32 notifyFilter) +140
System.Web.DirectoryMonitor.StartMonitoring() +42
System.Web.DirectoryMonitor.StartMonitoringFile(String file,
FileChangeEventHandler callback, String alias) +154
System.Web.FileChangesMonitor.StartMonitoringDirectoryRenamesAndBinDir
ectory(String dir, FileChangeEventHandler callback) +278
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +331

[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +983
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
+128
Reply with quote
Send private message
View user's profile Post To page top
charlesmarkc... Posted: Wed Jan 05, 2005 7:33 am


Joined: 07 Jan 2006

Posts: 63
Maybe a web.config problem?? New to asp.net, PLEASE HELP
The ISP is probably assuming IIIS permisions affect ASP.net -- in fact
they do not.

It is permissions to ASP.net worker process that have to be set NOT IIS.

Your web,.config changes can`t work till they sety permissions for
ASP.net worker process not IIS.

On Mon, 03 Jan 2005 02:31:09 -0000, holyinsomniac
<holyinsomniac@...> wrote:
>
>
> Hi guys,
>
> I have already modified the web.config file and modified the
> customErrors mode = `off`. Still, I continue to get this generic
> error message. I opened a ticket with reseller-center and they say
> they have given proper permissions to the folders. This is really
> frustrating, because there is really no code on the page i`m trying
> to display, there is only 1 button because i just want to test how
> asp.net functionality on their servers. Following is the stack I got
> from the help desk at reseller-center, apparently they are able to
> view the proper error on that machine.
>
> PLEASE HELP !!!!
>
> Thanks
> Azam
> ____________________________________
> They pretend to pay me, I pretend to work.
>
>
> This is the error message:
> --------------------------
> Web.config file problems using asp.net
> 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>
>
> ----------------------------------------------------------------------
> ---------------
>
>
> Here is a response from Reseller-Center help desk:
>
> ----------------------------------------------------------------------
> --------------
> I have given the aspnet user account full permissions of this site,
> however the aplication is sending this error to console.
>
> Server Error in `/YoDesiApp` Application.
> ----------------------------------------------------------------------
> ----------
>
> Access denied to `C:hshome...TestApp`. Failed to start monitoring
> file changes.
> 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: Access denied
> to `C:hshome...TestApp`. Failed to start monitoring file changes.
>
> 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.
>
> Stack Trace:
>
> [HttpException (0x80070005): Access denied
> to `C:hshome...TestApp`. Failed to start monitoring file changes.]
> System.Web.DirMonCompletion..ctor(DirectoryMonitor dirMon, String
> dir, Boolean watchSubtree, UInt32 notifyFilter) +140
> System.Web.DirectoryMonitor.StartMonitoring() +42
> System.Web.DirectoryMonitor.StartMonitoringFile(String file,
> FileChangeEventHandler callback, String alias) +154
> System.Web.FileChangesMonitor.StartMonitoringDirectoryRenamesAndBinDir
> ectory(String dir, FileChangeEventHandler callback) +278
> System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +331
>
> [HttpException (0x80004005): ASP.NET Initialization Error]
> System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +983
> System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
> +128
>
>
>
>
>
>
>
>
> ________________________________
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
>
> To unsubscribe from this group, send an email to:
> AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Reply with quote
Send private message
Post new topic Reply to topic
Display posts from previous:   
 

All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
China Wholesale - Electronics Products
Character Studio - Tutorials and Help