Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
|
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 23rd, 2007, 04:28 AM
Authorized User
 
Join Date: Dec 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to maz_alaameri Send a message via Yahoo to maz_alaameri
Default How to deploy ASP.NET application on server

Dear All,

I am trying to Deploy ASP.net application on the remote server.When i am trying to deploy it on the server. I am geting 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 <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".




<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.




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

please help me.
 
Old July 23rd, 2007, 06:37 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Have you done what the "Detail:" section suggests? Most of the help you need is in the error message itself.

-Peter
 
Old July 31st, 2007, 01:30 PM
Authorized User
 
Join Date: Dec 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to maz_alaameri Send a message via Yahoo to maz_alaameri
Default

Thank planoie
I want to solve this prblem but i cann't
I done change the mode to "Off" but this been useless
Please any one can help me
The Details message error is:
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".

Thank's for all
 
Old July 31st, 2007, 01:34 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

And did you follow the instructions from the error message? Did that help?

Imar

---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
 
Old July 31st, 2007, 01:38 PM
Authorized User
 
Join Date: Dec 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to maz_alaameri Send a message via Yahoo to maz_alaameri
Default

Thank Imar
Yes i follow the instructions but this is useless

 
Old July 31st, 2007, 01:41 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

useless?? you didn't get a new error page that explain what happends???

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========
 
Old July 31st, 2007, 01:45 PM
Authorized User
 
Join Date: Dec 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to maz_alaameri Send a message via Yahoo to maz_alaameri
Default

The same message appear

 
Old July 31st, 2007, 01:46 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

In that case, check out the server's Event Viewer. Sometimes, when you have errors in your web.config or ASP.NET is not allowed to access it or any of your other files, you get this generic error page.

The Event Viewer may reveal the real reason.

For future posts, please be as specific as possible, and provide as much detail as possible. It would save everyone (yourself included) if you added a line like: "I followed the instructions in the error message, but I still get the same error". That would save us from asking stupid questions and save you from answering them.

Imar

---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
 
Old July 31st, 2007, 01:50 PM
Authorized User
 
Join Date: Dec 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to maz_alaameri Send a message via Yahoo to maz_alaameri
Default

Thank Imar i'll try
thank's for all

 
Old August 3rd, 2007, 11:16 PM
Registered User
 
Join Date: Aug 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Maz-

Are you attempting to deploy on a remote server provided by an ISP or are you attempting to deploy on a server at your location?

I am hopelessly novice with no ASP.NET experience and know nothing of proper ASP.Net deployment (I just ordered Imar's book ASP.NET 2.0 Instant Results tonight). I uploaded the source code for the Photo Album ap to my GodDaddy hosted site and when I attempt to run the default.aspx I get the exact same message you do. I am sure that I have not properly deployed the ap.

Can anybody recommend a good basic book that will tell me how to deploy an ap on a hosted server? Does Imar's book cover that or should I go pick up something more basic? Will I have a problem deploying an ap on a GoDaddy server?

Thanks for everybody's patience with the baby newbie...

My future is so bright I have to wear shades...

Mark Beans
www.LogHomeUSA.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Deploy ASP.NET apps from XP to Win 2003 server cJeffreywang ASP.NET 2.0 Professional 3 July 5th, 2007 02:40 PM
How to deploy Crystal reports in asp.net module prasan BOOK: Professional Crystal Reports for VS.NET 1 February 27th, 2007 11:27 PM
i'm a new from asp.net how can i setup deploy Curly BOOK: ASP.NET Website Programming Problem-Design-Solution 2 May 31st, 2006 08:09 PM
Moving an asp.net application to server douganders VB.NET 2002/2003 Basics 3 May 13th, 2005 02:54 PM
How to deploy ASP.net Project qazi_nomi BOOK: ASP.NET Website Programming Problem-Design-Solution 1 May 7th, 2005 08:24 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.