|
-
Aug 20th, 2003, 04:55 AM
#1
Thread Starter
Frenzied Member
Running app on server
I have no problem running my app on localhost, but when I deploy to the web server an error occurs. It can be seen at www.vbdotnet.dk/gf . What goes wrong?
-
Aug 21st, 2003, 01:32 AM
#2
PowerPoster
Ok, first of all, you have to start reading the error page.
It says to do this to view the actual error:
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".
The custom errors element should already be in the web.config file. Just set it to "Off" like it says to. Then, next time you run it, you should get the exact error. You can proceed from there.
-
Aug 21st, 2003, 01:38 AM
#3
Thread Starter
Frenzied Member
I've tried that, but the only thing that happens is that it makes an error
-
Aug 21st, 2003, 11:36 AM
#4
PowerPoster
Take the customerrors element that you added out of the web.config file. Now, scroll down and find the one that is already there (has a bunch of comments by it explaining how to use it). Change that one to Off.
-
Aug 25th, 2003, 02:14 AM
#5
Thread Starter
Frenzied Member
Thanks, I was not awake . Now I've found the error, it has something to to with the Inherits-line. My application is build in VS in a project named Georg_Fischer. The code for Global.asax is generated automatically to this reference. What should this code be when I deploy to a web server?
Global.asax:
Code:
<%@ Application Codebehind="Global.asax.vb" Inherits="Georg_Fischer.Global" %>
Applcation running on: www.vbdotnet.dk/gf
-
Sep 23rd, 2003, 09:57 AM
#6
Hyperactive Member
hmm, im trying to upload a project to a website.
I keep getting that annoying white/yellow error page. I HAVE set customerrors="off" and I do not have it in there twice.
Whys it still coming up without proper error then?
Gary
-
Sep 23rd, 2003, 10:52 AM
#7
Hyperactive Member
ok fixed that, it was actually an error within the web.config itself (lol)
anyway, I now have the error on the inherits line
What did you do to fix it??
GaZ
-
Sep 24th, 2003, 01:24 AM
#8
Thread Starter
Frenzied Member
Remember to upload the Bin folder (if you're using VS.Net) otherwise the error will appear
-
Sep 24th, 2003, 02:07 AM
#9
Hyperactive Member
mmmkay, Im sure I did. I'll check again later 
Thanks for replying
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
|