473,395 Members | 1,666 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

ASP.Net Hosting problem

Hi ,

I have a doubt in ASP.Net hosting.I have developed a site and hosted it. when i browse that site an error occured like this.I dont know why this error is showing? Because i have no problem when i test in localhost.The error is as follows


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

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

<!-- Web.Config Configuration File -->

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


If anybody knows solution for this problem reply me as soon as possible because i am new for asp.net & hosting


Thanks


With Regards
K.A.Khan Mohamed
Jun 12 '07 #1
6 1836
prabunewindia
199 100+
hi friend,
did u set the asp.net version.
if u r used 2.0 means select 2.0.57... in option avilable there


Hi ,

I have a doubt in ASP.Net hosting.I have developed a site and hosted it. when i browse that site an error occured like this.I dont know why this error is showing? Because i have no problem when i test in localhost.The error is as follows


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

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

<!-- Web.Config Configuration File -->

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


If anybody knows solution for this problem reply me as soon as possible because i am new for asp.net & hosting


Thanks


With Regards
K.A.Khan Mohamed
Jun 12 '07 #2
kenobewan
4,871 Expert 4TB
Contact the server admin, I don't believe that the site has been set up correctly.
Jun 12 '07 #3
hi friend,
did u set the asp.net version.
if u r used 2.0 means select 2.0.57... in option avilable there


Hi You asked set the version can you say where can i to set it?
Reply me asasp
Thanks
Jun 13 '07 #4
nmsreddi
366 256MB
Hello

i strongly believe that this is error at service side not with your application

make sure that your hosting server has correct virtualdirectory ,

i got the same problem ,but later solved by the server administrator ,
Jun 13 '07 #5
HI Friends,

I also facing the exact problem. I developed asp.net web application in VB.Net 2005. It is working sucessfully in my machine. (localhost). Then i sent this website to my client's ftp address using 'Publish Website' option in Vb.Net 2005.

When we try to browse the page from across the internet, i am facing the same server error problem.

Please, can any one help me to solve this problem

Thanks.
Jul 3 '07 #6
nmsreddi
366 256MB
Hello

First try to find out whether your client server has support for

.net framework 2.0 i.e make sure that your virtual directory is assignet to frame work2.0, this is the most common problem
Jul 4 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Ray | last post by:
Hi I need to access an access db via php. My hosting provider is using php version 4.3.10 on a windows 2003 platform. I think that php was installed with the Plesk for windows package/control...
11
by: Mike MacSween | last post by:
My client has an MS Access database application on her local machine. I have full access to that in terms of changing the design. I've got a simple PHP/MySql application on shared hosting, so no...
2
by: Lyle Fairfield | last post by:
Just in case you were considering this http://www.interland.com/ provides internet accessible MS-SQL dbs packaged with many of their web- hosting plans. I have two such dbs. Interland backs...
7
by: John | last post by:
Do you guys have any idea if web hosting companies usually give access to SQL Server databases through Enterprise Manager? I used to have have access to my DB through EE with my previous provider...
0
by: Kunal Pandya | last post by:
Windows Web Hosting @ $ 14.95 / Year! with FREE Domain Registration!!! + Web Control Panel + MIn. 5 Email Boxes + Packages starting from as low as 10 MB upto 50 GB dedicated hosting + Extra...
2
by: Carl Gilbert | last post by:
Hi I feel as if I'm fighting a loosing battle with shared hosting at the moment. I have an account with 1&1. For a whopping £16.99 a month I get 6GB of shared Microsoft hosting. I also get...
11
by: Marko | last post by:
I need some good hosting. I found www.webhost4life.com and I was been very happy because they give a lot of features very cheap. But I have read many bad things about this hosting, so I need some...
21
by: Herb | last post by:
Why do so many hosting services only offer PHP4? That's even true for Yahoo.
3
by: Barrie Wilson | last post by:
I have a really simple test app which consumes two public web services (one stock quote and one Amazon books collection); it works just fine when posted on my local servers but when I publish it...
4
by: Dave Burns | last post by:
I am self hosting a Web Service in a Windows service. I am trying to start the service using the NT AUTHORITY\NetworkService account. I get a NullReferenceException on ServiceHost.Open() in the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
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,...
0
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...
0
tracyyun
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.