I am getting below error on a machine while installing my application. Application is creating a sql database from code in starting
CreateDataBase Stack Trace : System.Data.SqlClient.
SqlException:CREATE DATABASE failed. Some file names listed could not be created. Check related errors.
MODIFY FILE encountered operating system error 112(There is not enough space on the disk.) while attempting to expand the physical file.
SqlConnection.OnError( SqlException exception, Boolean breakConnection)
SqlInternalConnection.OnError( SqlException exception, Boolean breakConnection)
TdsParser. ThrowExceptionAndWarning( TdsParserStateObject stateObj)
TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
SqlCommand. RunExecuteNonQueryTds(String methodName, Boolean async)
SqlCommand. InternalExecuteNonQuery( DbAsyncResult result, String methodName, Boolean sendToPipe)
CreateDatabase(String strDBName, String strIPAddress, String strInstanceName, String strCompanyName, String strTargetPath, String strCono, String strDbPath, String strSQLlogin, String strSQLPwd, String strODBName, String strCreateDb)
Let me know if it is not right place for this question.
Want to add MVP with my name.2012년 8월 16일 목요일 오전 5:36
It was clearly mensioned There is not enough space on the disk. Please clear some file and give the enough space to install.
With Thanks and Regards
click "Proposed As Answer by" if this post solves your problem or "Vote As Helpful" if a post has been useful to you
Happy Programming!2012년 8월 16일 목요일 오전 7:47
Or in addition to Molku if you have multiple drives, could it be that files are created on another drive than C: ? For now I would trust the error message.
Please always mark whatever response solved your issue so that the thread is properly marked as "Answered".
2012년 8월 16일 목요일 오후 8:45
- 편집됨 Patrice ScribeMVP 2012년 8월 16일 목요일 오후 8:46