AJAX Controls

  • Thread starter Thread starter Mike TI
  • Start date Start date
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
 
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
 
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
 
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.
 
Back
Top