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

July 23rd, 2007, 04:28 AM
|
Authorized User
|
|
Join Date: Dec 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

July 23rd, 2007, 06:37 AM
|
 |
Friend of Wrox
|
|
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
|
|
Have you done what the "Detail:" section suggests? Most of the help you need is in the error message itself.
-Peter
|

July 31st, 2007, 01:30 PM
|
Authorized User
|
|
Join Date: Dec 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

July 31st, 2007, 01:38 PM
|
Authorized User
|
|
Join Date: Dec 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thank Imar
Yes i follow the instructions but this is useless
|

July 31st, 2007, 01:41 PM
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
|
|
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
================================================== =========
|

July 31st, 2007, 01:45 PM
|
Authorized User
|
|
Join Date: Dec 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
The same message appear
|

July 31st, 2007, 01:46 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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.
|

July 31st, 2007, 01:50 PM
|
Authorized User
|
|
Join Date: Dec 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thank Imar i'll try
thank's for all
|

August 3rd, 2007, 11:16 PM
|
Registered User
|
|
Join Date: Aug 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|
 |