Click here to Skip to main content
15,883,946 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
I'm having the problem in configuring aspx(asp.net application) website in IIS 7. I've read the walkthroughs from MSDN site and configured successfully as a website in IIS 7, when i configure the same configurations as a virtual directory i can't able to browse my startup page. I've checked all the rights permission but nothing works,
Kindly share your suggestions.

Note: I'm using forms authenticaion.

Regards,
BlueSathish
Posted
Updated 16-Aug-13 1:01am
v2
Comments
ZurdoDev 16-Aug-13 7:37am    
Perhaps you would be so kind to share the error message. There are about 1,000,000 reasons it won't work so instead of us guessing let's narrow it down a bit.
bluesathish 16-Aug-13 8:16am    
I didnot got any errors and browse successfully if i browse the page from website in IIS, but I got the below error when i browse the page from virtual directory
"StartIndex cannot be less than zero. Parameter name: startIndex".
ZurdoDev 16-Aug-13 8:18am    
At what line of code?
bluesathish 16-Aug-13 8:22am    
it shows the errors(when i browse through virtual directory) with the header as like i mentioned the last posted comment.
ZurdoDev 16-Aug-13 8:24am    
I know. But your code is crashing at some line. Which line? What is the code giving you that error? It's likely somewhere where you are trying to determine the path.

1 solution

first check whether you have given access rights to the folder. run the sql query profiler and check whether it is connecting to the database or not.
 
Share this answer
 
Comments
bluesathish 16-Aug-13 8:17am    
No problems with database connection. I thought i've missed something in Virtual directory configuration part.

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