Click here to Skip to main content
15,905,912 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I uploaded a website to the server and I have set Login.aspx as its start page. At first it showed a connection string error. I corrected the error and now it's showing a blank page.

Can anyone help me with this error?
Posted
Updated 14-Feb-11 23:51pm
v2
Comments
Sandeep Mewara 15-Feb-11 3:34am    
To less an information to suggest anything!

Did you try to use DEBUGGER?
[no name] 15-Feb-11 3:52am    
Debug it and tell me what error code? without that we can't help.
Ashishmau 15-Feb-11 4:05am    
If you have configured your website on IIS, then this problem happens when you have not set your default page in IIS.
Set your Login page as Default page and try......
good luck...........

My guess:

It is possible that IIS does not have a clue about Login.aspx and is expecting Default.aspx. If you open the Internet Information Services Manager and expand the view until you see 'Default Web Site', right click and select 'Properties'. From there, select the 'Documents' tab. Ensure that 'Enable default content page' is checked and then add your page to the list. In fact you should really do this at your application level unless you want to set it globally for all websites.

On the other hand you could rename the page to Default.aspx if that would not cause other problems.
 
Share this answer
 
what is the error number, give more details about the error so we can help you more..
 
Share this answer
 
Comments
R. Giskard Reventlov 15-Feb-11 10:31am    
This should have been a comment, not an answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900