473,394 Members | 1,701 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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 <customErrorstag within
a "web.config" configuration file located in the root directory of the
current web application. This <customErrorstag 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 <customErrorsconfiguration 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>

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

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 1554
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 <customErrorstag within
a "web.config" configuration file located in the root directory of the
current web application. This <customErrorstag 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 <customErrorsconfiguration 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>

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

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
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...
3
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...
1
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...
0
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: ...
3
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...
9
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...
0
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...
1
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 ...
4
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...
1
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.