Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Ad icon
ZTE MF283U 4G Unlocked Router (Used)
ayanthamaxi
Updated:
Sunday at 8:26 PM
ලංකාවේ හොඳම උපකාරක පන්ති සහ ගුරුවරුන් එකම තැනකින් - TopTuition.lk
dulithapathum
Updated:
Saturday at 8:07 AM
Colombo
RidhMathraa ’26 🎶✨
Tmadhusanka
Updated:
Wednesday at 11:58 PM
Ad icon
Colombo
PXN V10 Pro Direct Drive Racing Wheel (Under Warranty)
Abdur Rahman
Updated:
Wednesday at 10:23 PM
Ad icon
USDT ණය සේවාව - USDT Loan Service
පුරවැසියා
Updated:
Wednesday at 4:54 PM
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Help
C# Programing FAQ - Post here
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="chindaara" data-source="post: 5113489" data-attributes="member: 44375"><p><strong>Database read-only</strong></p><p></p><p>When inserting data into the database this error occurs</p><p></p><p>[CODE]</p><p>Failed to update database "C:\PROGRAM FILES\SETUP\DATABASE.MDF"because the database is read-only[/CODE]</p><p></p><p>[CODE]See the end of this message for details on invoking </p><p>just-in-time (JIT) debugging instead of this dialog box.</p><p></p><p>************** Exception Text **************</p><p>System.Data.SqlClient.SqlException: Failed to update database "C:\PROGRAM FILES\SETUP\DATABASE.MDF" because the database is read-only.</p><p> at Test_Project.TestDataSetTableAdapters.TableAdapterManager.UpdateAll(TestDataSet dataSet)</p><p> at Test_Project.Form2.testDetailsBindingNavigatorSaveItem_Click(Object sender, EventArgs e)</p><p> at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)</p><p> at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)</p><p> at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)</p><p> at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)</p><p> at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)</p><p> at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)</p><p> at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)</p><p> at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)</p><p> at System.Windows.Forms.Control.WndProc(Message& m)</p><p> at System.Windows.Forms.ScrollableControl.WndProc(Message& m)</p><p> at System.Windows.Forms.ToolStrip.WndProc(Message& m)</p><p> at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)</p><p> at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)</p><p> at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)</p><p></p><p></p><p>************** Loaded Assemblies **************</p><p>mscorlib</p><p> Assembly Version: 2.0.0.0</p><p> Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)</p><p> CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll</p><p>----------------------------------------</p><p>Test Project</p><p> Assembly Version: 1.0.0.0</p><p> Win32 Version: 1.0.0.0</p><p> CodeBase: file:///C:/Program%20Files/Setup/Test%20Project.exe</p><p>----------------------------------------[/CODE]</p><p></p><p>can u give me a solution for this..</p></blockquote><p></p>
[QUOTE="chindaara, post: 5113489, member: 44375"] [b]Database read-only[/b] When inserting data into the database this error occurs [CODE] Failed to update database "C:\PROGRAM FILES\SETUP\DATABASE.MDF"because the database is read-only[/CODE] [CODE]See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.Data.SqlClient.SqlException: Failed to update database "C:\PROGRAM FILES\SETUP\DATABASE.MDF" because the database is read-only. at Test_Project.TestDataSetTableAdapters.TableAdapterManager.UpdateAll(TestDataSet dataSet) at Test_Project.Form2.testDetailsBindingNavigatorSaveItem_Click(Object sender, EventArgs e) at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- Test Project Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files/Setup/Test%20Project.exe ----------------------------------------[/CODE] can u give me a solution for this.. [/QUOTE]
Insert quotes…
Verification
Winadiyakata thappara keeyak tibeda?
Post reply
Top
Bottom