Management Studio 2008 does not refresh after table create / alter
hello
Management Studio 2008 does not refresh after table create / alter, why?
f5 / refresh button does not work in "Object Explorer".... i always need the restart the whole application to see any changes, this is strange...
regards, jan
Hi jm,
I’m writing to follow up with you on this post. Was the problem resolved after performing Vishal ‘s steps? If you are satisfied with our solution, I’d like to mark this issue as "Answered". Please also feel free to unmark the issue, with any new findings
or concerns you may have.
Thanks,
Sofiya Li
Sofiya Li
TechNet Community Support
Similar Messages
-
Advanced Table does not refresh after database level action
Hi,
I have a page which has an advanced table. I update the advanced table from the page do some validations, update some DB level columns(also part of advanced table) and see that the changes are saved to the DB but the advanced table does not show the updates done at the DB level.
I tried clearing the VO Cache and re-executing the VO but still it does not refresh the Advanced table data.
This is very critical requirement for the client, any inputs will be greatly appreciated.
Thanks a lot in Advance.
Here is the code snippet from my CO's processRequest:
OAApplicationModule am = pageContext.getApplicationModule(webBean);
OAAdvancedTableBean tblbean = (OAAdvancedTableBean)webBean.findChildRecursive("recasttable");
if(tblbean!=null)
tblbean.setRendered(true);
OAApplicationModule tblam = (OAApplicationModule)am.findApplicationModule("RecastLineAM1");
tblam.invokeMethod("initQuery");
tblbean.getTableData();
Here is my AM - initQuery() code:
public void initQuery()
//clearVOCaches("RecastLineEO",true);
clearVOCaches(null,true);
getRecastLineVO1().init();
Here is the VO - init() code:
public void init()
System.out.println("****************************executing...");
OADBTransaction tx = (OADBTransaction) getApplicationModule().getTransaction();
if (tx.getTransientValue("RECAST_ID") !=null)
Number recastId = (Number) tx.getTransientValue("RECAST_ID");
System.out.println("recastId: "+ recastId);
setWhereClause("RECAST_HDR_ID = :1");
setWhereClauseParams(null); // Always reset
setWhereClauseParam(0, recastId);
executeQuery();
}hi,
This is how I am calling a DB package. the package does updates on the table. once done I am issueing a commit and requerying the data, however the vo is not getting refreshed.... Can someone point out what am I missing... why is the VO not getting refreshed....
This is very critical...
Thanks
Srini
public void validateRecast(String respKey)
OADBTransaction tx = (OADBTransaction)getApplicationModule().getTransaction();
Number recastId = (Number) tx.getTransientValue("RECAST_ID");
System.out.println("*********************validateRecast().RecastId: " + recastId);
OracleCallableStatement ocs = null;
Connection conn = tx.getJdbcConnection();
String strOut="", strErr="";
Number respId = null;
try
respId = new Number(respKey);
catch(Exception e)
throw new OAException("Invalid Responsibility");
String stmt = "BEGIN " +
"GE_RECAST_UTILS_PKG.validate_recast(:1,:2,:3,:4); " +
"END;";
try
ocs = (OracleCallableStatement)conn.prepareCall(stmt);
ocs.setNUMBER(1,recastId);
ocs.setNUMBER(2,respId);
ocs.registerOutParameter(3,OracleTypes.VARCHAR);
ocs.registerOutParameter(4,OracleTypes.VARCHAR);
ocs.execute();
strOut = ocs.getString(3);
strErr = ocs.getString(4);
ocs.close();
System.out.println("Returned with: " + strOut);
if(strOut.equalsIgnoreCase("ERROR"))
//throw new OAException(strErr);
tx.putTransientValue("ERROR",strErr);
tx.commit();
getApplicationModule().clearVOCaches("RecastLineEO",true);
RecastLineVOImpl lineVo = (RecastLineVOImpl)getApplicationModule().findViewObject("RecastLineVO1");
lineVo.init();
System.out.println("===============RecastLnId: " +lineVo.first().getAttribute("RecastLnId"));
System.out.println("===============Product Line: " +lineVo.first().getAttribute("ProductLine"));
catch(SQLException e)
tx.rollback();
if(ocs!=null)
try
ocs.close();
}catch(SQLException e1)
throw OAException.wrapperException(e1);
throw OAException.wrapperException(e);
} -
Table does not refresh after database level action
We have defined an Advanced table on a VO to represent invoice lines. The VO is referenced by a VL from the invoice header.
At one point during our process, a database level package is executed on the current lines. We have a "Requery" button to refresh the lines, however, the lines do not refresh unless we exit the invoice entirely and come back to it via the VL.
How can we refresh the lines on a current table after a database level transaction occurs?
Thanks, Jerry.
Our AM code is as follows...
// handleRefreshInvoiceLines( )
public void handleRefreshInvoiceLines()
OAViewObject vo = (OAViewObject)getInvoiceLinesVO1( );
if( !vo.isPreparedForExecution( ) )
getTransaction( ).validate();
vo.executeQuery( );
clearVOCaches( "InvoiceLinesEO", true ); // troubleshooting
} // handleRefreshInvoiceLines()Thank you. I've moved clearCache around a bit. apparently vo.isPreparedForExecution() is false. I wonder why?
--Jerry. -
Master-Detail Detail does not refresh after it's been empty
I have a master detail page (both are tables) that works just fine, until I click a master record that has no details.
After that the panelHeader of teh detail is refreshed with the PPT but the table underneath it is not, I keep seeing "no rows yet", no matter which master record I click.
When I go to a different page and return it's fine again.
Only one of my pages has this behavior, I tested this on another and it was fine. Has anyone seen this behavior before?
My console has this message:
May 11, 2007 10:52:38 AM oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding$FacesModel getSelectedRow
WARNING: rowIterator is null
Message was edited by:
Wendy TrompOk I found it,
My details iterator had the following properties:
<iterator id="AfdelingMedewerkersIterator" RangeSize="-1"
Binds="AfdelingMedewerkers"
DataControl="PRBAppModuleDataControl"
Refresh="IfNeeded" RefreshCondition="#{!adfFacesContext.postback}" />
I have no idea why I set it like that, but removing the Refresh properties fixed my problem.
I am still clueless as of why this led to the behavior as described above. I could have understood it if my iterator was not refreshed at all, but I have no idea why it stopped working only after the details were empty and not a second before...
Anyway, problem solved! -
Visual Studio 2008 does not open .rptproj 2008 projects
I have installed
- SQL Server 2008 original version with SP1 and the Business Intelligence Development Studio
- Visual Studio 2008 with SP1.
I am told that Reporting Services 2008 is part of the Business Intelligence Development Studio 2008,
however when I try to open my Reporting Services 2008 .rptproj files with Visual Studio 2008, they will not open.
The error message is:
'C:\vs2008\CWReportsVS2008\CWReportsVS2008\CWReportsVS2008.rptproj' cannot be opened because its project type (.rptproj) is not supported by this version of the application.
To open it, please use a version that supports this type of project.
My VS 2008 cofiguration is:
SQL Server Reporting Services
Microsoft SQL Server Reporting Services Designers Version 10.0.2531.0
Microsoft Visual Studio 2008 Version 9.0.30729.4462 QFE Installed Edition: Enterprise
Microsoft .NET Framework Version 3.5 SP1
Microsoft Visual Basic 2008, C# 2008, C++ 2008
Microsoft Visual Studio 2008 Team Explorer
Microsoft Visual Studio 2008 Tools for Office
Microsoft Visual Studio Team System 2008 Development Edition
Microsoft Visual Web Developer 2008
Crystal Reports Basic for Visual Studio 2008
Microsoft Visual Studio 2008 Team Explorer - ENU Service Pack 1
Microsoft Visual Studio Team System 2008 Development Edition - ENU Service Pack 1
Microsoft SQL Server Analysis Services Designer
Microsoft SQL Server Integration Services Designer
various hot fixes
various security updates
various team foundation updates
My computer configuration is:
Windows XP, Professional, Version 2002, Service Pack 3
My SQL Server Configuration is:
Microsoft SQL Server Management Studio 10.0.2531.0
Microsoft Analysis Services Client Tools 10.0.1600.22
Microsoft Data Access Components (MDAC) 3.85.1132
Microsoft MSXML 2.6 3.0 4.0 5.0 6.0
Microsoft Internet Explorer 8.0.6001.18702
Microsoft .NET Framework 2.0.50727.3615
Operating System 5.1.2600
Is there something I haven't installed yet?Hi,
This issue might be caused because your VS2008 did not yet install BIDS report project. So, please open the New Project dialogue to check if there is Business Intelligence Development Studio component in the Project Types pane in your vs 2008. If it
is not there, install this component (can from the SQL server intallation client tools) so that you can open Reporting Services 2008 .rptproj files in the VS2008.
thanks,
Jerry -
Chart does not update after table changes
Simple X-Y chart using a data series from a table. The chart will not update after changing the table, for example after applying a filter. The chart will update if you close and reopen the file or go to Select Data on the chart. I use named ranges
because you can't use table nomenclature directly in the chart series definition.Seems to update for me OK. You need to apply the entire unfiltered range to the chart before filtering. Did you do this or filter first and only apply the visible range?
If not the answer to you query then maybe I am not understanding the problem correctly so can you upload an example workbook?
Guidelines to post a workbook on OneDrive
Zip your workbooks. I prefer that you do not just save to OneDrive. (To Zip a file, in Windows Explorer Right click on the selected file and select Send to -> Compressed (zipped) folder.)
Go to this link. https://onedrive.live.com
Use the same login Id and Password that you use for this forum.
Select Upload in the blue bar across the top and browse to the zipped folder to be uploaded and select Open (or just double click). (Be patient and give it time to display the file after initially seeing the popup indicating it is done.)
Right click the file on OneDrive and select Share.
Do NOT fill in the form; "Select Get a Link" on the left side.
Click the button "Create a Link"
Click in the box where the link is created and it will highlight.
Copy the link and paste into your reply on this forum.
Regards, OssieMac -
SQL Server Management Studio 2008 R2 not showing Maintenance Plan
I do not have the Maintenance Plan listed under the Object Explorer. I am running SQL Server 2008 R2 (that is listed in Control Panel/Programs). When I tried to run the install to check that the management tool is configured I received the
"instance id" error (SQLManagementStudio_X64_ENU.EXE). After doing some reading online I found where some people used the SQLEXPADV_X64_ENU.exe install. This allowed me to see that the Management Tools were installed. I am not an
SQL expert and need to schedule a nightly backup of the database.You need to have your permissions checked to ensure that you have appropriate permissions to see these. This link gives you the permissions required to see these and maintain them
http://msdn.microsoft.com/en-us/library/ms187658(v=SQL.105).aspx
Warwick Rudd MCT MCITP SQL Server 2008 Admin -
Microsoft Word 2008 does not work after lion installation
After I installed Lion in my MacBook Pro, Microsoft word 2008 failed to work properly. Each time I try to quit word an error message appears and word closes and reloads automatically. The only way I can now really quite word is by the 'Force quit' option (in the apple menu). Word was working properly with Snow Leopard, so no idea what happened there... Any hint? Thanks
Ok, did exactly what you said... To 'make word crash' I only had to open it and then try to 'quit' it, in crashes 100% of the time...
1/3/12 11:43:29.066 AM com.apple.launchd.peruser.501: ([0x0-0x99099].com.microsoft.Word[970]) Exited: Killed: 9
1/3/12 11:43:31.983 AM Microsoft Error Reporting: CFURLCreateWithString was passed this invalid URL string: '/StageOne/Generic/MacCrash/com_microsoft_word/12_3_2_111121/microsoftcomponent plugin/12_3_2_111121/0x000ed279.htm?lcid=1033&os=10.7.2&testDrive=NO' (a file system path instead of an URL string). The URL created will not work with most file URL functions. CFURLCreateWithFileSystemPath or CFURLCreateWithFileSystemPathRelativeToBase should be used instead.
1/3/12 11:43:31.984 AM Microsoft Error Reporting: CFURLCreateWithBytes was passed these invalid URLBytes: '/StageOne/Generic/MacCrash/com_microsoft_word/12_3_2_111121/microsoftcomponent plugin/12_3_2_111121/0x000ed279.htm?lcid=1033&os=10.7.2&testDrive=NO' (a file system path instead of an URL string). The URL created will not work with most file URL functions. CFURLCreateFromFileSystemRepresentation should be used instead.
1/3/12 11:43:31.984 AM [0x0-0x99099].com.microsoft.Word: 2012-01-03 11:43:31.983 Microsoft Error Reporting[977:7703] CFURLCreateWithString was passed this invalid URL string: '/StageOne/Generic/MacCrash/com_microsoft_word/12_3_2_111121/microsoftcomponent plugin/12_3_2_111121/0x000ed279.htm?lcid=1033&os=10.7.2&testDrive=NO' (a file system path instead of an URL string). The URL created will not work with most file URL functions. CFURLCreateWithFileSystemPath or CFURLCreateWithFileSystemPathRelativeToBase should be used instead.
1/3/12 11:43:31.984 AM [0x0-0x99099].com.microsoft.Word: 2012-01-03 11:43:31.983 Microsoft Error Reporting[977:7703] CFURLCreateWithBytes was passed these invalid URLBytes: '/StageOne/Generic/MacCrash/com_microsoft_word/12_3_2_111121/microsoftcomponent plugin/12_3_2_111121/0x000ed279.htm?lcid=1033&os=10.7.2&testDrive=NO' (a file system path instead of an URL string). The URL created will not work with most file URL functions. CFURLCreateFromFileSystemRepresentation should be used instead.
I hope you can make some sense of all that!
Thanks! -
Screen not refreshing after sleep mode
Hello All,
I have had a problem since 10.7.XX where my screen does not refresh after the computer goes into screen saver mode and then into sleep mode. When I move my mouse to resume i get a line drawn where I move my mouse and it reveals the login screen slowly. I can click on a login account and a small section of the screen refreshes where the login password is. Once I login it goes away. Was hoping Mountail Lion would address, but the problem continues from Snow Leopard. I am on a Imac 24" 2009 3.06Ghz dual core with 4 Gig of Ram, Nvidia GeForce 8800 GS 512mb. Thanks in advance for any advice.
ChadHello,
See if it's related to this...
It also seems to be related to later OSX versions, like 10.8.x & 10.9.x
The 2012 macs (and later apparently) (also later OSX versions on earlier Macs can do it also), not waking normally from sleep after hours being in sleep. (noted here ...
http://www.xlr8yourmac.com/archives/feb13/022813.html#2012macswontwake
"Why 2012 iMac/2012 Mac Mini won't Wake After Hours of Sleep (Hibernates/Powers Off)")
The sleepimage file still reappears even if never slept. Delete it (hibernate off, etc) - within minutes its back.
A note on that here - http://www.xlr8yourmac.com/feedback/Chameleon_SSD_Optimizer.html
About iMac sleep...
http://forums.macrumors.com/showthread.php?t=1529750
Try this: "sudo pmset autopoweroff 0" and "sudo pmset standby 0"
http://xlr8yourmac.com/archives/sep13/091313.html#10.8.5SleepEjectTip -
EXE DOES NOT START AFTER DOWNLOADING
I downloaded lr 4.3 but double clicking it does not open the exe. When I double click older lr downloads they still open normally.Right clicking and open does not work either. What to do?
Windows Vista Home Premium 6.0.6002 SP2 Build 6002, Intel Core 2 Quad
Q9300 2.5GHz. When I double click the download, the arrow starts rotaing
for about 30 seconds and then disappears without any new window opening
Op 17/12/2012 23:55, Jeff A Wright schreef:
>
Re: EXE DOES NOT START AFTER DOWNLOADING
created by Jeff A Wright
<http://forums.adobe.com/people/JeffAWright> in /Downloading,
Installing, Setting Up/ - View the full discussion
<http://forums.adobe.com/message/4928607#4928607 -
I have a client who brought to my attention that when we wakes his iMac and MacBook after the screen dims or sleeps at login screen, that sometimes the screen does not refresh correctly and you must use the cursor to basically "clear the screen." I have witnessed this myself and elimiated all third party products and this still happens. I am starting to believe that is is a bug in 10.7.2. Has anyone witnessed this or have any suggestions on how to remedy? Thank you.
Thanks lynque. It turns out I did need a keychain repair, but that didn't fix the problem. I probably should have done this earlier, but I ended up unplugging all peripherals (2 firewire + 3 USB) then powered up without issue.
So I shut down, plugged in one at a time, and ran into the problem again after plugging in an external hard drive (WD My Book Essential). I repaired with disk utility, but the problem remained.
I then rebuilt the partitions with Disk Warrior, and now everything seems to work.... -
Firefox does not refresh the page after posting on IPS forums
I visit the forums at www.sailinganarchy.com. After replying to a post firefox does not refresh the page to show that the post is posted. But I open IE and I can see that the post is posted properly.
I am using FF 3.6.8 and this issue has only started in the last few days.
I am
== URL of affected sites ==
http://You can try these steps in case of issues with web pages:
You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
*Hold down the Shift key and left-click the Reload button
*Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
*Press "Command + Shift + R" (Mac)
Clear the cache and cookies only from websites that cause problems.
"Clear the Cache":
*Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
"Remove Cookies" from sites causing problems:
*Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"
Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
*Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
*Do NOT click the Reset button on the Safe Mode start window
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
You can also check the Web Console (Firefox/Tools > Web Developer) to see if there are specific error messages.
*https://developer.mozilla.org/Tools/Web_Console -
Site does not load after some minutes of creation or after restart the server
Hello,
I have been asked to create a test enviroment identical to the production enviroment. So, what I did was:
Backed up the production web application's content database: Prod_WSS_ContentDB
Created new test servers (domain controller, sql server and sharepoint 2013 server) in a new, completely isolated, network environment, without any connection with the production environment (specifically Azure)
Created a new web application in test environment with a new content database.
Dismounted the new content database with powershell: Dismount-spcontentdatabase Test_WSS_Content
Copy the Prod_WSS_ContentDB database to the test sql server and restored it with Management Studio.
Mount the Prod_WSS_ContentDB databe to the web application with powershell:
Mount-spcontentdatabse Prod_WSS_ContentDB -WebApplication http://testsp/
Then, when I type http://testsp in the browser it redirects me to http://testsp/SitePages/Home.aspx
and the site loads exactly as the production environment.
But, after some minutes, or if I restart the Sharepoint Server, when I navigate to
http://sitesp I am redirected to http://testsp/SitePages/Home.aspx
as expected, but the site does not load, the browser just show a complety blank page.
The Central Administration site loads normally.
Trying to fix it I found that if I dismount the content database Prod_WSS_ContentDB, then mount the test database Test_WSS_Content,
then navigate to the site, dismount Test_WSS_Content and finally mount again Prod_WSS_ContentDB, the site loads normally, no blank page, but after some minutes or if I restart the same happens again.
For the error event I receice in event viewer it seems that the problem is related to database. I have not found a solution for this error... How can I solve this?
The error is:
Log Name: Application
Source: Microsoft-SharePoint Products-SharePoint Foundation
Date: 6/27/2014 2:44:22 PM
Event ID: 5586
Task Category: Database
Level: Error
Keywords:
User: UCETEST\spaccount
Computer: TESTSP01.ucetest.edu.do
Description:
Unknown SQL Exception -2146893055 occurred. Additional error information from SQL Server is included below.
A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The handle specified is invalid)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-SharePoint Products-SharePoint Foundation" Guid="{6FB7E0CD-52E7-47DD-997A-241563931FC2}" />
<EventID>5586</EventID>
<Version>15</Version>
<Level>2</Level>
<Task>3</Task>
<Opcode>0</Opcode>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated SystemTime="2014-06-27T14:44:22.743159500Z" />
<EventRecordID>4742</EventRecordID>
<Correlation />
<Execution ProcessID="1688" ThreadID="1692" />
<Channel>Application</Channel>
<Computer>TESTSP01.ucetest.edu.do</Computer>
<Security UserID="S-1-5-21-2552298216-324766354-3392103171-1108" />
</System>
<EventData>
<Data Name="int0">-2146893055</Data>
<Data Name="string1">A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The handle specified is invalid)</Data>
</EventData>
</Event>
Melvintt
MCTS, Windows Server 2008 R2: Network Infrastructure
MCTS, Windows Server 2008 R2: Active Directory, ConfiguringHi,
According to your post, my understanding is that Site does not load after some minutes of creation or after restart the server.
Please make sure you create a test environment for existing production site correctly.
Here are some great articles for your reference:
Moving content between SharePoint environments
Copy SharePoint production data to a test environment
Build a SharePoint 2010 Test/Development Farm
Best Regards,
Linda Li
Linda Li
TechNet Community Support
Hello Linda Li,
I follwed that steps to create my test enviroment... and I have recreated it some times using that same steps, but the problem persits. After some minutes or after I restart the SharePoint server the site does not load.
Melvintt
MCTS, Windows Server 2008 R2: Network Infrastructure
MCTS, Windows Server 2008 R2: Active Directory, Configuring -
Hi all,
In the Notepad, I created an xml file (ZenQroducts.xml) :
<Qroducts>
<Qroduct>
<SKU>1</SKU>
<Desc>Book</Desc>
</Qroduct>
<Qroduct>
<SKU>2</SKU>
<Desc>DVD</Desc>
</Qroduct>
<Qroduct>
<SKU>3</SKU>
<Desc>Video</Desc>
</Qroduct>
In my SQL Server 2012 Management Studio, I executed the following code:
--to create a new object Qroducts in a new database OPENXMLtesting
CREATE DATABASE OPENXMLtesting
GO
CREATE TABLE Qroducts(
sku INT Primary KEY,
qroduct_desc VARCHAR(30));
INSERT INTO Qroducts (sku, qroduct_desc)
SELECT X.qroduct.query('SKU').value('.', 'INT'),
X.qroduct.query('Desc').value('.', 'VARCHAR(30)')
FROM (
SELECT CAST(x AS XML)
FROM OPENROWSET(
BULK 'H:\ZenQroducts.xml',
SINGLE_BLOB) AS T(x)
) AS T(x)
CROSS APPLY x.nodes('Qroducts/Qroduct') AS X(qroduct);
SELECT sku, qroduct_desc
FROM Qroducts;
I got the following message:
Msg 9400, Level 16, State 1, Line 6
XML parsing: line 13, character 12, unexpected end of input
I have no ideas why I got this "XML parsing:line 13, character12, unexpected end of input" message. Please kindly help, advise me on where I made mistake and how I can resolve this problem, and respond in this Forum.
Thanks in advance,
Scott Chang
Hi Manish, Thanks for your response.
Yes, it is a duplicate with Qroducts/Qroduct instead of Products/Product. I did it, because I don't know how to remove the existing "Products" database.
Again, I got the existing "Qroducts" database in this second trial!!?? I am comletely lost in doing "Importing XML file to SQL Table" now!! I think that I have not touched T-SQL and XML programming, since 2008. I
did not catch the new features of T-SQL 2008, XML, SQL/XML, XQuery, etc. for long time. Recently, I did not know what DECLARE, @x, SET,...were, and dived into the SQL/XML and XQuery programming. I knew the SQL Basics (SELECT, FROM, WHERE,..), creating
the names of databases and tables in SQL Server 2008/2012 Management Studio (Express) before. This morning, I found an old T-SQL 2008 Prgrammer's Guide that has the new features of SQL Server 2008 for T-SQL, XML, XQuery, etc. I just starting reading
it to know what DECLARE, @x, SET,... are. But, I still don't know where the existing databases "Products" and "Qroducts" (created by me) are - they are not in the Databases of SQL Server 2012 Management Studio I am using!!?? Could
you please kindly point out where the "Products" and "Qroducts" databases are?
Prashanth responded to my posted question too and he asked to to try his code: DECLARE @xml XML, SELECT @xml =' <Qroducts>.....SELECT product.value.....FROM @XML.nodes.....AS.... I just learned that his code is doing the thing we
want to do and print the results below the SQL Query. This is not what I need in doing my SQL/XML programming. I am reading/studying the new (2008) features of T-SQL, XQuery 1.0: An XML Query Language (Second Edition), and Microsoft XQuery Language Reference
(SQL Server 2012 Books Online) closely now. I hope that I can resume the T-SQL, XML Query, SQL/XML, XQuery in my SQL Server 2012 Management Studio soon.
Please tell me where the existing databases "Products" and "Qroducts" I created in my previous trials in my SQL Server 2012 Management Studio. This is what I need to know and to delete them, before I do this kind of "Importing
XML file to Table of SQL Server 2012 Management Studio" programming again.
Please kindly help, advise and respond again.
Many Thanks,
Scott Chang -
Access DB (& .ldb file) does not close after crystal reports
Post Author: mgold
CA Forum: Crystal Reports
Access DB (& .ldb file) does not close after crystal reports
Hi! We have a VB application using Crystal Reports 6 that has worked successfully on hundreds of systems for over 10 years. Now, on one network, the application and access database does not close. It seems to hang on the [.Close] command.
When we open the application an peruse the screens without opening up a report (using crystal reports), the application and access db closes fine. But as soon as we run a report and then close the report and try to close the application, the access db does not close. Many of the screens open the db and grab data from the access db, but it's only after running crystal reports that we have this problem. (Please see more information below.)
Setup: Application and data (access 97 db) reside on a server in the same folder, but application shortcut is kicked off on client PC. Kicking off the shortcut on the client PC means that the image/process runs on the client PC (not on the server). In this problem case, the application shortcut is on a Windows XP Pro Version 2002 SP2 PC with the app & data on a Windows 2003 server. Users are local Admins on their PCs with "Full Control"over the directory and files on the server where the data (access 97 db) resides. This type of setup is typical and has worked without any problems for clients.
The application is written in Visual Basic, using Crystal Reports 6 (using DAO). We close the recordset, set it to zero and then it hangs on closing the db (.Close command).
A few key pieces of information:
- The application closes fine if the app & data (access 97 db) are on a local PC. This includes closing fine if the application is run directly on the Windows 2003 server where the data is stored.
- It worked on this client's network until sometime in the last few weeks.
- One thing that changed is that the company is using VMWare on its servers. Not sure if they started using VMWare at the same time as it started failing. This may be unrelated. Possibly other things changed, but can't get any more information ... yet.
- It works fine running the application from a Windows Vista PC with a user who is a domain admin.
- The access db and application hang for about 10-20 minutes and then eventually closes. It appears that somehow
Crystal Reports is keeping the db open, but I'm not sure why.The application doesn't quit and the database doesn't close even if I try to end the task with the Task Manager.
- The Crystl32.ocx version being used is 8.0.0.4 (if that matters).
- I copied 6 month old program files and database files to a test folder on the Windows 2003 server. It fails using these files that worked fine 6 months ago.
Any ideas or help would be greatly appreciated! If you know of another good place to post this, please let me know.
Thanks!
- MarkCrystal doesn't support tables in HTML interpretation.
You can probably work your way around this by doing Replace() calls on the relevant tags.
See:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313337333033383334%7D.do
The supported HTML tags are:
" html
" body
" div (causes a paragraph break)
" tr (causes only a paragraph break; does not
preserve column structure of a table)
" span
" font
" p (causes a paragraph break)
" br (causes a paragraph break)
" h1 (causes a paragraph break, makes the font bold
& twice default size)
" h2 (causes a paragraph break, makes the font bold
& 1.5 times default size)
" h3 (causes a paragraph break, makes the font bold
& 9/8 default size)
" h4 (causes a paragraph break, makes the font bold)
" h5 (causes a paragraph break, makes the font bold
& 5/6 default size)
" h6 (causes a paragraph break, makes the font bold
& 5/8 default size)
" center
" big (increases font size by 2 points)
" small (decreases font size by 2 points if it's 8
points or larger)
" b
" i
" s
" strike
" u
The supported HTML attributes are:
" align
" face
" size
" color
" style
" font-family
" font-size
" font-style
" font-weight
Maybe you are looking for
-
I am just trying to figure out the best way to share my mac with my wife and sync her iphone as well. right now i just use my account for everything but want to possibly create here a user account on the mac so that her icloud can be there with her
-
Is it possible to change the number of rows to be displayed in adf query ?
Hello, is it possible to change the number of rows that are displayed in an adf query similar to an adf form ? I need to display approx 5 rows per column instead of displaying all the fields in a single column ? Thanks.
-
I updated Itunes and now my computer doesnt recognise my IPOD
Happy Christmas! Please help. Itunes asked me to update my software to 7. somthing and since i have doen that, i plug my IPOD video in and it says the USB device is not recognised?! I have tried resetting my ipod, but no luck. Please help. have i don
-
CRADSDatabase ERROR (5211): There is an error converting Unicode string to or from code page string Device Blackberry Z10 Sw release 10.2.1.2977 OS Version 10.2.1.3247 The problem is known by Blackberry but they didn't make a little effort
-
I washed my ipod shuffle with the laundry; being thorough it also was dried in the dryer. Now it doesn't play, Altho not a waterproof ipod, I read they can live through being washed. Did I kill it, or do I need to re-load tunes? Thank you