473,498 Members | 1,936 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

webconfig error in webhosting server

53 New Member
I placed my asp.net code in my server and i placed my database stuff in web hosting server.I created a virtual directory in web hosting server to access my files from my server.I have written the code in webconfig file like this
<connectionStrings><remove name="LocalSqlServer"/>
<add name="localsqlserver" connectionString="Data Source=mssql302.ixwebhosting.com;Initial Catalog=Eminoso_yellowebsite;User ID=loginid;Password=password" providerName="System.Data.SqlClient"/></connectionStrings>
when i run this local its working but when i am trying to run using website server address i am getting webconfig error.
"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>"

can you please help me how to resolve this ixwebhosting problem.

Thanks in advance
pavani
Nov 27 '08 #1
2 1802
nukefusion
221 Recognized Expert New Member
Well it's not telling you much at the moment other than some sort of error occurred. It might be an idea to do what it says to allow access to a more meaningful error message which would then allow you to debug the problem.

Edit your web.config file and add or merge the following:

Expand|Select|Wrap|Line Numbers
  1.  
  2. <configuration>
  3.     <system.web>
  4.          <customErrors mode="Off"/>
  5.     </system.web>
  6. </configuration>"
  7.  
  8.  
Run again and you should get some details on the real error.
Nov 27 '08 #2
pavanip
53 New Member
I tried that way also.i tried with custom error mode On, Off,Remoteonly
For above all i am getting the same error.when i put html file in that folder it is opening correctly, that is the error for only aspx pages.
Nov 27 '08 #3

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

Similar topics

17
3310
by: andre.gunther | last post by:
Hello, unfortunately I am a customer of Yahoo Webhosting. They don't offer scripting or any meaningful server controls. I have a photo website and I have serious problems with leachers now....
1
2871
by: accessyou | last post by:
I am using a windows 2000 with apache and php5 A simple url submit containing only english characters are OK: http://www.abc.com/submit.php?msg=test If the value of msg is replaced with a...
1
1878
by: Lad | last post by:
I use a new webhosting provider and I can not send an email from my script. This is the script that I use to test the connection ####################### import smtplib,poplib, #I first login...
0
3234
by: webhosting | last post by:
After a failure, we promoted a slave to master. This included renaming the server to the old master's name and ip address, but leaving the server id alone. The new master works fine. We...
6
1247
by: Buz Waitz | last post by:
I have prepared a site on one machine, but when I move the site to the machine I wish to use as a host, I have problems. If I use a default.htm file, I have no trouble accessing the site. However,...
1
1396
by: bay_dar | last post by:
Hi, According to the information in the web.config file, if I set customErrors mode="RemoteOnly" in the web.config file then: "Display custom (friendly) messages only to users not running on the...
2
971
by: Nathan Sokalski | last post by:
I am trying to move my ASP.NET site from my XP Pro desktop to the webhosting service where I make it public. The site runs great on my desktop, where I have it in the root directory of XP Pro's...
1
308
by: rapaka.srinivas | last post by:
Hi i am having a problem with dynamic webconfig.What i am doing exactly is i am calling a fucntion in app_start event that will fetch connection string from my system registry and updates my...
5
2983
by: Paul W Smith | last post by:
My application uses two ways to connect to the Access db: Programtically: Dim sDBPath = "Data Source=D:\MCCL\AccessDB\NewMCCL.mdb;" Dim sConnString = "Provider=Microsoft.Jet.OLEDB.4.0;" &...
0
7125
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
7203
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6885
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
7379
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...
0
5462
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4908
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4588
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3081
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
656
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.