PDA

View Full Version : Lỗi gunny gì đây các bạn



hadimx4
08-05-12, 05:25 PM
mình mới làm xong sv xong bật sv vegiryto và vào 127.0.0.1:80 thì lỗi này
Directory Listing Denied
This Virtual Directory does not allow contents to be listed.

hadimx4
08-05-12, 05:39 PM
upppppppppppppppppppppppppppppppppppp

global1
08-05-12, 05:46 PM
upppppppppppppppppppppppppppppppppppp
Bạn vào trong IIS management tạo 1 Virtual Directory chỉ đườn dẫn tới folder mà bạn muốn là ok

hadimx4
08-05-12, 07:20 PM
Vào chỗ đăng kí acc thì bị như này Server Error in '/Register' Application.

Could not find stored procedure 'dbo.st_add_Account'.

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: Could not find stored procedure 'dbo.st_add_Account'.

Source Error:


Line 65: public int st_add_Account([global::System.Data.Linq.Mapping.ParameterAttribut e(Name="Username", DbType="VarChar(32)")] string username, [global::System.Data.Linq.Mapping.ParameterAttribut e(Name="Password", DbType="VarChar(200)")] string password, [global::System.Data.Linq.Mapping.ParameterAttribut e(Name="Email", DbType="VarChar(200)")] string email)
Line 66: {
Line 67: IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), username, password, email);
Line 68: return ((int)(result.ReturnValue));
Line 69: }

Source File: c:\Inetpub\<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b> es.designer.cs Line: 67

Stack Trace:


[SqlException (0x80131904): Could not find stored procedure 'dbo.st_add_Account'.]
System.Data.SqlClient.SqlConnection.OnError(SqlExc eption exception, Boolean breakConnection) +2030802
System.Data.SqlClient.SqlInternalConnection.OnErro r(SqlException exception, Boolean breakConnection) +5009584
System.Data.SqlClient.TdsParser.ThrowExceptionAndW arning() +234
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2275
System.Data.SqlClient.SqlCommand.FinishExecuteRead er(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +215
System.Data.SqlClient.SqlCommand.RunExecuteReaderT ds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +987
System.Data.SqlClient.SqlCommand.RunExecuteReader( CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +162
System.Data.SqlClient.SqlCommand.InternalExecuteNo nQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +178
System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +137
System.Data.Linq.SqlClient.SqlProvider.Execute(Exp ression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult) +316
System.Data.Linq.SqlClient.SqlProvider.ExecuteAll( Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries) +113
System.Data.Linq.SqlClient.SqlProvider.System.Data .Linq.Provider.IProvider.Execute(Expression query) +344
System.Data.Linq.DataContext.ExecuteMethodCall(Obj ect instance, MethodInfo methodInfo, Object[] parameters) +83
SQL_DataClassesDataContext.st_add_Account(String username, String password, String email) in c:\Inetpub\<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b> es.designer.cs:67
_Default.form1_Submit(Object sender, EventArgs e) in c:\Inetpub\<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>
System.Web.UI.WebControls.ImageButton.OnClick(Imag eClickEventArgs e) +113
System.Web.UI.WebControls.ImageButton.RaisePostBac kEvent(String eventArgument) +120
System.Web.UI.WebControls.ImageButton.System.Web.U I.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5345

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

duyhungvt
08-05-12, 07:49 PM
Vào chỗ đăng kí acc thì bị như này Server Error in '/Register' Application.

Could not find stored procedure 'dbo.st_add_Account'.

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: Could not find stored procedure 'dbo.st_add_Account'.

Source Error:


Line 65: public int st_add_Account([global::System.Data.Linq.Mapping.ParameterAttribut e(Name="Username", DbType="VarChar(32)")] string username, [global::System.Data.Linq.Mapping.ParameterAttribut e(Name="Password", DbType="VarChar(200)")] string password, [global::System.Data.Linq.Mapping.ParameterAttribut e(Name="Email", DbType="VarChar(200)")] string email)
Line 66: {
Line 67: IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), username, password, email);
Line 68: return ((int)(result.ReturnValue));
Line 69: }

Source File: c:\Inetpub\<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b> es.designer.cs Line: 67

Stack Trace:


[SqlException (0x80131904): Could not find stored procedure 'dbo.st_add_Account'.]
System.Data.SqlClient.SqlConnection.OnError(SqlExc eption exception, Boolean breakConnection) +2030802
System.Data.SqlClient.SqlInternalConnection.OnErro r(SqlException exception, Boolean breakConnection) +5009584
System.Data.SqlClient.TdsParser.ThrowExceptionAndW arning() +234
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2275
System.Data.SqlClient.SqlCommand.FinishExecuteRead er(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +215
System.Data.SqlClient.SqlCommand.RunExecuteReaderT ds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +987
System.Data.SqlClient.SqlCommand.RunExecuteReader( CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +162
System.Data.SqlClient.SqlCommand.InternalExecuteNo nQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +178
System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +137
System.Data.Linq.SqlClient.SqlProvider.Execute(Exp ression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult) +316
System.Data.Linq.SqlClient.SqlProvider.ExecuteAll( Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries) +113
System.Data.Linq.SqlClient.SqlProvider.System.Data .Linq.Provider.IProvider.Execute(Expression query) +344
System.Data.Linq.DataContext.ExecuteMethodCall(Obj ect instance, MethodInfo methodInfo, Object[] parameters) +83
SQL_DataClassesDataContext.st_add_Account(String username, String password, String email) in c:\Inetpub\<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b> es.designer.cs:67
_Default.form1_Submit(Object sender, EventArgs e) in c:\Inetpub\<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>
System.Web.UI.WebControls.ImageButton.OnClick(Imag eClickEventArgs e) +113
System.Web.UI.WebControls.ImageButton.RaisePostBac kEvent(String eventArgument) +120
System.Web.UI.WebControls.ImageButton.System.Web.U I.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5345

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

chưa chạy mấy cái query à ;))

hadimx4
08-05-12, 08:28 PM
Lỗi đến 99% là bị đis fjx kiểu gì thế

hadimx4
09-05-12, 07:11 AM
uppppppppppppppppppppppppppppppppp

hadimx4
09-05-12, 07:28 AM
upppppppppppppppppppppppppppppp

bachugacon122
09-05-12, 01:55 PM
Lỗi đến 99% là bị đis fjx kiểu gì thế

Đơn giản là do pass sai8->8->8->8->8->