473,406 Members | 2,710 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,406 software developers and data experts.

Deploy error on Remote Server

Hi,

I am getting message shown below when I tested a simple web application on
production Remote Server which has ASP.net
enabled for IIS.

Please advise!

I have tried the resolution provided and even used trace enabled but message
still comes while
the application runs fine on local computer.

Imran Saroia

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>
Nov 18 '05 #1
1 1605
Change you web.config file to contain

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

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

Instead of:
<!-- Web.Config Configuration File -->

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

This should give you a more detailed error message. Let me know what that
message is.

"IMRAN SAROIA" <im*************@hotmail.com> wrote in message
news:Og**************@TK2MSFTNGP11.phx.gbl...
Hi,

I am getting message shown below when I tested a simple web application on
production Remote Server which has ASP.net
enabled for IIS.

Please advise!

I have tried the resolution provided and even used trace enabled but message still comes while
the application runs fine on local computer.

Imran Saroia

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>

Nov 18 '05 #2

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

Similar topics

2
by: John Spiegel | last post by:
Hi all, I'm attempting to deploy a pretty simple web service to a shared web server that was built w/ Visual Studio. According to MSDN, I should be able to just copy the asmx and bin folder (w/...
9
by: Wayne Wengert | last post by:
I built an ASP application and it runs fine on my local IIS. I am trying to move the application to my web service (ISP) out on the internet. I've read several of the help articles but they all...
0
by: jay | last post by:
I'm doing something wrong. Can someone help? - I've got a web application developed on a local IIS installation (http://(localweb)/myapp.aspx) using VB.Net. - My remote server that hosts my web...
4
by: Aaron Schnieder | last post by:
Hi, I have developed an ASP .NET application which using Crystal Reports for my reporting needs. My local development is Windows XP Pro with IIS and Visual Studio .NET 2003. The ASP .NET site...
1
by: Jeffrey Jones | last post by:
Hello all, I hope I am posting to the right forum. I have made my very first ASP.NET web app and am trying to deploy my baby to a remote server. All I know about my remote server is that it has...
0
by: David | last post by:
Hi, I am sorry for the long title and I hope you can help me with the small problem I have. I am working on Project and we are very close to deployment phase, Here is the fact I have. 1- The...
0
by: Saish | last post by:
Hi I developed webservice for dabase operations. i creatred virtual directory and i am able to run in our local ntewor but not able to run in remote server.. I want to deploy this service to...
10
parshupooja
by: parshupooja | last post by:
Hey All, I have created asp.net application which includes crystal report page on my local machine, it works fine. but when i try to deploy it to remote server it throws error. I was not even...
8
by: teddarr | last post by:
I have been working on an asp.net/sql server project for the last month and finally got to the point where I need to deploy it to IIS(port80)/ inetpub/wwwroot and run it from localhost instead of...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...
0
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...
0
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...

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.