문제

I've created a project in installshiel program uses SQL Server 2008 and written in C#.

Everything works fine and scripts of database also works fine but I had error when trying to install program which is created by installshield

error is

Error 27506. Error executing SQL script db_name.sql. Line 9
The CREATE DATABASE statement failed. The primary file must be at least 3 MB to accomodate a copy of the model database. (1803)

I tried to search in google but I couldn't find any results

please help

도움이 되었습니까?

해결책

There is absolutely nothing wrong with the installer. It's doing exactly what it was told to do: Execute a SQL script that was injected into it and report any errors that occur.

You didn't actually provide the contents of the SQL but basically you need to look at the CREATE DATABASE statement paying attention to the SIZE, MAXSIZE and FILEGROWTH arguments.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top