New Installation remont SQL serverDatabase with login user

Topics: Administration, Core, General, Installing Orchard
Nov 17, 2014 at 12:47 PM
Hello guys

i had create empty database on my sql server with login user and make it owner of this empty database after that i run installation Setup of Orchard

here is my connection string
data source=SERVERNAME.COM;initial catalog=DATABASE_NAME;persist security info=True;user id=USERNAME;password=PASSWORD

after i run the setup i get this

Setup failed: could not execute query
[ select TOP (1) datamigrat0_.Id as Id19_, datamigrat0_.DataMigrationClass as DataMigr2_19_, datamigrat0_.Version as Version19_ from Orchard_Framework_DataMigrationRecord datamigrat0_ where datamigrat0_datamigrat0_.DataMigrationClass=@p0 ]
Name:p1 - Value:Orchard.Core.Settings.Migrations
[SQL: select TOP (1) datamigrat0_.Id as Id19_, datamigrat0_.DataMigrationClass as DataMigr2_19_, datamigrat0_.Version as Version19_ from Orchard_Framework_DataMigrationRecord datamigrat0_ where datamigrat0_datamigrat0_.DataMigrationClass=@p0] and i'm able to connect to my sql server database i'm not sure if there is any permission required i'm not sure of that

and here is my log
2014-11-17 14:36:59,196 [11] Orchard.Environment.DefaultBuildManager - Default - Error when compiling assembly under ~/Themes/PJS.Bootstrap/PJS.Bootstrap.csproj.
System.Web.HttpParseException (0x80004005): Error compiling module "PJS.Bootstrap" from file "/OrchardLocal/Themes/PJS.Bootstrap/PJS.Bootstrap.csproj":
Could not find file 'C:\Users\Ahmad.Kabakibi\Desktop\My Projects SMG\Web Application\Orchard\SMG.CMS\src\Orchard.Web\Themes\PJS.Bootstrap\MainMenu.cs'. ---> Orchard.OrchardCoreException: Error compiling module "PJS.Bootstrap" from file "/OrchardLocal/Themes/PJS.Bootstrap/PJS.Bootstrap.csproj":
Could not find file 'C:\Users\Ahmad.Kabakibi\Desktop\My Projects SMG\Web Application\Orchard\SMG.CMS\src\Orchard.Web\Themes\PJS.Bootstrap\MainMenu.cs'. ---> System.IO.FileNotFoundException: Could not find file 'C:\Users\Ahmad.Kabakibi\Desktop\My Projects SMG\Web Application\Orchard\SMG.CMS\src\Orchard.Web\Themes\PJS.Bootstrap\MainMenu.cs'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at System.Web.Hosting.MapPathBasedVirtualFile.Open()
   at Orchard.FileSystems.VirtualPath.DefaultVirtualPathProvider.OpenFile(String virtualPath) in c:\Users\Ahmad.Kabakibi\Desktop\My Projects SMG\Web Application\Orchard\SMG.CMS\src\Orchard\FileSystems\VirtualPath\DefaultVirtualPathProvider.cs:line 107
   at Orchard.Environment.Extensions.Compilers.DefaultExtensionCompiler.GetContents(String virtualPath) in c:\Users\Ahmad.Kabakibi\Desktop\My Projects SMG\Web Application\Orchard\SMG.CMS\src\Orchard\Environment\Extensions\Compilers\DefaultExtensionCompiler.cs:line 129
   at Orchard.Environment.Extensions.Compilers.DefaultExtensionCompiler.CreateCompileUnit(String virtualPath) in c:\Users\Ahmad.Kabakibi\Desktop\My Projects SMG\Web Application\Orchard\SMG.CMS\src\Orchard\Environment\Extensions\Compilers\DefaultExtensionCompiler.cs:line 117
   at Orchard.Environment.Extensions.Compilers.DefaultExtensionCompiler.Compile(CompileExtensionContext context) in c:\Users\Ahmad.Kabakibi\Desktop\My Projects SMG\Web Application\Orchard\SMG.CMS\src\Orchard\Environment\Extensions\Compilers\DefaultExtensionCompiler.cs:line 59
   --- End of inner exception stack trace ---
   at Orchard.Environment.Extensions.Compilers.DefaultExtensionCompiler.Compile(CompileExtensionContext context) in c:\Users\Ahmad.Kabakibi\Desktop\My Projects SMG\Web Application\Orchard\SMG.CMS\src\Orchard\Environment\Extensions\Compilers\DefaultExtensionCompiler.cs:line 112
   at Orchard.Environment.Extensions.Compilers.CSharpExtensionBuildProviderShim.GenerateCode(AssemblyBuilder assemblyBuilder) in c:\Users\Ahmad.Kabakibi\Desktop\My Projects SMG\Web Application\Orchard\SMG.CMS\src\Orchard\Environment\Extensions\Compilers\CSharpExtensionBuildProviderShim.cs:line 32
   at System.Web.Compilation.AssemblyBuilder.AddBuildProvider(BuildProvider buildProvider)
   at System.Web.Compilation.AssemblyBuilder.AddBuildProvider(BuildProvider buildProvider)
   at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()
   at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
   at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetCompiledAssembly(String virtualPath)
   at Orchard.Environment.DefaultBuildManager.GetCompiledAssembly(String virtualPath) in c:\Users\Ahmad.Kabakibi\Desktop\My Projects SMG\Web Application\Orchard\SMG.CMS\src\Orchard\Environment\IBuildManager.cs:line 53
Developer
Nov 17, 2014 at 8:22 PM
Try attaching a debugger so you can see the exception details. It will tell you what's going on.