PDA

View Full Version : Lỗi đăng kí gunny!



pthinh145
13-10-12, 09:09 PM
các bạn ơi mình bị lỗi đăng kí nay có ai giúp dc mình ko

Server Error in '/Register' Application.
________________________________________
<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>
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.

<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>

Source Error:

Line 65: public int SP_Account_Register([global::System.Data.Linq.Mapping.ParameterAttribut e(Name="UserName", DbType="VarChar(200)")] string userName, [global::System.Data.Linq.Mapping.ParameterAttribut e(Name="PassWord", DbType="VarChar(200)")] string passWord, [global::System.Data.Linq.Mapping.ParameterAttribut e(Name="NickName", DbType="VarChar(50)")] string nickName, [global::System.Data.Linq.Mapping.ParameterAttribut e(Name="Sex", DbType="Bit")] System.Nullable<bool> sex, [global::System.Data.Linq.Mapping.ParameterAttribut e(Name="Money", DbType="Int")] System.Nullable<int> money, [global::System.Data.Linq.Mapping.ParameterAttribut e(Name="Gold", DbType="Int")] System.Nullable<int> gold, [global::System.Data.Linq.Mapping.ParameterAttribut e(Name="GiftToken", DbType="Int")] System.Nullable<int> giftToken)
Line 66: {
Line 67: IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), userName, passWord, nickName, sex, money, gold, giftToken);
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> Classes.designer.cs Line: 67

Stack Trace:

<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.Data.SqlClient.SqlConnection.OnError(SqlExc eption exception, Boolean breakConnection) +109
System.Data.SqlClient.SqlInternalConnection.OnErro r(SqlException exception, Boolean breakConnection) +126
System.Data.SqlClient.TdsParser.ThrowExceptionAndW arning() +238
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2312
System.Data.SqlClient.SqlCommand.FinishExecuteRead er(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +164
System.Data.SqlClient.SqlCommand.RunExecuteReaderT ds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +1034
System.Data.SqlClient.SqlCommand.RunExecuteReader( CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +242
System.Data.SqlClient.SqlCommand.InternalExecuteNo nQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +295
System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +132
System.Data.Linq.SqlClient.SqlProvider.Execute(Exp ression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult) +320
System.Data.Linq.SqlClient.SqlProvider.ExecuteAll( Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries) +115
System.Data.Linq.SqlClient.SqlProvider.System.Data .Linq.Provider.IProvider.Execute(Expression query) +355
System.Data.Linq.DataContext.ExecuteMethodCall(Obj ect instance, MethodInfo methodInfo, Object[] parameters) +76
tankDataClassesDataContext.SP_Account_Register(Str ing userName, String passWord, String nickName, Nullable`1 sex, Nullable`1 money, Nullable`1 gold, Nullable`1 giftToken) 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

bombom859
14-10-12, 06:12 AM
Nếu trong <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> có file register thì kiểm tra xem đã tạo 1 cái application cho nó trong IIS chưa ?

pthinh145
16-10-12, 05:02 PM
mình ko hiểu bạn có thể nói rõ hơn dc ko vì minh thử register cua các bản khác cũng ko dc và mình đã tạo nó trong IIS rồi