Reputation: 63
In my project Index.aspx
page is set as a default document.
I tried to debug is not firing the button click event on localhost:1992
,but it is working perfectly on localhost:1992/Index.aspx
.
ISSUE : project working in localhost:1992/Index.aspx
not working localhost:1992
Kindly give the solution for this issue?
UPDATE
I've set Index.aspx
page as the startup page
NOTE : Client side click is working. only server side click is the problem here.
Upvotes: 2
Views: 174
Reputation: 39966
Because you haven't specified a page as a startup page.
Right click on the page you want to be the start page and then click on the set as a start up page option.
Upvotes: 3
Reputation: 1095
You can do this by editing web.config file,
<system.webServer>
<defaultDocument>
<files>
<clear />
<add value="index.aspx"/>
</files>
</defaultDocument>
</system.webServer>
Use clear tag before add tag
Upvotes: 0