|
-
Nov 6th, 2003, 10:28 PM
#1
Thread Starter
Hyperactive Member
Server Error in '/' Application. {RESOLVED}
I have asp.net on my dedicated server. When I run scripts in local mode I get no error.
When I run them remotely I get the following error.... I do have a web.config file in the root folder but i still get the same error...
Any suggestions?
Anjari
ERROR BELOW THIS !!
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>
Last edited by Anjari; Nov 9th, 2003 at 11:46 PM.
-
Nov 7th, 2003, 06:42 PM
#2
Hyperactive Member
What happened when you made sure this line was in your web.config file?
Code:
<customErrors mode="Off"/>
-
Nov 7th, 2003, 10:22 PM
#3
Thread Starter
Hyperactive Member
-
Nov 8th, 2003, 07:56 PM
#4
Hyperactive Member
That shouldnt happen but one way to find out what the actual error is to use a try catch around your code. Put a label on your webform to display the error message and then:-
try
'your code
catch ex as exception
label1.text = ex.message
end try
-
Nov 9th, 2003, 01:35 AM
#5
Thread Starter
Hyperactive Member
...
There is no "error" so to speak.... for some reason it isnt allowing me to run the script except in local mode.... If I run it locally there is no error...
Anjari
-
Nov 9th, 2003, 10:03 AM
#6
Hyperactive Member
hmmm...that's really weird. Did you set up that remote machine or is it your ISP's server? Maybe you could see if they set up your site incorrectly; ask if anyone else is having problems. If it's your server, did you just install everything recently or have you been able to run .NET apps before and it's just this one site that's not working properly? Can you run a plain ol' asp page on that remote machine?(and just to be clear cuz maybe I'm misinterpreting your comments, what you refer to as local mode vs. remote mode are two separate machines, right?)
-
Nov 9th, 2003, 01:41 PM
#7
Thread Starter
Hyperactive Member
...
They installed the OS and have left everything up to me...
What I mean by local and remote is that when I log into the computer via remote desktop I am using the computer in a "local mode" but when I access it through my home computer via Internet Explorer I am in a "Remote" view so to speak....
Anjari
(Basically all this is is a web server that I can actually control..)
-
Nov 9th, 2003, 11:47 PM
#8
Thread Starter
Hyperactive Member
Your all fired...
Thats it your all fired!!
Come to find out it was a permission problem...
I added to permissions to my web folder and it fixed the problem!
Anjari
-
Nov 10th, 2003, 09:25 AM
#9
Hyperactive Member
That's what I thought it was
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|