Hello,
I have issues adding a new content database to my sharepoint farm.
I keep getting this:
"Invalid EXECUTE statement using object "Relation", method "SetUseVarDecimal". at System.Data.SqlClient.SqlC
onnection.
OnError(Sq
lException
exception, Boolean breakConnection)
at System.Data.SqlClient.SqlI
nternalCon
nection.On
Error(SqlE
xception exception, Boolean breakConnection)
at System.Data.SqlClient.TdsP
arser.Thro
wException
AndWarning
(TdsParser
StateObjec
t stateObj)
at System.Data.SqlClient.TdsP
arser.Run(
RunBehavio
r runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlC
ommand.Run
ExecuteNon
QueryTds(S
tring methodName, Boolean async)
at System.Data.SqlClient.SqlC
ommand.Int
ernalExecu
teNonQuery
(DbAsyncRe
sult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlC
ommand.Exe
cuteNonQue
ry()
at Microsoft.SharePoint.Utili
ties.SqlSe
ssion.Exec
uteScript(
TextReader
textReader, Int32 commandTimeout)
at Microsoft.SharePoint.Utili
ties.SqlSe
ssion.Exec
uteScript(
String path, Int32 commandTimeout)
at Microsoft.SharePoint.Upgra
de.SPUtili
ty.Execute
SqlFile(Sq
lSession sqlSession, ISqlSession isqlSession, SqlFile sqlFileId, Int32 timeOut)
at Microsoft.SharePoint.Upgra
de.SPUtili
ty.Execute
SqlFile(Sq
lSession sqlSession, SqlFile sqlFileId)
at Microsoft.SharePoint.Admin
istration.
SPDatabase
.Provision
(SqlConnec
tionString
Builder connectionString, SqlFile sqlFileId, String sqlSignaturePath, Dictionary`2 options)
at Microsoft.SharePoint.Admin
istration.
SPContentD
atabase.Pr
ovision()
at Microsoft.SharePoint.Admin
istration.
SPContentD
atabaseCol
lection.Ad
d(SPConten
tDatabase database, Boolean provision, Boolean allowUpgrade)
at Microsoft.SharePoint.Admin
istration.
SPContentD
atabaseCol
lection.Ad
d(Guid newDatabaseId, String strDatabaseServer, String strDatabaseName, String strDatabaseUsername, String strDatabasePassword, Int32 warningSiteCount, Int32 maximumSiteCount, Int32 status, Boolean provision, Boolean allowUpgrade)
at Microsoft.SharePoint.Admin
istration.
SPContentD
atabaseCol
lection.Ad
d(String strDatabaseServer, String strDatabaseName, String strDatabaseUsername, String strDatabasePassword, Int32 warningSiteCount, Int32 maximumSiteCount, Int32 status, Boolean provision, Boolean allowUpgrade)
at Microsoft.SharePoint.Appli
cationPage
s.NewConte
ntDBPage.B
tnSubmit_C
lick(Objec
t sender, EventArgs e)
at System.Web.UI.WebControls.
Button.OnC
lick(Event
Args e)
at System.Web.UI.WebControls.
Button.Rai
sePostBack
Event(Stri
ng eventArgument)
at System.Web.UI.WebControls.
Button.Sys
tem.Web.UI
.IPostBack
EventHandl
er.RaisePo
stBackEven
t(String eventArgument)
at System.Web.UI.Page.RaisePo
stBackEven
t(IPostBac
kEventHand
ler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePo
stBackEven
t(NameValu
eCollectio
n postData)
at System.Web.UI.Page.Process
RequestMai
n(Boolean includeStagesBeforeAsyncPo
int, Boolean includeStagesAfterAsyncPoi
nt) "
Troubleshoot issues with Windows SharePoint Services.
Start Free Trial