AJAX Controls

M

Mike TI

October 17, 2007
06:00pm

Hi all

I am new to ASP Net 2.

- I created an AJAX enabled Web Project.
- I created a Master Page, added a Web Form named it as "Home" with
reference to the Master Page.
- I marked the above "Home" page as the Startup Page
- The page "Default" exists.

Questions:

1. When I run the Web Project locally, it works fine. However when I deploy
it, the "Default" page is displayed which is blank. If I run entering the
following URL it works fine www.xxxx.com/home.aspx

2. The "Default" page contains a script. Is it necessary that this page
should be the first and must be run for the AJAX controls to work.

3. What should I do to make the "Default" page run the above "Home" page
immediately when the URL www.xxxx.com is entered.

Thank you in advance

Mike TI
 
J

Jon

October 17, 2007
06:00pm

Hi all

I am new to ASP Net 2.

- I created an AJAX enabled Web Project.
- I created a Master Page, added a Web Form named it as "Home" with
reference to the Master Page.
- I marked the above "Home" page as the Startup Page
- The page "Default" exists.

Questions:

1. When I run the Web Project locally, it works fine. However when I deploy
it, the "Default" page is displayed which is blank. If I run entering the
following URL it works finewww.xxxx.com/home.aspx

2. The "Default" page contains a script. Is it necessary that this page
should be the first and must be run for the AJAX controls to work.

3. What should I do to make the "Default" page run the above "Home" page
immediately when the URLwww.xxxx.comis entered.

Thank you in advance

Mike TI

Hello mate.

This is because IIS is using a different page as it's default page.
You will need to tell IIS that the default page is home.aspx or rename
it to default.aspx

Hope this help.

Jon.
www.nantwichonline.com
 
A

Alexey Smirnov

October 17, 2007
06:00pm

Hi all

I am new to ASP Net 2.

- I created an AJAX enabled Web Project.
- I created a Master Page, added a Web Form named it as "Home" with
reference to the Master Page.
- I marked the above "Home" page as the Startup Page
- The page "Default" exists.

Questions:

1. When I run the Web Project locally, it works fine. However when I deploy
it, the "Default" page is displayed which is blank. If I run entering the
following URL it works finewww.xxxx.com/home.aspx

IIS - website properties - Documents tab
 
A

Alexey Smirnov

October 17, 2007
06:00pm

Hi all

I am new to ASP Net 2.

- I created an AJAX enabled Web Project.
- I created a Master Page, added a Web Form named it as "Home" with
reference to the Master Page.
- I marked the above "Home" page as the Startup Page
- The page "Default" exists.

Questions:

1. When I run the Web Project locally, it works fine. However when I deploy
it, the "Default" page is displayed which is blank. If I run entering the
following URL it works finewww.xxxx.com/home.aspx

You have to "mark" home.aspx as a default page on IIS. By default, IIS
looking for default.aspx. Go to IIS, website properties, Documents tab.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top