Error when opening xml file .....
Hi all,
I am using Simple transforamtion and trying to download the file to presentation server.
The file is downloaded and when i open it i get this message :
"XML document must have a top level element. Error processing resource "
Please let me know whats wrong...
<?sap.transform simple?>
<tt:transform xmlns:tt="http://www.sap.com/transformation-templates">
<tt:root name="root1"/>
<tt:root name="root2"/>
<tt:template>
<tt:loop name="r1" ref=".root1">
<ORDERNR>
<tt:value ref="$r1.ordernr"/>
<CUSTOMER>
<tt:s-cond check="initial($r1.customer)">
<tt:text> </tt:text>
</tt:s-cond>
<tt:value ref="$r1.customer"/>
</CUSTOMER>
<DESTINATION>
<tt:value ref="$r1.destination"/>
</DESTINATION>
<SUPPLIER>
<tt:s-cond check="initial($r1.supplier)">
<tt:text> </tt:text>
</tt:s-cond>
<tt:value ref="$r1.supplier"/>
</SUPPLIER>
<BRUKARE>
<tt:s-cond check="initial($r1.brukare)">
<tt:text> </tt:text>
</tt:s-cond>
<tt:value ref="$r1.brukare"/>
</BRUKARE>
<SOURCE>
<tt:s-cond check="initial($r1.source)">
<tt:text> </tt:text>
</tt:s-cond>
<tt:value ref="$r1.source"/>
</SOURCE>
<tt:loop name="r2" ref=".root2">
<HU>
<ID>
<tt:s-cond check="initial($r2.id)">
<tt:text> </tt:text>
</tt:s-cond>
<tt:value ref="$r2.id"/>
</ID>
<TYPE>
<tt:s-cond check="initial($r2.type)">
<tt:text> </tt:text>
</tt:s-cond>
<tt:value ref="$r2.type"/>
</TYPE>
<SORTIMENT>
<tt:s-cond check="initial($r2.sortiment)">
<tt:text> </tt:text>
</tt:s-cond>
<tt:value ref="$r2.sortiment"/>
</SORTIMENT>
<WEIGHT>
<tt:s-cond check="initial($r2.weight)">
<tt:text> </tt:text>
</tt:s-cond>
<tt:value ref="$r2.weight"/>
</WEIGHT>
<VOLUME>
<tt:s-cond check="initial($r2.volume)">
<tt:text> </tt:text>
</tt:s-cond>
<tt:value ref="$r2.volume"/>
</VOLUME>
<FLOORSPACE>
<tt:s-cond check="initial($r2.floorspace)">
<tt:text> </tt:text>
</tt:s-cond>
<tt:value ref="$r2.floorspace"/>
</FLOORSPACE>
<STATUS>
<tt:s-cond check="initial($r2.status)">
<tt:text> </tt:text>
</tt:s-cond>
<tt:value ref="$r2.status"/>
</STATUS>
<WORKUNITID>
<tt:s-cond check="initial($r2.workunitid)">
<tt:text> </tt:text>
</tt:s-cond>
<tt:value ref="$r2.workunitid"/>
</WORKUNITID>
</HU>
</tt:loop>
</ORDERNR>
</tt:loop>
</tt:template>
</tt:transform>
Hi,
i did this..
<tt:template>
<ORDERNR>
<tt:loop name="r1" ref=".root1">
but still i am getting the same error...
XML document must have a top level element. Error processing resource 'file:///C:/20101110043812_5051_175.xml'.
can anyone help me in this??
Edited by: Poonam Naik on Nov 10, 2010 7:45 AM
Similar Messages
-
Multiple JavaScript errors when opening aspx file in Dreamweaver
I get multiple javascript errors when opening aspx file in Dreamweaver similar to... "While executing translateHyperLink in ExternalRenderers.htm, a JavaScript error occurred."
Hi Steven,
Not sure if this is related, but can you try the solutions in Troubleshoot JavaScript errors | Dreamweaver CS4, CS5, CS5.5, CS6
Thanks,
Preran -
hi all,
i was downloading data from the internal table into an XML file. i wrote the coding in the following way. Mr. Rich Heilman helped to solve this requirement to the maximum extent but iam stuck at the last moment. the coding is
tables:mara.
type-pools: truxs.
parameters: p_matnr like mara-matnr.
data: ixml type truxs_xml_table.
data: xxml like line of ixml.
data: size type i.
data: file_str type string.
file_str = 'C:\simp.xml'.
data: begin of itab_mara occurs 0,
matnr like mara-matnr,
ernam like mara-ernam,
aenam like mara-aenam,
vpsta like mara-vpsta,
end of itab_mara.
select matnr ernam aenam vpsta from mara into table itab_mara up to 5
rows where matnr = p_matnr.
CALL FUNCTION 'SAP_CONVERT_TO_XML_FORMAT'
EXPORTING
I_FIELD_SEPERATOR =
I_LINE_HEADER =
I_FILENAME =
I_APPL_KEEP = ' '
I_XML_DOC_NAME =
IMPORTING
PE_BIN_FILESIZE = size
TABLES
I_TAB_SAP_DATA = itab_mara
CHANGING
I_TAB_CONVERTED_DATA = ixml
EXCEPTIONS
CONVERSION_FAILED = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE = size
FILENAME = file_str
FILETYPE = 'BIN'
APPEND = ' '
WRITE_FIELD_SEPARATOR = ' '
HEADER = '00'
TRUNC_TRAILING_BLANKS = ' '
WRITE_LF = 'X'
COL_SELECT = ' '
COL_SELECT_MASK = ' '
DAT_MODE = ' '
IMPORTING
FILELENGTH =
TABLES
DATA_TAB = ixml
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
but when i tried to open the XML file it is showing the following error.
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
A name was started with an invalid character. Error processing resource 'file:///C:/simp.xml'. Line 1, Position 23
<?xml version="1.0"?><%_TYPE0000000019><%_TYPE0000000019><MATNR Datatype="C" Length="18">00000000008...
do anyone know how to rectify this error.
thanks,
anil.check this thread for complete code sample
https://forums.sdn.sap.com/click.jspa?searchID=2218535&messageID=975797
Raja -
Hi all,
we are sending the purchase orders from SAP to Third party system as file using IDOC to File scenario.
In XI side successfully gone through in MDT also i didnt see any errors.
But when we open the file in third party system its giving errors.
Can anybody face this problem before please tell what cause the problem.
the file is PurchaseOrder_20071730-121942-758.txt
This is the time stamp in the file what time must be in MDT for this message because i didnt see any 12-19-42 time in MDT is there any time difference in the file and MDT if it is what time must i see it in MDT for identifying the message.
Answer will be rewarded.
Prasad.Hello Prasad,
You can see the filename in MDT.
In your reciever file adapter you will see theres a link below message id. click on that.
new window will open . Click on the page down button you will see something like this..
<i>2007-08-02 11:43:48 Success Write to file "
10.1.1.35\xi_public\inbound\in20070802-114348-390.xml" as binary, size 460 bytes</i>
Regards,
Sumit -
Hi! I'm having trouble opening a indd-file. It was sent to me as a zip-fil along with the used fonts and links. When I try to open the file, I'm getting this error: "Either the file does not exist, you do not have permission, or the file may be in use by another application". I've tried to look up this error both here in these forums and through google, but can't find a similar case. Hope someone can help me with this. Please let me know if you need more information/details, and I'll provide. Thanks!
function(){return A.apply(null,[this].concat($A(arguments)))}
I'm suspecting it to come from a mac user, if that could influence the case...
It does come from a Mac, as is proven by the fonts, which are of no use on my Windows machine, but that doesn't prevent my CS4 to open it without any problem. It seems to me it's a perfectly regular CS2 file.
Just for cheers I set the file to Read-only, but my InDesign opens it regardless (again as a copy, because it's a "converted" file).
Could it be something in your environment? No network read/write privileges, insufficient free hard disk space, stuff like that? -
I am using Excel 2003 SP3 and have the Office 2007 compatibility pack installed. When I open Office 2007 formatted Excel files (XSLX) directly in Windows Explorer, I receive the following error if I do not have Excel already opened:
"Windows cannot find '<path to file>'. Make sure you typed the name correctly, and then try again. To search for a file, click the Start button, and then click Search."
Even though I receive the error, the file does open; however, it opens in Read Only mode with a name such as "Xl0000024.xls". The number seems to increment up each time it happens.
Now here is the strange part. If I have Excel already open and try to open the file in Windows Explorer, the file opens fine in Modify mode with no error and with the correct file name.
I Googled the error I was getting and found KB211494. It says I should uncheck the box in Options on the General tab that says "Ignore other applications", but this box is already unchecked in my case. Any other ideas? This is
really frustrating as a small percentage of our company has upgraded to Office 2007 with the rest still on Office 2003.This may be a file association problem. To solve that:
In Windows 7:
1. Right-click the file,
2. Select "Open With"
select [Your Program Here]
3. Check always use this program.
In Windows XP:
1. Locate the file as you have described above
2. Right click the file
3. Select Open with from the pop-up menu
4. Click Choose default program…
5. Select Excel in the Recommended Programs box
6. Check Always use the selected program to open this kind of file
7. Click on OK.
1. Make Excel not available from Office 2007 listed under Programs and Features in Control Panel.
2. Take a registry backup using the steps given here
3. In the registry editor window expand HKEY_CLASSES_ROOT and navigate to .xls right and delete it.
4. Exit Registry Editor
5. Undo Step 1 to make Excel available.
6. Restart the computer and verify it the issue is fixed.
If this answer solves your problem, please check Mark as Answered. If this answer helps, please click the Vote as Helpful button. Cheers, Shane Devenshire -
Error when opening PDF files from SAP.
Hi Gurus
I have posted this question in ABAP Development section also. Please read the below text.
We are having a strange intermittent problem with Adobe Reader. When we try to open PDF files from SAP Frontend we get an error pop-up. The pop-up does not have any text. The title of the pop-up has "Adobe Reader". There is a blue question mark and an OK button.
This issue occurs few times a day in Windows Vista.
This issue does not occur in Windows XP.
Since past few weeks, we have been trying to find some error/warning/atleast some text in log files of SAP, OS, Adobe Reader, Registry entries, Event Viewer. So far, we have not found anything.
SAP is not able to help as this issue occurs intermittently and said when they tried, the issue did not occur. They made two attempts and in each attempt they tried 10 times to reproduce the issue. This issue occurs intermittently.
Environment
SAP R/3 4.7 EE SAP_Basis 620 Support Package 61
Windows Vista Enterprise
Adobe Reader 9.0 and Adobe Reader 9.1 (tried with both versions)
SAPGUI 710 Patch 12 (latest patch). It also occured in Patch 11.
Please suggest
Thank you
PavanNow I got to capture the screenshot, however not able to attach/upload here but it says:
'Reading Untagged Documents'
lets say i tried to open 6 page document then it said:
'This 6-page document is untagged and must be prepared for reading. While the document is being
analyzed, your assistive technology will not be able to interact with this application. '
then it asked for Reading options
then a checkbox for to confirm 'Always use the settings from the Reading Preferences (Do not show this dialog again)
then 'OK/START' and 'cancel' buttons
It seems, this is the problem with Adobe w.r.t Vista.
thanks
Bhudev -
Getting error when reading xml file from a remote connection
Hi all,
I want to read an xml file from a remote connection, not from my local machine.So when i am creating the data server i am giving the host name(that is the ip of the machine where the xml file is located), giving the proper username and password and giving the path of the xml file. When i am testing the connection the error that is coming:- "Connection failed and the xml file could not be created, verify that you have write permission in the directory"...
but read write and execute permissions have been given on the directory as well as to the file...
Regards,
SouravHi Sutirtha,
Initially I have started the agent.sh giving the agent name <agent name>and port number 20910 and defined it in the topology manager it is showing that the agent test is succesful. Then I tested a particular Data server against that agent and the test was successful.
After this we had stopped the agent and restarted it.
However now suddenly the testing against the remote agent is failing with the following excep:
java.lang.Exception:
at com.sunopsis.graphical.l.pm.a(pm.java)
at com.sunopsis.graphical.l.pm.s(pm.java)
at com.sunopsis.graphical.l.pm.g(pm.java)
at com.sunopsis.graphical.l.pm.a(pm.java)
at com.sunopsis.graphical.l.pm.a(pm.java)
at com.sunopsis.graphical.l.iz.actionPerformed(iz.java)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at com.sunopsis.graphical.l.pm.q(pm.java)
at com.sunopsis.graphical.l.pm.<init>(pm.java)
at com.sunopsis.graphical.frame.b.jh.bx(jh.java)
at com.sunopsis.graphical.frame.bo.w(bo.java)
at com.sunopsis.graphical.frame.bo.d(bo.java)
at com.sunopsis.graphical.frame.w.actionPerformed(w.java)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
PS: do i have to modify any file after or before starting the odi agent
Thnks and Rgds,
Sourav
Edited by: user13263578 on Mar 15, 2011 9:35 PM
Edited by: user13263578 on Mar 15, 2011 9:48 PM -
Smart View error when opening Powerpoint files read-only
Users are experiencing the following error when they open a Powerpoint file as read only. Using MS Office 2007 with Hyperion 11.1.2.1 Doesn't happen in edit mode. Error reappears every time user pages down to next slide. Quite annoying!
Shape. Tags : Invalid request. Presentations cannot be modified.
Has anyone experienced this issue and resolved it?
Thanks,Source: My oracle support
=============================================================================================================================
Applies to:
Hyperion Planning - Version: 11.1.2.1.000 and later [Release: 11.1 and later ]
Information in this document applies to any platform.
Symptoms
In Smart View Version 11.1.2.1.000, when attempting to open a PowerPoint document that is already open by other user the following error occurs:
ERROR : Shape.Tags: Invalid Request. Presentation cannot be modified.
Cause
This issue has been verified as Unpublished Bug 12418027: SMART VIEW ERROR : SHAPE.TAGS : INVALID REQUEST. PRESENTATION CANNOT BE MODIFIED
The cause of the problem is that when a presentation is edited by another user, an exception will be thrown while trying to query the tags in the presentation from a different process.
Solution
This issue has been fixed in the Oracle Hyperion Smart View for Office, Release 11.1.2.0.000 Patch Set 1 (PS1): 11.1.2.1.102 Release.
This patch is available via My Oracle Support:
1. Log into the My Oracle Support portal.
2. Choose the Patches & Updates tab.
3. Enter the Patch Name or Number from the drop-down box.
4. Perform a search for Patch:12968304 for your corresponding OS platform.
5. The patch file includes both installers and the readme.
Additional Information:
Please refer to the patch readme for system requirements, dependencies, and installation instructions. -
PL/SQL: numeric or value error when extracting xml file from tables.
create or replace FUNCTION proc_generate_xml_from_tables(p_directory in varchar2,
p_areaname in varchar2)
return integer
AS
qryCtx DBMS_XMLGEN.ctxHandle;
result CLOB;
clob_len number := 0;
file_ptr utl_file.file_type;
oTableName restore_metadata.table_name%type;
o_filename restore_metadata.table_name%type;
cursor metadata_restore_list(p_area varchar2) is
select * from restore_metadata
where instr(area_name,upper(p_Area)) > 0
order by degree;
vtabcount number := 0;
sql_stmt varchar2(300);
BEGIN
dbms_lob.createtemporary(result, true,dbms_lob.session);
oTableName := upper('MAINT_ACTVS');
vtabcount := 0;
sql_stmt := 'select count(*) from ' || oTableName;
execute immediate sql_stmt into vtabcount;
o_filename := oTableName || '.xml';
file_ptr := utl_file.fopen(p_directory,o_filename,'W');
dbms_output.put_line(oTableName);
qryCtx := dbms_xmlgen.newcontext('select * from ' || oTableName);
result := dbms_xmlgen.getxml(qryCtx);
--dbms_output.put_line(result);
clob_len := dbms_lob.getlength(result);
dbms_output.put_line('Length of the clob file' || clob_len);
utl_file.put_line(file_ptr,result);
utl_file.fclose(file_ptr);
dbms_xmlgen.closeContext(qryCtx);
dbms_lob.freetemporary(result);
return 0;
EXCEPTION
when others THEN
utl_file.fclose(file_ptr);
dbms_output.put_line('Table Name into Consideration :- ' || oTableName);
dbms_output.put_line('Oracle Error Number:- ' || sqlcode || ' Ora Message :- ' || sqlerrm);
return -1;
END;
I am getting the following errors..
SQL> @temp1.sql
MAINT_ACTVS
Length of the clob file34245
Table Name into Consideration :- MAINT_ACTVS
Oracle Error Number:- -6502 Ora Message :- ORA-06502: PL/SQL: numeric or value error
What am I doing wrong here?
DB version is Oracle 10g
Edited by: userAtoZ on May 6, 2011 2:55 PM>
My problem lies that my xml file is having data more than 32 K.
When I write it 32K at a time then it work fine.
>
Then break it down.
l_pos number;
WHILE (l_pos <= clob_len)
LOOP
UTL_FILE.PUT_LINE (file_ptr,DBMS_LOB.SUBSTR ( RESULT , 32767,l_pos));
l_pos := l_pos + 32767;
END LOOP;
utl_file.fclose(file_ptr);
-
Hi Dudes,
I am new to XML, when I am trying to read (parsing) the xml file from url, I am getting the following error.(using JAXP)
xml2jsp.java:50: createTextNode(java.lang.String) in org.w3c.dom.Document cannot
be applied to () Text index = request.createTextNode();
here is the source code:
import java.net.*;
import java.io.*;
import org.w3c.dom.*;
import javax.xml.parsers.*;
import javax.xml.transform.*;
import javax.xml.transform.stream.StreamResult;
import javax.xml.transform.dom.DOMSource;
public class xml2jsp {
private static String server
= "http://webservices.amazon.com/onca/xml?Service=AWSECommerceService&SubscriptionId=026CJ8XE8ZGWH4H58YG2&AssociateTag=" +
"bookinscom-20&Operation=ItemLookup&IdType=ASIN&ItemId=0060006781&ResponseGroup=Reviews";
public static void main(String[] args) {
//String server = DEFAULT_SERVER;
try {
// Build the request document
DocumentBuilderFactory builderFactory
= DocumentBuilderFactory.newInstance();
DocumentBuilder builder
= builderFactory.newDocumentBuilder();
Document request = builder.newDocument();
Element methodCall = request.createElement("methodCall");
request.appendChild(methodCall);
Element methodName = request.createElement("methodName");
Text text = request.createTextNode("calculatexml2jsp");
methodName.appendChild(text);
methodCall.appendChild(methodName);
Element params = request.createElement("params");
methodCall.appendChild(params);
Element param = request.createElement("param");
params.appendChild(param);
Element value = request.createElement("value");
param.appendChild(value);
// Had to break the naming convention here because of a
// conflict with the Java keyword int
Element intElement = request.createElement("int");
Text index = request.createTextNode();
intElement.appendChild(index);
value.appendChild(intElement);
// Transmit the request document
URL u = new URL(server);
URLConnection uc = u.openConnection();
HttpURLConnection connection = (HttpURLConnection) uc;
connection.setDoOutput(true);
connection.setDoInput(true);
connection.setRequestMethod("POST");
OutputStream out = connection.getOutputStream();
TransformerFactory xformFactory
= TransformerFactory.newInstance();
Transformer idTransform = xformFactory.newTransformer();
Source input = new DOMSource(request);
Result output = new StreamResult(out);
idTransform.transform(input, output);
out.flush();
out.close();
// Read the response
InputStream in = connection.getInputStream();
Document response = builder.parse(in);
in.close();
connection.disconnect();
NodeList doubles = response.getElementsByTagName("double");
Node datum = doubles.item(0);
Text result = (Text) datum.getFirstChild();
System.out.println(result.getNodeValue());
catch (Exception e) {
System.err.println(e);
Please send your valueable suggestions to sort out the error.
Looking forward for your favourable reply.
Regards
SridharYou need to spcify a string when you try to create a text node. If your goal is to have the <int> element with no content (like either <int></int> or <int/>) then do not create the text node and that will be the result.
Dave Patterson -
Illustrator CS6 gets error when opening AI files - Mavericks 10.9
I installed Mavericks yesterday ... lucky me, to be guinea pig in the office for this upgrade.
Am having issues with Illustrator. First it wouldn't open and had to runt he Java install, that took care of that. I am able to make new files without problem and open EPS files, but cannot open existing AI files UNLESS going to File > Open. If I double click on an AI file I get the error "The appliation can't be found"
After looking for similar issues I am not finding anyone else reporting a similar problem. I am not running any 3rd party plug ins. Any ideas???
Thanks for the help.Issue:
Clients logging into File Services over SMB with OS X 10.9 experience hanging connection upon login attempt.
Root Cause:
OS X 10.9 now utilizes a new SMB2 stack written by Apple. Apple's SMB2 implementation is not compatible with many other SMB2 NAS products on the market today while Windows 7, 8, and 8.1 works just fine. In short, its an Apple bug.
Workaround Option 1:
To force your connection to be SMB1, simply type cifs://servername instead of smb://servername when connecting to a Windows or NAS share. This is by far easier and requires no real configuration changes.
Workaround Option 2:
To force all connections to be SMB1:
Open A terminal window
paste in the following line followed by the return key(should be all on one line):
echo "[default]" >> ~/Library/Preferences/nsmb.conf; echo "smb_neg=smb1_only" >> ~/Library/Preferences/nsmb.conf
What the command does:
Creates a file called nsmb.conf in your home directory at the path ~/Library/Preferences/nsmb.conf.
Adds directives to force SMB connections to use the SMB1 protocol. This is slower but stable.
How to remove the workaround:
Open a terminal window
paste in the following at the prompt and then hit the return button:
rm ~/Library/Preferences/nsmb.conf
Notes:
Its a good idea to restart your mac before trying to connect to your storage again. This will clear any hung SMB processes from previous attempts to connect to your storage before implementing this workaround. -
Tdm importer error when opening tdms file
I am getting a error when trying to open a tdms file that had been opened by labview, written to, and then closed. The error is:
USI encountered an exception:
(175):Error while initializing interface
I can sort of understand this error occuring when I have the file open in labview (actually I consider this to be a bug since there is no reason why another application should not be able to access a file in read only mode even if it is currently open by another application)
but in my case I am definitely closing the tdms reference and it still will not import unless I stop the top level vi.It is a known bug that if you open a TDMS file with an option other
than "read-only", no other process can get access to that file, even if
it is just for reading. The issue is filed as CAR# 49794JWJ
(status: fixed). This only applies if the file is still open, which you
commented on, but which doesn't appear to be your actual problem.
Apparently, you are using the Storage VIs to handle your TDMS files,
otherwise you couldn't get a USI exception. Have you tried opening your
file with the TDMS File Viewer on the TDM Streaming palette? If that
doesn't work, please provide us with your TDMS file, and if possible,
your VI. This would be a problem that we're not aware of at this point.
Thank you,
Herbert -
"Parse Error" when opening .WFT file
I have a .wft file left behind by a consultant; when I try to open it in WF Builder (2.6.3.5) I'm getting the following errors:
1300: Could not load.
1223: Parse error in line 45663.
1211: Invalid name for 'NAME' field of 'ROLE' entity.
204: Value must be upper case.
I'm almost certain that we opened all his files before he left; no one - to my knowledge - has changed any of them.
The scary thing is (other than the fact that I'm supposed to be migrating these files into production soon!) is that WF Builder simply won't open the file... period. I can't poke around in it to try and see what's wrong because I can't get into it at all.
Anyone seen this sort of thing before? I saw where someone posted about a .WFT giving similar errors because it contained Japanese characters... I kind of doubt that that is the problem in this case.Apparently that was it. I found these two entries in the file:
BEGIN ROLE "CFO Approval Pool"
DISPLAY_NAME = "CFO Approval Pool"
DESCRIPTION = "CFO Approval Pool"
NOTIFICATION_PREFERENCE = "MAILHTML"
LANGUAGE = "AMERICAN"
TERRITORY = "AMERICA"
STATUS = "ACTIVE"
END ROLE
BEGIN ROLE "Notification of Approved PO"
DISPLAY_NAME = "Notification of Approved PO"
DESCRIPTION = "Notification of Approved PO"
NOTIFICATION_PREFERENCE = "MAILHTML"
LANGUAGE = "AMERICAN"
TERRITORY = "AMERICA"
STATUS = "ACTIVE"
END ROLE
When I replaced the text in quotes that followed "BEGIN ROLE" and saved a copy, the copy opened without a hitch. I considered that text to be for documentation purposes and not considered in syntax... but obviously I was wrong.
Thanks! -
Error when opening .chm file
I converted a .Winhelp help project to HTML and generated
.chm file. The .chm file opens just fine on my local hard drive.
Then I check in this .chm file into Visual Source Safe where we
store all of our files. When I get a copy or check out this same
.chm file from Visual Source Safe on to my local hard drive, it
refuses to open and displays the error message:
Cannot open the file:
mk:@MSITStore:C:\SOURCESAFE\Enterprise\ENT5.0\Documentation\Help\CHM\ptwin.chm
The same behavior occurs even when other people get a copy of
this file on to their hard drive. How can I resolve this problem?
Thank you in advance!Hi Mandavilli,
This
thread suggests that the chm file has become corrupted somehow,
and that deleting the CPD file and recompiling solved the issue,
although there is no mention of VSS. It might be worth trying, in
any case.
Amber
Maybe you are looking for
-
Deleteing exact duplicates more than one at a time?
I am able to pull up exact duplicates but am I only supposed to delete the extras or all on the list? Is there a way to delete all at once or do I have to do it one by one?
-
Hi all, I am setting up a tool that counts the number of specific lines written for a SAP project, for KPI purpose. It is already working for reports, includes, functions (group and functions), classes, BSP applications and so on.... I am now looking
-
Weird Pismo antics...
OK...here goes...got a Pismo which has been behaving badly for a couple months...nothing earth-shattering...but causing enough annoyance for me to consider retirement (something I REALLY don't want to do...since it's my primary traveling machine)...
-
I know this topic has been covered at nauseum. I have a an Iphone 3G with version 3.1.2 OS on it. I"m trying to get the WiFi working since its been upgraded to OS 3.0. The phone will "see" the networks but refuse to connect. Yes, I have reset the pho
-
so I have a database on our server that I have access to through phpmyadmin. I need to connect it to my dreamweaver site so I can add dynamic content. I entered the testing server information as the same as the remote info because we don't have a tes