943,150 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 669
  • ASP.NET RSS
Mar 17th, 2010
0

Deploying ASP.Net Pages and Database

Expand Post »
Hi.to all
This is Amit..
i have one website in which i m using (html,aspx) pages.
i uploaded also to my domain.
HTML pages works properly but when i request for ASPX page it shows :::::::::::::::::::
------------------------------------------------------------------------------------
"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"."

-----------------------------------------------------------------------------------
after this i changed my web config file and set the custom error mode="remoteonly" and defaultUrl="MyCustomerror.html" then i build it and Publish it once again and upload it again to server.
when i again equest for aspx page it will redirect me to MyCustomerror.html..
so how can i request for aspx page..and this is just a normal wellcome page of aspx No database, No server side coding i used in this page..if this problem solved then i can think about database creation..into my domain..
please help me in this topic..
eagarly waiting for anybudy's reply..

Thanks..
Amit
Last edited by amitshrivas; Mar 17th, 2010 at 9:22 am.
Similar Threads
Reputation Points: 10
Solved Threads: 3
Light Poster
amitshrivas is offline Offline
31 posts
since Sep 2009
Mar 17th, 2010
0
Re: Deploying ASP.Net Pages and Database
Did you try this and did not work?
"<customErrors> tag should then have its "mode" attribute set to "Off".""
<customErrors mode="Off" />
Reputation Points: 56
Solved Threads: 56
Posting Pro in Training
jbisono is offline Offline
431 posts
since May 2009
Mar 17th, 2010
0
Re: Deploying ASP.Net Pages and Database
Click to Expand / Collapse  Quote originally posted by jbisono ...
Did you try this and did not work?
"<customErrors> tag should then have its "mode" attribute set to "Off".""
<customErrors mode="Off" />
if i set CustomError mode="off" then it will give me Parser Exception
and if i set CustomError mode="remoteOnly"|"On" then it will redirect me to MyCustomError.htm page
dont show the aspx page
Reputation Points: 10
Solved Threads: 3
Light Poster
amitshrivas is offline Offline
31 posts
since Sep 2009
Mar 17th, 2010
0
Re: Deploying ASP.Net Pages and Database
it seems like a problem in your web.config leave your custom error set to off and then copy and pase all your web.config content into a notepad and save the document as xml, try to browse the xml file in the browser. If the xml file is unable to be rendered by the browser and throws some errors, then you can find the place where the tags are not well formed and fix them. also remember that web.config is case sensitive.
Reputation Points: 56
Solved Threads: 56
Posting Pro in Training
jbisono is offline Offline
431 posts
since May 2009
Mar 19th, 2010
0
Re: Deploying ASP.Net Pages and Database
I copy the code of xml and save it by .xml and run it in IE .it runs ok,showing no error what would be the problem sir. and
i m new to Dani web IT Community. so can u tell me the rules of what to right and what not in easy way..
plzz coz i got warning from Dani WEb community..
Reputation Points: 10
Solved Threads: 3
Light Poster
amitshrivas is offline Offline
31 posts
since Sep 2009
Mar 19th, 2010
0
Re: Deploying ASP.Net Pages and Database
>i m new to Dani web IT Community. so can u tell me the rules of what to right and what not in easy way..


Please read before posting - http://www.daniweb.com/forums/thread78223.html and http://www.daniweb.com/forums/faq.ph...niweb_policies
Moderator
Reputation Points: 2136
Solved Threads: 1228
Posting Genius
adatapost is offline Offline
6,525 posts
since Oct 2008
Mar 20th, 2010
0
Re: Deploying ASP.Net Pages and Database
Click to Expand / Collapse  Quote originally posted by adatapost ...
>i m new to Dani web IT Community. so can u tell me the rules of what to right and what not in easy way..


Please read before posting - http://www.daniweb.com/forums/thread78223.html and http://www.daniweb.com/forums/faq.ph...niweb_policies

------------------
Hi..again
i uploaded a aspx page succusfully and its running now..
but my next problem is related with database..
i created database in Live server and after that i run it .
its running but it will take me to custompage.html again..
may be my configuration to web.config file is wrong..
what would be the standard configfuration ..
Reputation Points: 10
Solved Threads: 3
Light Poster
amitshrivas is offline Offline
31 posts
since Sep 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: help me
Next Thread in ASP.NET Forum Timeline: how to use asp.net validation controls to support client side scripting





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC