473,387 Members | 1,326 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,387 software developers and data experts.

I can't deploy my asp.net web project because of this error

a
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 <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>
Jul 18 '06 #1
3 957
Do what is says and you will get a more meaningfull error, i.e. make sure
there is a section that reads something like below in your web.config file

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

Once you have a more meaningfull error, if you are still stuck post it here.

"a" wrote:
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 <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>
Jul 18 '06 #2
dgk
On Tue, 18 Jul 2006 04:23:01 -0700, clickon
<cl*****@discussions.microsoft.comwrote:
>Do what is says and you will get a more meaningfull error, i.e. make sure
there is a section that reads something like below in your web.config file

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

Once you have a more meaningfull error, if you are still stuck post it here.

"a" wrote:
> 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 <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>
Yes, I hit this recently. If you don't have a customErrors section in
your development config.web, publishing the app will cause the
deployed config.web to have customErrors="RemoteOnly", which means
that no errors will be shown if accessed from another machine. But if
you have customErrors defined in your development config.web, it will
be deployed as it exists. Apparently.
Jul 18 '06 #3
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".
First do what it says.

Second make sure that the directory in which the web.config resides is a IIS
application.
Jul 18 '06 #4

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

Similar topics

0
by: Zed | last post by:
I have a problem with .net writing to a remote server that I need to deploy on. The app works fine on my local machine. But when got access to the server I went to VS.NET and tried to create a...
4
by: elvin | last post by:
Hi! How to deploy VS C++ 7 Console application that i write (no compile error), i copy the entire release folder to client pc, but when i click the exe application, it prompt missing vc70*.dll...
5
by: dw | last post by:
Hello, all. We are trying to create an ASP.NET project on our Windows 2003 server via Visual Studio 2003 on a workstation via the network. We keep getting the following error: "The Web server...
4
by: bob lambert | last post by:
Help I am trying to deploy to another pc a vb.net std 2002 windows form application. I am confused. I created a project - windows form I built form, compiled and debugged. I created a...
1
by: alan | last post by:
I've try to deploy my application by using Setup Wizard. But after I build the setup application, it got a error said "unrecoverable error!". I don't know what's the problem. In order to the what...
3
by: Gianluca Carucci | last post by:
Hi all, i compiled a simple Hello World console application (Console project wizard) with c++/cli. I use /clr compiler option for compile mixed managed and unmanaged code. When i start application...
5
by: WT | last post by:
WTCRM.Settings.DBDataStore is a class in a main site deployed including everything in the same assmebly Address_Manager project is an external module that uses WTCRM as a reference....
8
by: Herb | last post by:
In my design environment this works fine, but when I deploy it I get an error. I have a class "MessageBox" defined in my "App_Code" folder. My aspx file contains the line "Imports MessageBox" at...
4
by: agarwalsunitadhn | last post by:
Hello.. I had deployed my project and created a setup file. when i install this one to my system. All the pages works but when i have insert query then it shows an error. is it only a backup file...
18
by: =?Utf-8?B?SGVyYg==?= | last post by:
I'm using a ReportViewer in ASP.NET. From the development environment it works fine. When published and I try to open the page with the ReportViewer I get the error: An internal error occurred...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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.