473,386 Members | 1,803 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,386 software developers and data experts.

first aspx file live

hi,

I have some rented web space -- it is suppose to have asp.net 2.0 loaded.

I can drop a default.aspx file in the directory and it will load. Currently
in that file i have only basic html -- no asp.net code.

If I drop a web.config file in the root directory, I then cannot get the
file to load, instead get the default error page -- which tells me if I want
to see the problem, I need to add <customErrors mode="Off"/to the
web.config file -- which I have done -- but it still shows the same default
error page and does not recognize the <customErrors mode="Off"/line. Below
is the basic config file I am using. Can anyone give me an idea of what I am
doing wrong. thanks

<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

<appSettings />

<connectionStrings />

<system.web>

<compilation defaultLanguage="vb" debug="false" />

<authentication mode="None" />

<customErrors mode="Off" />

</system.web>

</configuration>
Jan 16 '07 #1
5 1280
I can view the aspx pages just fine on my local machine using VS 2005's web
server -- even files with aspx controls.

thanks
"thersitz" <th******@gmail.comwrote in message
news:uz**************@TK2MSFTNGP04.phx.gbl...
hi,

I have some rented web space -- it is suppose to have asp.net 2.0 loaded.

I can drop a default.aspx file in the directory and it will load.
Currently in that file i have only basic html -- no asp.net code.

If I drop a web.config file in the root directory, I then cannot get the
file to load, instead get the default error page -- which tells me if I
want to see the problem, I need to add <customErrors mode="Off"/to the
web.config file -- which I have done -- but it still shows the same
default error page and does not recognize the <customErrors mode="Off"/>
line. Below is the basic config file I am using. Can anyone give me an
idea of what I am doing wrong. thanks

<configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

<appSettings />

<connectionStrings />

<system.web>

<compilation defaultLanguage="vb" debug="false" />

<authentication mode="None" />

<customErrors mode="Off" />

</system.web>

</configuration>


Jan 17 '07 #2
re:
If I drop a web.config file in the root directory, I then cannot get the file to load, instead get
the default error page
What happens if you change :
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

to:
<configuration>

?

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"thersitz" <th******@gmail.comwrote in message news:uz**************@TK2MSFTNGP04.phx.gbl...
hi,

I have some rented web space -- it is suppose to have asp.net 2.0 loaded.

I can drop a default.aspx file in the directory and it will load. Currently in that file i have
only basic html -- no asp.net code.

If I drop a web.config file in the root directory, I then cannot get the file to load, instead get
the default error page -- which tells me if I want to see the problem, I need to add <customErrors
mode="Off"/to the web.config file -- which I have done -- but it still shows the same default
error page and does not recognize the <customErrors mode="Off"/line. Below is the basic config
file I am using. Can anyone give me an idea of what I am doing wrong. thanks

<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

<appSettings />

<connectionStrings />

<system.web>

<compilation defaultLanguage="vb" debug="false" />

<authentication mode="None" />

<customErrors mode="Off" />

</system.web>

</configuration>


Jan 17 '07 #3
Thanks for the suggestion, Juan. But that did not change the problem. It
doesn't even seem to recognize the <customErrors mode="Off" /declaration
in the web.config -- but it certainly recognizes the web.config being
there -- because when it is there, the pages err -- but when I remove it,
they display. And again I have no problems viewing on my local machine.

thanks

"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:ee**************@TK2MSFTNGP02.phx.gbl...
re:
>If I drop a web.config file in the root directory, I then cannot get the
file to load, instead get the default error page

What happens if you change :
<configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

to:
<configuration>

?

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"thersitz" <th******@gmail.comwrote in message
news:uz**************@TK2MSFTNGP04.phx.gbl...
>hi,

I have some rented web space -- it is suppose to have asp.net 2.0 loaded.

I can drop a default.aspx file in the directory and it will load.
Currently in that file i have only basic html -- no asp.net code.

If I drop a web.config file in the root directory, I then cannot get the
file to load, instead get the default error page -- which tells me if I
want to see the problem, I need to add <customErrors mode="Off"/to the
web.config file -- which I have done -- but it still shows the same
default error page and does not recognize the <customErrors mode="Off"/>
line. Below is the basic config file I am using. Can anyone give me an
idea of what I am doing wrong. thanks

<configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

<appSettings />

<connectionStrings />

<system.web>

<compilation defaultLanguage="vb" debug="false" />

<authentication mode="None" />

<customErrors mode="Off" />

</system.web>

</configuration>



Jan 17 '07 #4
check with your provider if they have a web.config in the root (wwwroot)
I imagine your web.config is in the root of your personal folder

"thersitz" <th******@gmail.comwrote in message
news:uz**************@TK2MSFTNGP04.phx.gbl...
hi,

I have some rented web space -- it is suppose to have asp.net 2.0 loaded.

I can drop a default.aspx file in the directory and it will load.
Currently in that file i have only basic html -- no asp.net code.

If I drop a web.config file in the root directory, I then cannot get the
file to load, instead get the default error page -- which tells me if I
want to see the problem, I need to add <customErrors mode="Off"/to the
web.config file -- which I have done -- but it still shows the same
default error page and does not recognize the <customErrors mode="Off"/>
line. Below is the basic config file I am using. Can anyone give me an
idea of what I am doing wrong. thanks

<configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

<appSettings />

<connectionStrings />

<system.web>

<compilation defaultLanguage="vb" debug="false" />

<authentication mode="None" />

<customErrors mode="Off" />

</system.web>

</configuration>


Jan 17 '07 #5
Thanks.

I have been ftping my copy of the web.config into the root on the provider's
server. I have been on the phone with them, and the problem could be on
their end -- they are looking into it -- so hopefully this is resolved.
"RBarrand" <Ta********@cox.netwrote in message
news:uz*************@TK2MSFTNGP04.phx.gbl...
check with your provider if they have a web.config in the root (wwwroot)
I imagine your web.config is in the root of your personal folder

"thersitz" <th******@gmail.comwrote in message
news:uz**************@TK2MSFTNGP04.phx.gbl...
>hi,

I have some rented web space -- it is suppose to have asp.net 2.0 loaded.

I can drop a default.aspx file in the directory and it will load.
Currently in that file i have only basic html -- no asp.net code.

If I drop a web.config file in the root directory, I then cannot get the
file to load, instead get the default error page -- which tells me if I
want to see the problem, I need to add <customErrors mode="Off"/to the
web.config file -- which I have done -- but it still shows the same
default error page and does not recognize the <customErrors mode="Off"/>
line. Below is the basic config file I am using. Can anyone give me an
idea of what I am doing wrong. thanks

<configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

<appSettings />

<connectionStrings />

<system.web>

<compilation defaultLanguage="vb" debug="false" />

<authentication mode="None" />

<customErrors mode="Off" />

</system.web>

</configuration>



Jan 17 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Dave Smithz | last post by:
Hi There, I have taken over someone else's PHP code and am quite new to PHP. I made some changes and have implemented them to a live environment fine so far. However, I now want to setup a...
29
by: John Rivers | last post by:
Hello, What good reason there is for not allowing methods in ASPX pages I can't imagine, but here is how to get around that limitation: (START) <body MS_POSITIONING="FlowLayout"> <form...
7
by: dotnetnewbie | last post by:
I have been using .Net for over a year now mostly with Windows forms with no problems. I have just started to build a small web application with one .aspx page. It all works fine on my localhost...
4
by: orianavim | last post by:
Hi, I'm try to find an easy efficient way to generate my web pages dynamically from an xml/text file. What exactly I want? I want that whenever a pages is loaded it will go and read an...
4
by: rn5a | last post by:
Using VBC, I compiled a VB class file into a DLL named MyPro.dll. The namespace used in this class file is 'MyPro' & the public class is named 'MyClass'. This is the ASPX page which imports the...
3
by: =?Utf-8?B?UGhpbCBKb2huc29u?= | last post by:
Hi, This is an issue that happens to me and everybody else I know and I've never found a way around it. In Visual Studio (currently using 2003 but the same has happened for me in 2005 and...
11
by: K Viltersten | last post by:
In the client.js file i declare the following variable. ... var str = "info"; ... In the corresponding ASP file called server.aspx.cs i declare two following methods.
2
by: Pereira | last post by:
Hi everyone! I have a single aspx file that I want to use some Web Services located in "http://ip:port/WebService" but I don't know what to do to accomplishe that... Can someone tell me the...
8
by: AAaron123 | last post by:
I created a home page and moved to the isp. it contains 3 files: Default.aspv Default.aspx.vb web.config and the folder App.Data Using IE to point to my home page folder it displays the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...

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.