|
 |
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
|
 |
|
|

July 23rd, 2007, 04:28 AM
|
Authorized User
|
|
Join Date: Dec 2006
Location: Mukalla, , Yemen.
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
Points: 16,481, Level: 55 |
|
|
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
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
Location: Mukalla, , Yemen.
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:34 PM
|
 |
Wrox Author
Points: 72,055, Level: 100 |
|
|
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
|
|
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.
|

July 31st, 2007, 01:38 PM
|
Authorized User
|
|
Join Date: Dec 2006
Location: Mukalla, , Yemen.
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
Location: Capital Federal, , Argentina.
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
Location: Mukalla, , Yemen.
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
The same message appear
|

July 31st, 2007, 01:46 PM
|
 |
Wrox Author
Points: 72,055, Level: 100 |
|
|
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 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
Location: Mukalla, , Yemen.
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
Location: High Springs, FL, USA.
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
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |