Could not allocate space for object ‘dbo.TB_Tin’ in database ‘thatdongian’ becau

Tác giả admin+, T.Ba 13, 2011, 02:33:21 SÁNG

« Chủ đề trước - Chủ đề tiếp »

0 Thành viên và 329 Khách đang xem chủ đề.

Mã nguồn [Chọn]
Could not allocate space for object 'dbo.TB_Tin' in database 'thatdongian' because the 'PRIMARY' filegroup is full

Server Error in '/' Application.

Could not allocate space for object 'dbo.TB_Tin' in database 'thatdongian' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Could not allocate space for object 'dbo.TB_Tin' in database 'thatdongian' because the 'PRIMARY' filegroup is full. Creat ...............

Bạn sẽ  gặp lỗi này trong phần quản trị website của bạn khi website của bạn tương tác với CSDL MS SQL Server. Một ngày nào đó bạn đưa tin tức hay cập nhật website của bạn, bạn gặp lỗi trên.

Lỗi này là do MS  SQL Server qui định tập tin tencsdl.mdf trong giới hạn nào đó được phép lưu trữ.

Bạn xem hình dưới đây để thấy rõ điều đó.

Click chuột phải tencsdl >> Properties >> Files >> Autogrowth >> ...

Bạn đi theo đường dẫn như  hình ảnh để điều chỉnh dung lương lưu trữ  cho CSDL của bạn theo ý muốn.

Cho cả  têncsdl.MDF và têncsdl.LDF

Nếu bạn muốn cập nhật dữ liệu lớn và không ước lượng được vào CSDL, thì bạn có thể chọn Unrestricted File Growth.