My ASP.NET application is running without error in my local machine (IIS
PWS). However, once I upload all the ASPX files to the remote IIS machine
with Windows Server 2003 OS, it no longer works.
Here's the run-time error, any ideas??
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 -->
<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
<customErrors > configuration 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> 3 1639
Make sure ASP.NET is enabled on the Windows 2003 server. By default, it is
not. Also, make sure you load the DLL, from IL compilation, in the bin
folder. You might want to turn off custom errors, as suggested, and see what
is causing the issue. You can always go back to the default after you fix
the problem.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
*************** *************** *************** *************** **********
Think Outside the Box!
*************** *************** *************** *************** **********
"Matthew Louden" <ma*******@hotm ail.com> wrote in message
news:em******** *****@tk2msftng p13.phx.gbl... My ASP.NET application is running without error in my local machine (IIS PWS). However, once I upload all the ASPX files to the remote IIS machine with Windows Server 2003 OS, it no longer works.
Here's the run-time error, any ideas??
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 -->
<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 <customErrors > configuration 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>
How can I enable ASP.NET in windows 2003 server? I couldn't see that setting
in IIS 6.0
"Cowboy (Gregory A. Beamer)" <No************ @comcast.netNoS pamM> wrote in
message news:Ow******** ******@TK2MSFTN GP10.phx.gbl... Make sure ASP.NET is enabled on the Windows 2003 server. By default, it is not. Also, make sure you load the DLL, from IL compilation, in the bin folder. You might want to turn off custom errors, as suggested, and see
what is causing the issue. You can always go back to the default after you fix the problem.
-- Gregory A. Beamer MVP; MCP: +I, SE, SD, DBA
*************** *************** *************** *************** ********** Think Outside the Box! *************** *************** *************** *************** ********** "Matthew Louden" <ma*******@hotm ail.com> wrote in message news:em******** *****@tk2msftng p13.phx.gbl... My ASP.NET application is running without error in my local machine (IIS PWS). However, once I upload all the ASPX files to the remote IIS
machine with Windows Server 2003 OS, it no longer works.
Here's the run-time error, any ideas??
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 -->
<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 <customErrors > configuration 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>
Hello
I suggest you do as the error message says. i.e. change customeErrors mode
to Off. This will give you another error message with the exact details of
the error cause.
The cause of the error can be anything.
Best regards
Sherif
"Matthew Louden" <ma*******@hotm ail.com> wrote in message
news:em******** *****@tk2msftng p13.phx.gbl... My ASP.NET application is running without error in my local machine (IIS PWS). However, once I upload all the ASPX files to the remote IIS machine with Windows Server 2003 OS, it no longer works.
Here's the run-time error, any ideas??
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 -->
<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 <customErrors > configuration 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>
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Hank |
last post by:
Hello,
Five years of development has us using a very large database (a
couple hundred screens) in one location, which is very managable. Now
our company will be expanding to several distant states and wants a
live database throughout.
What are my options? One suggestion was that we make a
web-based application for ease of updates and availability to remote
sites. That would, of course, involve a complete rewrite of the front
end...
|
by: Elp |
last post by:
Hi,
I have developped a Windows applcation (in C#) that allows, among other
things, users to view and control the desktop of a remote Windows XP Pro
machine. I have actually simply embedded the Remote Desktop ActiveX control
in my C# app and this works fine.
However i have now a new requirement for my app: multiple users have to be
able to view and control the same remote desktop simultaneously using my
application. Big problem:...
|
by: Chakkaradeep |
last post by:
Hi all,
i have written a Service,now i want to execute another application (for
eg;calc.exe) in the service....how will i perform it??...
i tried using this....
/**************Executing a Process code starts here**************/
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.EnableRaisingEvents=false;
|
by: Erez Shor |
last post by:
Hi,
I need to build and asp page which access a remote windows server's
registry and create a registry key.
In order for the ASP page to be able to access the registry on the
remote server I need it to run using credentials supplied by the user.
When using basic authentication this is not an issue since the user
has to provide a user name and password.
But I don't want to use basic authentication so I created a login form
and I am using...
|
by: Darren |
last post by:
Hi,
I get the above error message when I try to run my page on the remote
server.
As I am a newbie with .net, I chose Project | Copy to copy the files needed
to a seperate local directory then copied these to the remote server via
FTP.
The page works fine on my local machine (WinXP Pro, VS.Net etc...)
Page code is:
-------------------------
| |
by: Just D. |
last post by:
Why same version working fine on one machine has a permanent bug when I
upload it to another remote machine and refuses to work at all from the
third machine working on my home LAN? All latest service packs and updates
are installed. I'm using WinXPPro on my local machine where it works fine,
Win2000Pro on my second machine on LAN where it complains about settings,
and Win2000 Advanced Server on the remote machine where it returns one bug....
|
by: matvdl |
last post by:
My asp.net application depends on obtaining allot of data from a remote
application. This application is a bit of a monster and it is not an option
to install it on the asp.net system. Note - the remote application is
developed in vb6
Currently I have the application installed on a number of remote computers
and use DCOM from asp.net to communicate with this application. All the
calls to this remote application are generally kept to a...
|
by: Alice Wong |
last post by:
I am setting up my Web ASP.net application to connect to Sql server using
windows authentication.
I set up IIS to have integrated windows authenication and sql to allow
Windows authentication. And I trun annonymous login.
I use this connection to connect.
server={0};database={1};Integrated Security=SSPI
where {0} servname and {1} database name
|
by: =?Utf-8?B?THVib21pcg==?= |
last post by:
Hi,
When I use a break point and and than hit F5, my applicaiton continues and
shows a dialog. When I hit a button in the dialog, my application will hang,
inclusive Visual studio, and dialog will be left on the screen (execution
will not go into a button-click handler).
If I don't use a break point, everything works fine.
Envirnoment:
|
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...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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...
|
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...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
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...
| | |