1
Vote

Server Error in '/' Application.

description

Hi, I set up a new VideoShow website under IIS7 (the other is Default). I have added in the required MIME. I set the following:
 
VideoShow website
IP Address: Unassigned (my PC's IP address is dynamic)
Port: 82
 
Default website
IP Address: Unassigned
Port: 81
 
On the right hand side of IIS7, I clicked on "Browse *:82 (http)" for VideoShow website. A new browser opens up and following error is encountered:
 
 
User does not have permission to perform this action.
 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
 
Exception Details: System.Data.SqlClient.SqlException: User does not have permission to perform this action.
 
Source Error:
 
 
Line 28: }
Line 29: }
Line 30: MembershipUser user = Membership.GetUser();
Line 31:
Line 32: popularTags = TagBO.GetPopularTags(20);
 
Source File: C:\Users\Lee Zhi Chien\Desktop\Video.Show\Video.Show\Web\Default.aspx.cs Line: 30
 
The code is running well in Visual Studio. I have running out of ideas what's wrong with the database. Please help. Thank you.

comments