|
|
Hi, i use this program on windows x86 and i dont have any problem.
But when i use on windows x64 apearce a mistake. Error!
Exception caught in Main()
---------------------------------------
Could not load file or assembly 'Microsoft.SqlServer.BatchParser, Version=9.0.24
2.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencie
s. The system cannot find the file specified.
System.IO.FileNotFoundException
at Microsoft.SqlServer.Management.Common.ServerConnection.GetStatements(Strin
g query, ExecutionTypes executionType, Int32& statementsToReverse)
at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(Str
ing sqlCommand, ExecutionTypes executionType)
at Microsoft.SqlServer.Management.Smo.ExecuteSql.ExecuteImmediate(String quer
y)
at Microsoft.SqlServer.Management.Smo.ExecuteSql.GetDataProvider(StringCollec
tion query, Object con, StatementBuilder sb, RetriveMode rm)
at Microsoft.SqlServer.Management.Smo.SqlObjectBase.FillData(ResultType resul
tType, StringCollection sql, Object connectionInfo, StatementBuilder sb)
at Microsoft.SqlServer.Management.Smo.SqlObjectBase.FillDataWithUseFailure(Sq
lEnumResult sqlresult, ResultType resultType)
at Microsoft.SqlServer.Management.Smo.SqlObjectBase.BuildResult(EnumResult re
sult)
at Microsoft.SqlServer.Management.Smo.Environment.GetData()
at Microsoft.SqlServer.Management.Smo.Environment.GetData(Request req, Object
ci)
at Microsoft.SqlServer.Management.Smo.Enumerator.GetData(Object connectionInf
o, Request request)
at Microsoft.SqlServer.Management.Smo.SqlSmoObject.InitChildLevel(Urn levelFi
lter, ScriptingOptions so, Boolean forScripting)
at Microsoft.SqlServer.Management.Smo.SmoCollectionBase.InitializeChildCollec
tion(Boolean refresh)
at Microsoft.SqlServer.Management.Smo.SmoCollectionBase.GetEnumerator()
at Elsasoft.ScriptDb.DatabaseScripter.ScriptTables(Boolean verbose, Database
db, ScriptingOptions so, String outputDirectory, Boolean scriptData)
at Elsasoft.ScriptDb.DatabaseScripter.GenerateScript(String connStr, String o
utputDirectory, Boolean scriptData, Boolean verbose, Boolean scriptProperties)
at Elsasoft.ScriptDb.Program.Main(String[] args)
---------------------------------------
Can Help me?
Thnks!
|
|
|
|
I found the solution.
The problem was the sql server was installed with the version x86 and dont haven the XMO x64, to ejecute correctly the applicacion.
http://download.microsoft.com/download/4/4/D/44DBDE61-B385-4FC2-A67D-48053B8F9FAD/SQLServer2005_XMO_x64.msi
This is the end!!
THANKS FOR ALL!!
Rodrigo.-
|
|