473,666 Members | 2,565 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

problems in uploading asp.net website!!

Hi all,

I have developed an asp.net( 1.1) website using vb.net and Microsoft
Access and my hosting company does support asp.net1.1. Now I've FTP'd
the website , but whenever i try to access the website using
http://www.domainname.com/applicatio...ame/index.aspx ( where
index.aspx is first page of my application)
I get the following error
-----------------------------
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 <customErrorsta g within
a "web.config " configuration file located in the root directory of the
current web application. This <customErrorsta g should then have its
"mode" attribute set to "Off".

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

<configuratio n>
<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 "defaultRedirec t" attribute of the
application's <customErrorsco nfiguration tag to point to a custom
error page URL.

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

<configuratio n>
<system.web>
<customErrors mode="RemoteOnl y"
defaultRedirect ="mycustompage. htm"/>
</system.web>
</configuration>

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

Any insight or comments will be highly appreciated. I have also
searched google and unfortunately I don't want to either use XCOPY or
web setup method. I am in a situation where I have to manually upload
the asp.net website, but I keep getting above error.
Any insight or suggestions will be appreciated. I appreciate your time
and help in advance.

Thanks,
Erland

Jul 11 '06 #1
2 1567
Hi Erland,

I would start the browser that's on the local server machine and run
the application from there, as recommended in the runtime error
description. The local execution of a web application gives you a detailed
error page which should help you along in finding the cause of the error.
If you haven't access to the server yourself, then ask the server's admin
to do it and that he/she should send the error page to you.

All other recommendations how to configure the web.config so that
the client browser shows detailed app errors has never been my approach
since it should normally not expose such internals, and it was always quicker
to directly run the app once on the server.

Regards
Frank
Hi all,

I have developed an asp.net( 1.1) website using vb.net and Microsoft
Access and my hosting company does support asp.net1.1. Now I've FTP'd
the website , but whenever i try to access the website using
http://www.domainname.com/applicatio...ame/index.aspx ( where
index.aspx is first page of my application)
I get the following error
-----------------------------
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.
Jul 11 '06 #2

Erland wrote:
Hi all,

I have developed an asp.net( 1.1) website using vb.net and Microsoft
Access and my hosting company does support asp.net1.1. Now I've FTP'd
the website , but whenever i try to access the website using
http://www.domainname.com/applicatio...ame/index.aspx ( where
index.aspx is first page of my application)
I get the following error
-----------------------------
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 <customErrorsta g within
a "web.config " configuration file located in the root directory of the
current web application. This <customErrorsta g should then have its
"mode" attribute set to "Off".

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

<configuratio n>
<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 "defaultRedirec t" attribute of the
application's <customErrorsco nfiguration tag to point to a custom
error page URL.

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

<configuratio n>
<system.web>
<customErrors mode="RemoteOnl y"
defaultRedirect ="mycustompage. htm"/>
</system.web>
</configuration>

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

Any insight or comments will be highly appreciated. I have also
searched google and unfortunately I don't want to either use XCOPY or
web setup method. I am in a situation where I have to manually upload
the asp.net website, but I keep getting above error.
Any insight or suggestions will be appreciated. I appreciate your time
and help in advance.

Thanks,
Erland
Aug 9 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
5232
by: Bill Davidson | last post by:
My wife's friend had a website built for his company, and it looks great using a PC. When viewed on a Mac using either Safari or Explorer the formatting is terrible. The home page is not too bad, however, any of the other pages selected have large spaces between paragraphs. I know to compare different browers when building a website but what can I suggest to him for PC/Mac problems.
3
1334
by: Er bengaor | last post by:
Hi. I am trying to simulate the fileupload html control in order to use different css styles in the editbox and button. To do this, I'm using a hidden fileupload control and javascript. But when I first click the web control button to send the file, the value of this hidden control is deleted without doing the postback to the server. Does anybody knows what it happens? Thank you in advance. This is my code:
1
1232
by: Chris Kennedy | last post by:
I am having problems uploading web apps to our local server. Can anyone shed any light on the explanation I have been given by one of our techies. You have recreate the virtual and add server extensions and make sure the underlying physical name is no longer than 8 characters?!!!? I smacks of some kind of hare-brained workaround. Does anyone know where this is coming from. If I try to upload to a domain via VS it won't let me and if I...
0
959
by: Luis Esteban Valencia | last post by:
This is the code And I have this error in spanish, translation must be something like ."String has not the correct format". La cadena de entrada no tiene el formato correcto the code is: private void btnUpload_Click(object sender, System.EventArgs e) {
3
1108
by: Abul Hasan Lakhani | last post by:
Hello There, I just wanna ask that now that I have Created my website in ASP.NET how and what files should I upload to my server. Any special setting or configuration required to run my asp.net application on web??? Thanks .. Waiting for immediate feedback Abul Hasan Lakhani.
9
1570
by: kickmaass | last post by:
Notice: Undefined variable: train in /www/1111mb.com/k/i/c/kickmaass/htdocs/trainsubmit.PHP on line 30 Notice: Undefined variable: PHP_SELF in /www/1111mb.com/k/i/c/kickmaass/htdocs/trainsubmit.PHP on line 51 Notice: Undefined variable: load in /www/1111mb.com/k/i/c/kickmaass/htdocs/trainsubmit.PHP on line 55 im using a free webhost.
0
967
by: santoshjsh | last post by:
hello everyone. i have added some more modules to my asp.net2.0 project. now i want to upload these new modules till now i always do it like first remove the existing website and than compile it with new modules than upload it. The issue is it takes long time to remove and upload again. is there is any way so that i can do it without removing the existing website or only new modules can be uploaded . i have tried to compile it with...
1
1432
by: bizt | last post by:
Hi, Im having trouble with my script in the sense that it doesnt appear to be able to access files uploaded to the temporary folder on the server. Below is the script that I am using: <?php if(isset($_REQUEST)) {
4
1966
by: raamay | last post by:
i have a form which allows files to be uploaded. i have no problem with the upload script as it works perfectly within my local web server. As i host it in my hosting server the upload do not work. i have checked for the php settings in both my local server as well as my hosting server. I have set the local settings as in the hosting server with a few things not identical. One is the upload_tmp_dir which is set in my server but not in the...
1
2070
by: Hardik mistry | last post by:
i have upload my website to net & also connect with server by connection string but how to upload my Database I have created database in .net control panel and all have told me to restore my database(.mdf file) but then also it shows some error like Server Error in '/' Application. Invalid object name 'mentors'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack...
0
8440
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8352
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8780
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8636
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7378
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6189
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5661
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4358
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1763
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.