|
-
Oct 27th, 2006, 07:28 PM
#1
Thread Starter
Addicted Member
Website Default Page - How to Set?
I am working on a web application and have set my start up page to my website to be my user logon form frmLogon.aspx. I am using IIS and under the properties for my website I have set the start page to be frmLogon.aspx in my VS studio Project. I went to the document page of the properties page for my website and set the Enable Default content check mark to true and entered frmLogon.aspx as the first item in the list. When I tried to go to the URL for my site I was still getting the Default.htm which doesn’t exist on my site. I even removed all the other documents from the list (Default.htm, Default.Aspx…..) so that frmLogon.aspx was the only document in the list and still no luck. Does any body know what I’m doing wrong.
I’m using Visual Studio 2003, Window 2003 Server, small business edition, and I think IIS or whatever the default web server for 2003 is.
Thanks
GEM
-
Oct 27th, 2006, 08:07 PM
#2
Re: Website Default Page - How to Set?
You don't need to do all that stuff
Just copy the website folder inside the inetpub\wwwroot folder and make a virtual dir out of (from the IIS of course).
Now add your frmLogin.aspx to the default document list and everything must work.
p.s. to open the website use http://localhost/VirtualDirName/
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Oct 27th, 2006, 08:20 PM
#3
Thread Starter
Addicted Member
Re: Website Default Page - How to Set?
That works fine for local host on my computer which is XP. I did exactly has you said and it worked. I tried to do the same thing on my server which is Windows 2003 Server small business server but it didn't work. I have to type in http://MyServer/Myrta/frmLogon.aspx in order to get to my log on page. Myrta is the name of of folder.
-
Oct 27th, 2006, 08:24 PM
#4
Re: Website Default Page - How to Set?
Did you change the order for the default documents in IIS so yours is at the top of the list?
I think asp.net takes "default.aspx" as the home page?
Moved
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Oct 27th, 2006, 08:47 PM
#5
Thread Starter
Addicted Member
Re: Website Default Page - How to Set?
I have been messing with it since my last post. I created an Index.htm and added it to the list and deleted all of the other documents in the list and it worked. I then created an index.aspx and added it to the list and deleted all the other items so that index.aspx is the only item in the list and it didn't work. I haven't tried Default yet.
Do you think the fact that it's an aspx is the problem?
Does it matter whether or not it's name is default or index?
Everything runs exactly as it should once I get to my logon form. I have a ton of aspx pages in my application and they all work just fine.
-
Oct 27th, 2006, 09:43 PM
#6
Re: Website Default Page - How to Set?
I had this issue on a host. When I renamed the pagge from index.aspx to default.aspx it worked. Different hosting companies may have things set different but usually index or default are the defaults.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Oct 30th, 2006, 04:29 PM
#7
Re: Website Default Page - How to Set?
Your hosting control panel should provide this option to you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|