TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
How to Set Default Page Using Web.Config in ASP.NET
Senzeye
Jan 22, 2016
120
k
0
1
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
If Login.aspx form set to default form use to web.config file . add below
Using Asp.Net.
<
system.webServer
>
<
httpErrors
errorMode
=
"Detailed"
/>
<
asp
scriptErrorSentToBrowser
=
"true"
/>
<
validation
validateIntegratedModeConfiguration
=
"false"
/>
<
handlers
>
<
add
name
=
"ReportViewerWebControlHandler"
preCondition
=
"integratedMode"
verb
=
"*"
path
=
"Reserved.ReportViewerWebControl.axd"
type
=
"Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"
/>
</
handlers
>
<
defaultDocument
enabled
=
"true"
>
<
files
>
<
add
value
=
"Login.aspx"
/>
</
files
>
</
defaultDocument
>
</
system.webServer
>
Set Default Page
Web.Config
Asp.net
Next Recommended Reading
How To Set Default In ASP.NET MVC