Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Problem installing blank DNNProblem installing blank DNN
Previous
 
Next
New Post
1/18/2016 2:43 PM
 

Hello im obtaining this problem: 

 0:24 Minutes   |   18% ERROR occured - System.Data.SqlClient.SqlException (0x80131904): La conversión del tipo de datos varchar en datetime produjo un valor fuera de intervalo. Se terminó la instrucción. at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteScriptInternal(String connectionString, String script) ClientConnectionId:14dd5ffa-52c2-4bb1-bed6-96472221b7bd Error Number:242,State:3,Class:16 -- DNN-8141 END -- CONTENT-5617 Page Settings Error: 12/31/9999 11:59:59 PM' is not valid for 'SelectedDate' IF OBJECT_ID(N'dbo.[Tabs]', N'U') IS NOT NULL UPDATE dbo.[Tabs] SET EndDate = NULL WHERE EndDate >= '9999-12-31'

Trying to do a blank install with DNN 8.0 downloaded from http://dotnetnuke.codeplex.com/

Windows Server 2012 Standard
SQL Server 2012 standard

in the same machine there are others previous DNN running without problems

 Any idea welcome

 
New Post
1/18/2016 11:21 PM
 
My guess is it has to do with the date format and a setting you have in SQL for dates and your locale.

Any chance you can try the Default template in DNN8 and see if it causes the same problem?

It might also be something you can easily change in the .template file (it should just be XML) and then try the install again.

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
1/19/2016 3:57 AM
 
this is a SQL Server data type issue, '9999-12-31' is not a valid value for DateTime, only for DateTime2.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/19/2016 11:16 AM
 

Javiero,

I had the same problem with a German SQL Server. I solved it by changing the file 08.00.00.29.SqlDataProvider (in ~\Providers\DataProviders\SqlDataProvider) a bit before startng the installation. At the very end of the file, insert the red line:

-- CONTENT-5617	Page Settings Error: 12/31/9999 11:59:59 PM' is not valid for 'SelectedDate'
SET LANGUAGE US_ENGLISH

IF OBJECT_ID(N'{databaseOwner}[{objectQualifier}Tabs]', N'U') IS NOT NULL
	UPDATE {databaseOwner}[{objectQualifier}Tabs]
	SET EndDate = NULL
	WHERE EndDate >= '9999-12-31'
GO

-- CONTENT-5617 END

Happy DNNing!
Michael

 


Michael Tobisch
DNN★MVP

dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
1/19/2016 12:12 PM
 
Michael, has worked, I modified the file you indicate and installed without problems. Thank you!

Why not update the source code in that file with the SET LANGUAGE US_ENGLISH? May be other users are having this problem.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Problem installing blank DNNProblem installing blank DNN


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out