Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya
You last visited: Today at 17:19

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



error 0

Discussion on error 0 within the Shaiya forum part of the MMORPGs category.

Reply
 
Old 02/17/2011, 21:33   #31
 
topazee's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 120
Received Thanks: 74
Msg 242, Level 16, State 3, Line 1
The conversion of a char data type DATETIME returned a value out of range for date and time.
The statement has been terminated.
topazee is offline  
Old 02/17/2011, 21:42   #32
 
topazee's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 120
Received Thanks: 74
apparently it must be the date and time that is the problem
topazee is offline  
Old 02/17/2011, 22:31   #33
 
abrasive's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 262
Received Thanks: 809
Ya, it is something with the datetime. But that datetime is a valid datetime in the US. I think it may have something to do with how different countries write datetime.

See if this works:
Code:
SET DATEFORMAT YMD;
INSERT INTO PointLog(UseType,UserUID,CharID,UsePoint,ProductCode,UseDate)
VALUES(1,1,3,349,'AC_1000 75_1','2011-02-17 19:41:38');
abrasive is offline  
Old 02/18/2011, 05:17   #34
 
topazee's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 120
Received Thanks: 74
always error

Msg 208, Level 16, State 1, Line 2
Nom d'objet 'PointLog' non valide
topazee is offline  
Old 02/18/2011, 05:21   #35
 
topazee's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 120
Received Thanks: 74
I think sql server management studio is in French for which I have the error written in French
topazee is offline  
Old 02/18/2011, 16:28   #36
 
abrasive's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 262
Received Thanks: 809
What if you explicitly tell it the location of PointLog, like this?

Code:
SET DATEFORMAT YMD;
INSERT INTO PS_GameData.dbo.PointLog(UseType,UserUID,CharID,UsePoint,ProductCode,UseDate)
VALUES(1,1,3,349,'AC_1000 75_1','2011-02-17 19:41:38');
abrasive is offline  
Old 02/18/2011, 17:44   #37
 
topazee's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 120
Received Thanks: 74
here's what gives me

topazee is offline  
Old 02/18/2011, 19:02   #38
 
abrasive's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 262
Received Thanks: 809
It looked like that worked then, so probably your SQL Server expects dates to be in some format other than YMD.

You can try adding
Code:
SET DATEFORMAT YMD;
into your [dbo].[usp_Save_User_BuyPointItems_NCash] stored procedure and it should fix that varchar to datetime conversion error you were getting there.
abrasive is offline  
Old 02/18/2011, 19:50   #39
 
topazee's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 120
Received Thanks: 74
I have tried to add it gave me this message


(1 row (s) affected)
topazee is offline  
Old 02/18/2011, 19:59   #40
 
abrasive's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 262
Received Thanks: 809
Quote:
Originally Posted by topazee View Post
I have tried to add it gave me this message


(1 row (s) affected)
When you updated your stored procedure? or when?
abrasive is offline  
Old 02/19/2011, 06:46   #41
 
topazee's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 120
Received Thanks: 74
When I carried the new query code and then execute it gives me

(1 row (s) affected)
topazee is offline  
Old 02/21/2011, 07:20   #42
 
topazee's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 120
Received Thanks: 74
I just still do not buy item mall
topazee is offline  
Reply


Similar Threads Similar Threads
Crossfire error send error report? was kann man tun
08/24/2011 - CrossFire - 14 Replies
wenn ich crossfire starte kommt nach den hgw game watcher diese nachricht



All times are GMT +2. The time now is 17:19.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.