« Previous Next »

Thread: An error occurred...

Last post 01-20-2008 5:18 AM by johnson_gau@modusmedia.com. 7 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (8 items)

Sort Posts:

  • 04-05-2007, 5:50 AM

    • mikejpoole
    • Not Ranked
    • Joined on 03-03-2005, 1:22 PM
    • Edinburgh
    • Posts 2

    An error occurred...

    I am getting the following error message running a classic ASP site on IIS7:

    "An error occurred on the server when processing the URL. Please contact the system administrator"

    To say it is vague is an understatement. Does anyone have any idea where I should start troubleshooting.

    ASP is installed and the site is running in a classic pool.

    http://www.2f3.com
  • 04-05-2007, 2:16 PM In reply to

    Re: An error occurred...

    From another POST of mine..

     It seems like "Send Errors to Browser" is set to False and you are seeing generic error message instead of detailed ASP error.

    To check this,

    Make sure you're in Features View (not Content View), then double-click the ASP icon. Expand "Compilation" and then "Debugging Properties".  Set the "Send Errors To Browser" to True.  Now when you browse the ASP page, you should get the underlying script error, instead of the default "An error occurred".  This will help troubleshooting efforts.

    Thanks,

    AJ

  • 04-09-2007, 12:00 AM In reply to

    • mikejpoole
    • Not Ranked
    • Joined on 03-03-2005, 1:22 PM
    • Edinburgh
    • Posts 2

    Re: An error occurred...

    Thanks AJ, that was exactly what I was looking for.
    http://www.2f3.com
  • 05-02-2007, 3:15 PM In reply to

    Re: An error occurred...

    I made these changes, but I still just get the generic message.

    It is weird, only items in my subdirectories are getting this message.  My ASP works in the root folder.

    Anyone have any clues.

    Jason

  • 05-03-2007, 3:49 PM In reply to

    • iisray
    • Top 500 Contributor
    • Joined on 07-08-2006, 12:44 AM
    • Posts 22

    Re: An error occurred...

    Adding the command-line ways to enable this property at the server level :

    i) using 'AppCmd':

    %windir%\system32\inetsrv\appcmd.exe set config -section:asp /scriptErrorSentToBrowser:true

    ii) using 'adsutil.vbs':

    %SystemDrive%\inetpub\AdminScripts\adsutil.vbs set w3svc/AspScriptErrorSentToBrowser true

    Jason, do you mean the same ASP page (with error) in the subdirectories and root folder, but only the one in subdirectories showing this general error message?

    Anyway, try the above way to see if you still have the same problem.

    Ray 

  • 05-07-2007, 1:13 AM In reply to

    Re: An error occurred...

    Could it be your asp application that 'hiding' the error msgs?
    Simple hello.asp works?

    Cheers,
    Bernard Cheah
  • 05-10-2007, 8:15 PM In reply to

    Re: An error occurred...

     

    1st thing - ASP pages in your subdirectories might have coding/scripting issue.

    After setting "ScriptErrorSentToBrowser" True, Disable "Show friendly error message" in IE>Tools>Internet Options>Advanced.

    You should see exact error message.

    HTH.

    ~ Ganesh

  • 01-20-2008, 5:18 AM In reply to

    It'swork

    Thanks 

    ganeshanekar:

     

    1st thing - ASP pages in your subdirectories might have coding/scripting issue.

    After setting "ScriptErrorSentToBrowser" True, Disable "Show friendly error message" in IE>Tools>Internet Options>Advanced.

    You should see exact error message.

    HTH.

    ~ Ganesh

Page 1 of 1 (8 items)