doc-exports/docs/dws/tool/DWS_DS_145.html
Lu, Huayi 27019c2991 DWS TOOL 830.201 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2024-05-16 07:35:25 +00:00

99 lines
28 KiB
HTML

<a name="EN-US_TOPIC_0000001188362524"></a><a name="EN-US_TOPIC_0000001188362524"></a>
<h1 class="topictitle1">Troubleshooting</h1>
<div id="body1584526252532"><ol id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_ol59796890"><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li18018639"><strong id="EN-US_TOPIC_0000001188362524__b861510789113225">Data Studio does not open.</strong><p class="litext" id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p49359659"><strong id="EN-US_TOPIC_0000001188362524__b1676112619521">Solution</strong>: Check whether JRE is missing. Verify the Java path in the environment. For details about the supported Java JDK versions, see <a href="DWS_DS_14.html">System Requirements</a>.</p>
</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li53128157"><strong id="EN-US_TOPIC_0000001188362524__b776635994113225">Data Studio does not open and displays a 'Java Runtime' error when I double-click the Data Studio.exe file.</strong><p class="litext" id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p10402369"><strong id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_b173311742342">Solution:</strong></p>
<ul class="subitemlist" id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_ul26512460"><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li37285554">Without JRE:<p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p25666"><a name="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li37285554"></a><a name="en-us_topic_0185264982_li37285554"></a><span><img id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_image230999" src="figure/en-us_image_0000001234200735.png"></span></p>
<p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p675871844512">Check whether the Java Runtime Environment (JRE) or Java Development Kit (JDK) version 1.8.0_141 or above with appropriate bit number is installed on the system and Java Home path is set. If there are more than one version of Java installed, set the <strong id="EN-US_TOPIC_0000001188362524__b1500820431113225">-vm</strong> parameter in the configuration file by referring to <a href="DWS_DS_16.html">Installing and Configuring Data Studio</a>. This is a prerequisite for running Data Studio.</p>
</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li18710936">Old JRE version:<p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p34180703"><a name="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li18710936"></a><a name="en-us_topic_0185264982_li18710936"></a><span><img id="EN-US_TOPIC_0000001188362524__image20884161291111" src="figure/en-us_image_0000001809221997.png"></span></p>
<p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p17173591">Check the version of Java Runtime Environment (JRE) or Java Development Kit (JDK) that is installed on the system. An older version installed on the system causes this error. Update the JRE to version 1.8.0_141 or above with appropriate bit number.</p>
</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li33101019289">Java Incompatibility:<p class="subitemlist" id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p679822782918"><a name="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li33101019289"></a><a name="en-us_topic_0185264982_li33101019289"></a><span><img id="EN-US_TOPIC_0000001188362524__image6175191914146" src="figure/en-us_image_0000001809304349.png"></span></p>
<p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p33074221202"></p>
<p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p138671638757">Check the version of the JRE or JDK installed in the system. If the installed Java version is incompatible with the system, this error occurs. Update the JRE to version 1.8.0_141 or above with appropriate bit number.</p>
<p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p528123720317">You are advised to run the batch file to check compatibility and launch Data Studio. For details, see <a href="DWS_DS_19.html">Quick Start</a>.</p>
</li></ul>
</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li107293206554"><a name="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li107293206554"></a><a name="en-us_topic_0185264982_li107293206554"></a><strong id="EN-US_TOPIC_0000001188362524__b1943628922113225">The following information is displayed when you run the StartDataStudio.bat file:</strong><p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p871615206559"><strong id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_b18941036941">Solution:</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_table572932013556" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_row15717820175514"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.1.3.3.1.3.1.1"><p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p0717132018554"><strong id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_b752692015203">Message</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.1.3.3.1.3.1.2"><p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p171719202555"><strong id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_b20353124112017">Solution</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_row572032075513"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.3.3.1.3.1.1 "><p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p47191720195518">You are attempting to run 32-bit Data Studio on:</p>
<ul id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_ul16720142045516"><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li107191720115518">64-bit OS</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li16719122014555">Windows 7 Professional</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li31012241363">64-bit Java 1.8 JDK (incompatible)<p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p642011255616"><a name="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li31012241363"></a><a name="en-us_topic_0185264982_li31012241363"></a>Install 32-bit Java 1.8.</p>
</li></ul>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.3.3.1.3.1.2 "><p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p57203203555">Install 32-bit Java 1.8.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_row372172012553"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.3.3.1.3.1.1 "><p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p5721152016557">The Java version supported by Data Studio must be 1.8 or later. Before using Data Studio, you need to install Java 1.8.</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.3.3.1.3.1.2 "><p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p117211120155513">Install Java 1.8 that matches the number of bits of the operating system.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_row1272532014552"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.3.3.1.3.1.1 "><p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p11723142095515">You are trying to run 64-bit Data Studio in the following environment:</p>
<ul id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_ul1372472010554"><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li372392018552">64-bit OS</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li6724162085512">Windows 7 Professional</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li8724102018551">32-bit Java 1.8 JDK (incompatible): Install 64-bit Java 1.8.<p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p7724182017552"><a name="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li8724102018551"></a><a name="en-us_topic_0185264982_li8724102018551"></a></p>
</li></ul>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.3.3.1.3.1.2 "><p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p117251520155518">Install 64-bit Java 1.8.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_row272816202552"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.3.3.1.3.1.1 "><p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p13726120135511">You are attempting to run 64-bit Data Studio on:</p>
<ul id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_ul19727220185519"><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li117277203555">32 bit OS</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li13727182065515">Windows 7 Professional</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li125381444986">32-bit Java 1.8 JDK (incompatible)<p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p372772016559"><a name="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li125381444986"></a><a name="en-us_topic_0185264982_li125381444986"></a>Install the 32-bit Data Studio.</p>
</li></ul>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.3.3.1.3.1.2 "><p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p27281720165511">Install 32-bit Data Studio.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li20344593"><strong id="EN-US_TOPIC_0000001188362524__b212163553113225">Why does Data Studio not connect to the server even with all valid inputs?</strong><p class="litext" id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p149855"><strong id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_b844619331046">Solution</strong>: Check whether the server is running on the specified IP address and port. Use gsql to connect to a specified user and check the user availability.</p>
</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li12138304"><strong id="EN-US_TOPIC_0000001188362524__b541147242113225">What should I do for connection issues while using Data Studio?</strong><p class="litext" id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p57562809"><strong id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_b18529311446">Solution</strong>: A connection issue that may occur while using Data Studio is explained with an example:</p>
<p class="litext" id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p48303235">Establish a database connection.</p>
<p class="litext" id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p48014184">Run the query.</p>
<p class="litext" id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p38622084">When a connection exception occurs in any one of the databases (PostgreSQL), the connection is closed. When the database connection is closed, all the function and procedure tabs, if open, will be closed too.</p>
<p class="litext" id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p41381104">The system displays an error message. The <strong id="EN-US_TOPIC_0000001188362524__b670065909113225">Object Browser</strong> navigation tree displays the database status.</p>
<div class="note" id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_note46071449"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p class="text" id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p11989863">Only the current database will be disconnected. Other databases remain connected or are reconnected.</p>
</div></div>
<p class="litext" id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p40799911">Re-connect to the database to proceed with execution.</p>
</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li13908493"><strong id="EN-US_TOPIC_0000001188362524__b1904122003113225">When a Java application is used to obtain a process that contains Chinese comments, the Chinese characters are invisible. What should I do?</strong><p class="litext" id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p5853458"><strong id="EN-US_TOPIC_0000001188362524__b1639712853113225">Solution</strong>: Set <strong id="EN-US_TOPIC_0000001188362524__b1300983618113225">Preferences </strong>&gt; <strong id="EN-US_TOPIC_0000001188362524__b1675589896113225">Session Settings</strong> &gt; <strong id="EN-US_TOPIC_0000001188362524__b1512484788113225">Data Studio Encoding</strong> and <strong id="EN-US_TOPIC_0000001188362524__b1532619269113225">File Encoding</strong> to GBK, so that Chinese characters can be displayed properly.</p>
</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li50664859"><strong id="EN-US_TOPIC_0000001188362524__b1814480402113225">When I connect to the database and load a large number of SQL queries into SQL Terminal, the "Out Of Memory" or "Java Heap Error" error may occur in Data Studio. How do I solve this problem?</strong><p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p5681612"><strong id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_b9112161815414">Solution</strong>: When the Data Studio has used up the allocated maximum Java memory, the message "Out of Memory" or "Java Heap Error" is displayed. By default, the <strong id="EN-US_TOPIC_0000001188362524__b1149190564113225">Data Studio.ini</strong> configuration file (in the Data Studio installation path) contains the entry <strong id="EN-US_TOPIC_0000001188362524__b1189495767113225">-Xmx1200m</strong>. 1200m indicates 1200 MB, which is the maximum Java memory that can be used by Data Studio. The memory usage of Data Studio depends on the size of data obtained by users during the use of Data Studio.</p>
<p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p48254661">To solve this problem, you can expand the Java memory size to an ideal value. For example, change <strong id="EN-US_TOPIC_0000001188362524__b161566454113225">-Xmx1200m</strong> to <strong id="EN-US_TOPIC_0000001188362524__b150850241113225">-Xmx2000m</strong> and restart Data Studio. If the updated memory is used up, the same problem may occur again.</p>
<div class="note" id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_note12603749"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_ul626717156411"><li class="text" id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li1926791512411">For the 32-bit Data Studio with 8 GB RAM, the value of <strong id="EN-US_TOPIC_0000001188362524__b1626459920113225">Xmx</strong> cannot exceed <strong id="EN-US_TOPIC_0000001188362524__b1622958352113225">2044</strong>. For the 64-bit Data Studio with 8 GB RAM, the value of <strong id="EN-US_TOPIC_0000001188362524__b1209145843113225">Xmx</strong> cannot exceed <strong id="EN-US_TOPIC_0000001188362524__b2113846713113225">6000</strong>. The upper limit may vary with your current memory usage.<p class="text" id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p14270750">For example:</p>
<p class="text" id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p61327894">-Xms1024m</p>
<p class="text" id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p112679288416">-Xmx1800m</p>
</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li1388533748">The maximum file size supported by Data Studio in the SQL Terminal depends on the value of Xmx in the Data Studio.ini file and the available memory.</li></ul>
</div></div>
</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li1503503"><strong id="EN-US_TOPIC_0000001188362524__b2006281317113225">If a large amount of data is returned after the SQL query is executed, the Data Studio displays the "Insufficient Memory" error. What should I do?</strong><p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p25253189"><strong id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_b77661815849">Solution</strong>: Data Studio disconnects from the database specified in the file. Re-establish the connection and continue the operation.</p>
</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li97128211426"><strong id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_b1571202116212">Why do I receive an export failure message when exporting DDL or data?</strong><p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p157126215212"><strong id="EN-US_TOPIC_0000001188362524__b174411040115519">Solution</strong>: The possible causes are as follows:</p>
<ul id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_ul1171215211720"><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li1071272118213">An invalid client SSL certificate and/or client SSL key file was selected. Select a correct file and try again. For details, see <a href="DWS_DS_34.html">Adding a Connection</a>.</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li37126211029">The identity of the object in the database may have changed. Check whether the identity of the object has changed and try again.</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li10753310204113">You do not have the required permissions. Contact the database administrator to obtain required permissions.</li></ul>
</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li1471213211820"><strong id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_b1971213211720">Why does the system receive a message indicating that the DDL operation fails when the DDL operation is performed?</strong><p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p18147153593818"><strong id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_b0147113503816">Solution</strong>: The possible causes are as follows:</p>
<ul id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_ul161474359387"><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li1014715352388">An invalid client SSL certificate and/or client SSL key file was selected. Select a correct file and try again. For details, see <a href="DWS_DS_34.html">Adding a Connection</a>.</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li101471835193814">The identity of the object in the database may have changed. Check whether the identity of the object has changed and try again.</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li13746123113416">You do not have the required permissions. Contact the database administrator to obtain required permissions.</li></ul>
</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li1161793674918"><strong id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_b201461658105817">Why do I receive the following error message when performing a Show DDL or Export DDL operation?</strong><p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p4576704502"><strong id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_b158153755910">"Failed to start this program because MSVCRT100.dll is missing. Try reinstalling the program to resolve the problem."</strong></p>
<p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p75767013505"><strong id="EN-US_TOPIC_0000001188362524__b966714925113225">Solution</strong>: <strong id="EN-US_TOPIC_0000001188362524__b77105664113225">gs_dump.exe</strong> needs to be executed to display or export DDL, which requires the VC runtime library <strong id="EN-US_TOPIC_0000001188362524__b100446013113225">msvcrt100.dll</strong>.</p>
<p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p157611045010">To resolve this issue, copy the <strong id="EN-US_TOPIC_0000001188362524__b1396830799113225">msvcrt100.dll file</strong> from the <strong id="EN-US_TOPIC_0000001188362524__b2094854047113225">\Windows\System32</strong> folder to the <strong id="EN-US_TOPIC_0000001188362524__b1797625216113225">\Windows\SysWOW64 folder</strong>.</p>
</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li345244813920"><strong id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_b764116311536">Why is the saved connection details not displayed when I try to establish a connection?</strong><p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p580814572090"><strong id="EN-US_TOPIC_0000001188362524__b1853195344113225">Solution</strong>: If the <strong id="EN-US_TOPIC_0000001188362524__b1829465137113225">Profile</strong> folder in the User Data folder is unavailable or has been manually modified, this problem may occur. Ensure that the Profile folder exists and its name meets the requirements.</p>
</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li6173433141616"><strong id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_b1461620334314">Why are historical sql query records lost when I close and restart data studio?</strong><p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p16684929151616"><strong id="EN-US_TOPIC_0000001188362524__b1141027156113225">Solution</strong>: If the <strong id="EN-US_TOPIC_0000001188362524__b710278825113225">Profile</strong> folder in the User Data folder is lost or manually modified, this problem may occur. Ensure that the <strong id="EN-US_TOPIC_0000001188362524__b880421909113225">Profile</strong> folder exists and its name meets the requirements.</p>
</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li522144432319"><strong id="EN-US_TOPIC_0000001188362524__b1614601759113225">Why does the system display a message indicating that the modification fails to be saved when I attempt to modify the syntax highlighting setting?</strong><p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p378905719185"><strong id="EN-US_TOPIC_0000001188362524__b1152369916113225">Solution</strong>: This problem may occur if the <strong id="EN-US_TOPIC_0000001188362524__b1010600646113225">Preferences</strong> file does not exist or its name has been changed. Restart Data Studio to resolve this issue.</p>
</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li243111571632"><strong id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_b149553341916">What should I do if the Data Studio is in the idle state but the Data Studio.log file is in the No more handles state?</strong><p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p749418215414"><strong id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_b10816421739">Solution</strong>: Restart Data Studio.</p>
</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li625017216196"><strong id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_b34589282218">What happens if I send a 303 error after editing a table and I cannot continue to modify the table?</strong><p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p153441120162710"><strong id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_b3344152002713">Solution</strong>: All edited data will be lost. Close the <strong id="EN-US_TOPIC_0000001188362524__b2008564220113225">Edit Table Data</strong> dialog box and modify the data again.</p>
</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li41095112810"><strong id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_b1625581672810">Why is the message "The number of pasted cells does not match the number of selected cells" displayed when the operation is correct?</strong><p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p18255131616285"><strong id="EN-US_TOPIC_0000001188362524__b774967779113225">Solution</strong>: This problem occurs if you choose <strong id="EN-US_TOPIC_0000001188362524__b1215716828113225">Preferences </strong>&gt; <strong id="EN-US_TOPIC_0000001188362524__b595925891113225">Query Results</strong> and set the column headers to be included. The selected cells include the column header cells as well. Modify the settings to disable the Include column headers option and try again.</p>
</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li131664283278"><strong id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_b1320910239322">Why can't I edit temporary tables when the Reuse Connections option is disabled?</strong><p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p455312291322"><strong id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_b1648183511333">Answer</strong>: After the Reuse Connection option is disabled, the tool creates a new session, but the temporary table can be edited only in the existing connection. To edit temporary tables, enable the <strong id="EN-US_TOPIC_0000001188362524__b638743926113225">Reuse Connection</strong> option. For details, see <a href="DWS_DS_130.html">Managing SQL Terminal Connections</a>.</p>
</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li1924516519228"><strong id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_b1192057162415">What happens when I add the same column multiple times in a multi-column sort dialog box?</strong><p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p10353150142415"><strong id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_b2025043213326">Answer</strong>: If you add the same column multiple times in the multi-column sorting dialog box and click Apply, the following message is displayed. You need to click <strong id="EN-US_TOPIC_0000001188362524__b758330517113225">OK</strong> and select non-duplicate columns for sorting.</p>
<p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p12448152512323"><span><img id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_image144811258329" src="figure/en-us_image_0000001188521212.png"></span></p>
</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li192837376271"><strong id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_b19485104816327">What happens when no column name is specified and Apply is clicked?</strong><p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p1141115165810"><strong id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_b175612258588">Answer</strong>: The following message is displayed. You need to set a valid column name and click <strong id="EN-US_TOPIC_0000001188362524__b70173880113225">Apply </strong>again. Then, the message is not displayed.</p>
<p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p10143104715588"><span><img id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_image1563254581" src="figure/en-us_image_0000001188521210.png"></span></p>
</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li0561225165818"><strong id="EN-US_TOPIC_0000001188362524__b1754170030113225">What happens when I click Cancel while multiple table queries are running in the SQL terminal window?</strong><p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p4167104395911"><strong id="EN-US_TOPIC_0000001188362524__b1945354997113225">Answer</strong>: Canceling a table query that is being executed may cause the console to display the names of tables that are not created. In this case, you are advised to delete the table so that you can perform operations on tables with the same name.</p>
</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li109450189593"><strong id="EN-US_TOPIC_0000001188362524__b8635183114513">What should I do if I cannot log in to Data Studio because the security key is cracked?</strong><p id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_p5129159163817"><strong id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_b527181819419">Solution</strong>: Perform the following steps to generate a new security key:</p>
<ol type="a" id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_ol109636364320"><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li109635310438">Choose <strong id="EN-US_TOPIC_0000001188362524__b295917224113225">Datastudio </strong>&gt; <strong id="EN-US_TOPIC_0000001188362524__b1978491963113225">Userdata </strong>and delete the security folder.</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li141151553144320">Restart Data Studio</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li16116155315439">Create a new security folder and generate a new key.</li><li id="EN-US_TOPIC_0000001188362524__en-us_topic_0185264982_li131177538432">Enter the password again to log in to Data Studio.</li></ol>
</li></ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_ds_index.html">Data Studio</a></div>
</div>
</div>