Reply
Old 07-22-2009, 02:39 PM New to asp.net
Super Talker

Posts: 108
Name: Paul
Trades: 0
Hi

A friend of mine has re done my website in asp.net but when we upload it to the server we get a runtime error, I've asked my hosting company if its anything server related and they assure me the server is working fine and advice me to switch on custom error but we're at a loss with this and need some help.

the directory for this asp.net website is www.electrifire.co.uk/ABC and any advice is appreicated
fattony is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 07-22-2009, 02:49 PM Re: New to asp.net
chrishirst's Avatar
Super Moderator

Posts: 22,221
Location: Blackpool. UK
Trades: 0
as they said, turn on custom errors and find out what the problem is
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-22-2009, 03:02 PM Re: New to asp.net
Super Talker

Posts: 108
Name: Paul
Trades: 0
But Im not sure how to do this correctly, I have a file called web.config where should this be:

/public_html/web.config

or before the public_html folder

or /public_html/ABC/web.config

Is all I need in this web.confg file:

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>

Where will these errors be displayed?
fattony is offline
Reply With Quote
View Public Profile
 
Old 07-22-2009, 03:11 PM Re: New to asp.net
chrishirst's Avatar
Super Moderator

Posts: 22,221
Location: Blackpool. UK
Trades: 0
Have a read through
http://www.15seconds.com/issue/030102.htm
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-22-2009, 03:42 PM Re: New to asp.net
Super Talker

Posts: 108
Name: Paul
Trades: 0
Ok well I've found the error I believe:

Line 76: ASP.NET to identify an incoming user.
Line 77: -->
Line 78: <authentication mode="Windows"/>
Line 79: <!--
Line 80: The <customErrors> section enables configuration



Source File: \\10.0.3.22\home\electrifire.co.uk\public_html\abc \web.config Line: 78

fattony is offline
Reply With Quote
View Public Profile
 
Old 07-22-2009, 09:53 PM Re: New to asp.net
alex021's Avatar
Skilled Talker

Posts: 96
Name: Alex
Trades: 0
I think you need to change windows to none as you don't have windows authentication on a webhosting server
alex021 is offline
Reply With Quote
View Public Profile
 
Old 07-22-2009, 10:12 PM Re: New to asp.net
Super Talker

Posts: 101
Trades: 0
You just need a virtual Directory to be created on the server. It is possible to do this from the control panel such as HELM. If you are not familiar, then your host can also do that for you. allowDefinition='MachineToApplication' is strictly related to the virtual directories. Once virtual directory has been created, you will see the website working.
__________________
AccuWebHosting.Com - Windows Hosting Expert
ASP.NET 3.5 | SQL 2005 Database | US Based Hosting Company | 24 X 7 Support | Daily Backups | Uptime Guarantee | Affiliates - $50 Per Sale
| Website Hosting
twhdir is offline
Reply With Quote
View Public Profile
 
Old 08-17-2009, 01:35 AM Re: New to asp.net
Banned

Posts: 5
Name: Gowrianand
Trades: 0
hey,
try to debug step by step adn first find out where the error occurs.
then find a solution or try through google.
gowrianand is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to New to asp.net
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.14049 seconds with 13 queries