473,327 Members | 2,094 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,327 software developers and data experts.

launch asp.net page...

I build a web page with Asp.Net. I reserve a Domain name and host space from
a professionnal Hosting.
They told me to use the file Index.html to launch my .aspx page..... HOW CAN
i DO THIS.
do you know a place wherre i can find this informations.

Thank you.
Ray.

Aug 23 '06 #1
3 3619
Hi Ray,

Create a file called Index.html in your web space and put this as the
complete content of the page:

<html>
<head>
<meta content="0;url=default.aspx" http-equiv="refresh">
</head>
</html>

Create an ASP.NET page called default.aspx and put it in your web space.

If anyone tries to view Index.html (or just the domain with no page name)
they'll be redirected to your default.aspx page.

Let us know if this helps?

Ken
Microsoft MVP [ASP.NET]
"sympatique" <u25624@uwewrote in message news:652df62032e2d@uwe...
>I build a web page with Asp.Net. I reserve a Domain name and host space
from
a professionnal Hosting.
They told me to use the file Index.html to launch my .aspx page..... HOW
CAN
i DO THIS.
do you know a place wherre i can find this informations.

Thank you.
Ray.

Aug 23 '06 #2
Hi Ken,
I follow your inscruction and I receive a server Error
<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
And an other paragraph
<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
I copy the file Web.Config on the site with the same result.
Thank you..
Ken Cox [Microsoft MVP] wrote:
>Hi Ray,

Create a file called Index.html in your web space and put this as the
complete content of the page:

<html>
<head>
<meta content="0;url=default.aspx" http-equiv="refresh">
</head>
</html>

Create an ASP.NET page called default.aspx and put it in your web space.

If anyone tries to view Index.html (or just the domain with no page name)
they'll be redirected to your default.aspx page.

Let us know if this helps?

Ken
Microsoft MVP [ASP.NET]
>>I build a web page with Asp.Net. I reserve a Domain name and host space
from
[quoted text clipped - 6 lines]
>Thank you.
Ray.
--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/For...p-net/200608/1

Aug 23 '06 #3
Thank You Ken for your explanation. This code work very well.
Now I have an additional question... What is the syntax for linking an Image
in the current folder what ever if
the picture is on the hard disk during the designing or on the ftp site for
the hosting. Of course i have upload the picture to the ftp site too.
Thank you again.
PS: My projet is on ASP.Net

Ken Cox [Microsoft MVP] wrote:
>Hi Ray,

Create a file called Index.html in your web space and put this as the
complete content of the page:

<html>
<head>
<meta content="0;url=default.aspx" http-equiv="refresh">
</head>
</html>

Create an ASP.NET page called default.aspx and put it in your web space.

If anyone tries to view Index.html (or just the domain with no page name)
they'll be redirected to your default.aspx page.

Let us know if this helps?

Ken
Microsoft MVP [ASP.NET]
>>I build a web page with Asp.Net. I reserve a Domain name and host space
from
[quoted text clipped - 6 lines]
>Thank you.
Ray.
--
Message posted via http://www.dotnetmonster.com

Aug 26 '06 #4

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

Similar topics

10
by: scott | last post by:
From an asp page, i'm trying to auto-open a pop-up page if something exists. I can do this within access via vba using below code. Anyone know how I could modify the below js to auto-lauch from...
4
by: Caroline | last post by:
I'd like to launch an executable file from a web page. Basically, the user enters seven parameters and then clicks a button to generate a graph. The input is written to a file and then read by...
4
by: aure_bobo | last post by:
Hi all, I'm currently developping a web app, and this one must be compatible with IE and Mozilla Firefox. In this webapp, I would like to launch automatically a anchor link (href) with a...
2
by: nss | last post by:
hi, I created web page ( .aspx) then i imported datagrid on that page with dataset. But when i launch the page on web server the datagrid is invisiable. Can someone help me how i can make it...
1
by: Jacob | last post by:
I have several web apps that I want to redirect to a new page, but have that page open in a new browser window. The basic scenario is that I have a CrystalReport object that gets created and...
5
by: Frank | last post by:
The following code will not work in my shtml page at all and I can not figure out the reason. I get the error that there is a "Type Mismatch 'Launch'" when i click the button. If i change the...
7
by: dinamointer | last post by:
Could you help me in this problem: I want to launch an exe file(executable jar file) from a web page. I use jsp...and i cannot use vbScript...? could u tell me how should i do it? Thanks
11
by: David Thielen | last post by:
Hi; In a page, when the user clicks on a button, I want to validate all the controls (in the code behind) and then if they are good, leave that page alone and launch a new window with a new url...
7
by: dongarbage | last post by:
Hi there, I'm very new to activex controls and c# programming. I'm writing a c# application and I want it to be invoked when my users click a button on a web page. Its an application with a...
6
by: efultz | last post by:
I am trying to figure out how to click on a button and have it open a web page. I am not asking for the logic to handle the click. Moreover I am looking for the logic that I need to run to actually...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.