msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Date error

 
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Deployment
Author Message
Dan Kimhi



Joined: 04 Oct 2007
Posts: 2

PostPosted: Thu Jun 14, 2007 2:39 am    Post subject: Date error Reply with quote

I deploy an application with Date Picker on a French version of Windows XP.
It works ok, but when I run it from a different user (than the one that was
used during deployment) I get the following error:

Execution error '-2147217913(80040e07)'

The conversion of char data type to smalldatetime data type in an
out-of-range smalldatetime value.


Please help

Dan Kimhi

Archived from group: microsoft>public>vb>deployment
Back to top
View user's profile Send private message
MikeD



Joined: 04 Oct 2007
Posts: 3348

PostPosted: Wed Jun 13, 2007 10:04 pm    Post subject: Re: Date error Reply with quote

"Dan Kimhi" wrote in message @TK2MSFTNGP04.phx.gbl...
>I deploy an application with Date Picker on a French version of Windows XP.
>It works ok, but when I run it from a different user (than the one that was
>used during deployment) I get the following error:
>
> Execution error '-2147217913(80040e07)'
>
> The conversion of char data type to smalldatetime data type in an
> out-of-range smalldatetime value.

You need to provide more information if at all possible. For one, this
sounds more like a SQL Server error/issue (given the data types you
mentioned). Second, what version of VB are you using? For whatever reason,
I'm thinking you're using a .NET version (I dunno why, I guess because I've
never heard of an "Execution error" in VB6 or under). This newsgroup is for
VB6 and under. For anything .NET-related, you want a newsgroup with 'dotnet'
or 'vsnet' in the name. I also don't know what you mean by "different user
(than the one that was used during deployment)". Are you saying your app is
being run on the same PC, but under a different user than the one used to
install the app? If that's the case, was the app installed by an Admin user
(or at least a user in the Administrators group)? Also, was the app
installed for "all users"?

Again, you need to provide more information, because what you've provided so
far just isn't much to go on (not that somebody won't know or be able to
help more).

--
Mike
Microsoft MVP Visual Basic
Back to top
View user's profile Send private message
Dan Kimhi



Joined: 04 Oct 2007
Posts: 2

PostPosted: Thu Jun 14, 2007 11:39 am    Post subject: Re: Date error Reply with quote

Thanks.

It is in French. "Erreur exécution"
I have found the solution by using "yyyymmdd" date format for the sql
queries in the application


"MikeD" a écrit dans le message de news:
OyHgXbgrHHA.884@TK2MSFTNGP02.phx.gbl...
>
> "Dan Kimhi" wrote in message
> @TK2MSFTNGP04.phx.gbl...
>>I deploy an application with Date Picker on a French version of Windows
>>XP. It works ok, but when I run it from a different user (than the one
>>that was used during deployment) I get the following error:
>>
>> Execution error '-2147217913(80040e07)'
>>
>> The conversion of char data type to smalldatetime data type in an
>> out-of-range smalldatetime value.
>
> You need to provide more information if at all possible. For one, this
> sounds more like a SQL Server error/issue (given the data types you
> mentioned). Second, what version of VB are you using? For whatever
> reason, I'm thinking you're using a .NET version (I dunno why, I guess
> because I've never heard of an "Execution error" in VB6 or under). This
> newsgroup is for VB6 and under. For anything .NET-related, you want a
> newsgroup with 'dotnet' or 'vsnet' in the name. I also don't know what you
> mean by "different user (than the one that was used during deployment)".
> Are you saying your app is being run on the same PC, but under a different
> user than the one used to install the app? If that's the case, was the app
> installed by an Admin user (or at least a user in the Administrators
> group)? Also, was the app installed for "all users"?
>
> Again, you need to provide more information, because what you've provided
> so far just isn't much to go on (not that somebody won't know or be able
> to help more).
>
> --
> Mike
> Microsoft MVP Visual Basic
>
>
>
>
>

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Deployment All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group