The uploaded file .xml is invalid. The file should be in XSD format.
hi ,
when i am trying to upload a data definition file .ie salesinvoice.xml through oracle XML Publisher , i get the error message "The uploaded file salesinvoice.xml is invalid. The file should be in XSD format."
i tried attaching other xml files also and i get the same error message. don't know how to fix this . the rtf files i can attach without and problem.
thanks in advance
manohar
This totally worked for me. Strange enough, any heads-up on whether this has been patched or not for versions 12.0 + ?
Edited by: user8961526 on Nov 22, 2010 12:24 PM
Similar Messages
-
Hi All,
We have a form library with around 2000 InfoPath forms submitted successfully, but suddenly from the couple of weeks noticing that, the users are able to submit the form successfully without
any issues but the referenced .xml file is physically not
getting saved and the strange thing is it's reference(i.e. xml) is available. When we try opening the form it gives below error.<o:p></o:p>
“InfoPath cannot open the following file ‘formpath/.xml’
”<o:p></o:p>
When we try viewing the version history, it gives below error:<o:p></o:p>
"The URL 'filename.xml' is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current web"<o:p></o:p>
I have also looked at the logs but not much information. Can someone help me?
MercuryManHi,
According to the error message, this issue is a typically database related issue.
1. Make sure that your Content Database in SQL is not full.
Open SQL management studio and connect to SQL server that have your content DB.
You can find SQL server name from "manage servers in this farm".
Right click the content database, click Reports > Standard Reports > Disk Usage to generate a standard report.
For your reference:
http://social.technet.microsoft.com/Forums/en-US/178095de-7fba-482c-9be1-94e60b1906e0/sharepoint-2010-error-the-url-item-url-is-invalid-it-may-refer-to-a-nonexistent-file-or
2. According to KB 894631, this error message will be thrown out when the content database is configured to read-only.
Go to Central Administration > Manage Content Databases and check if it is the case. Also, recycle the application pool in case the cache was corrupted.
Thanks.
Tracy Cai
TechNet Community Support -
I have a Windows Phone Silverlight 8.1 project that i am trying to publish
The publisher in the uploaded package does not match the
expected publisher. The expected publisher for this app is: "CN=00000000-8F5B-44B4-BFC6-F16FB18F2358"
I have the same Publisher Id set in the WMAppManifest file
help me
thank youHi kadir u,
>>The publisher in the uploaded package does not match the expected publisher. The expected publisher for this app is: "CN=00000000-8F5B-44B4-BFC6-F16FB18F2358"
Based on the error information, we can see that the publisher value does not have the correct one. So please try to open the Package.appxmanifest, then modify the Publisher as "CN=00000000-8F5B-44B4-BFC6-F16FB18F2358":
<Identity Name="*******"
Publisher="CN=00000000-8F5B-44B4-BFC6-F16FB18F2358"
Version="1.0.0.0" />
Best Regards,
Amy Peng
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
The publisher in the uploaded package does not match the expected publisher.
I have an existing Windows Phone 8 application in which I wish to release an update to. This update includes new features as well as targets the 8.1 platform. Because of an unknown problem with the original Visual Studio project
where the app stopped being able to be deployed to test devices, it was faster to create a new Visual Studio project and copy over the existing code and assets than try and find the issue in the original project. This lead to the publisher GUIDs being different
between the new and original projects.
Now when I try and submit the updated package within the Windows Phone Online dashboard I get the following error message "The publisher in the uploaded package does not match the expected publisher. The expected publisher
for this app is: "CN=0745C81D-D1ED-49ED-A219-C546B5F31DE5"".
I have updated both the WMAppManifest and Package.appxmanifest so that they have the following attributes and information:
Package.appxmanifest (PhonePublisherId="0745C81D-D1ED-49ED-A219-C546B5F31DE5")
And
WMAppManifest (PublisherID="{0745C81D-D1ED-49ED-A219-C546B5F31DE5})
I have then recompiled the app and uploaded and attempted to resubmit the update but I still get the error that the Publisher does not match. What have I missed??This sounds tricky... perhaps you can do a search in the entire app for the GUIDs and replace them.
Also, you could build the appx package, rename the .appx to .zip, and open it up to see if you can find the wrong publisher id anywhere and it might give you a clue to where to make the change.
Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.
NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
objects and unknown namespaces. -
Hi,
I am getting error while creating virtual machine from Azure REST management API. Could someone please point me what wrong I am POSTing in below XML
ERROR ---
<Error xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Code>InvalidXmlRequest</Code><Message>The request body's XML was invalid or not correctly specified.</Message></Error>
" <Deployment xmlns=\"http://schemas.microsoft.com/windowsazure\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\">" +
" <Name>SomeName</Name>" +
" <DeploymentSlot>Production</DeploymentSlot>" +
" <Label>SomeLabel</Label>" +
" <RoleList>" +
" <Role>" +
" <RoleName>SomeRoleName</RoleName>" +
" <RoleType>PersistentVMRole</RoleType>" +
" <ConfigurationSets>" +
" <ConfigurationSet i:type=\"WindowsProvisioningConfigurationSet\">" +
" <ConfigurationSetType>WindowsProvisioningConfiguration</ConfigurationSetType>" +
" <ComputerName>SomeCompName</ComputerName>" +
" <AdminPassword>Admin098</AdminPassword>" +
" <EnableAutomaticUpdates>true</EnableAutomaticUpdates>" +
" <ResetPasswordOnFirstLogon>false</ResetPasswordOnFirstLogon>" +
" </ConfigurationSet>" +
" <ConfigurationSet i:type=\"NetworkConfigurationSet\">" +
" <ConfigurationSetType>NetworkConfiguration</ConfigurationSetType>" +
" <InputEndpoints>" +
" <InputEndpoint>" +
" <LocalPort>3389</LocalPort>" +
" <Name>RemoteDesktop</Name>" +
" <Protocol>tcp</Protocol>" +
" </InputEndpoint>" +
" </InputEndpoints>" +
" </ConfigurationSet>" +
" </ConfigurationSets>" +
" <OSVirtualHardDisk>" +
" <DiskName>SomeDiskName-0-20121007173943</DiskName>" +
" <MediaLink>http://portalvhdsrx7q659n2n5j2.blob.core.windows.net/public/myvhd0008980.vhd</MediaLink>" +
" <SourceImageName>MSFT__Win2K8R2SP1-Datacenter-201208.01-en.us-30GB.vhd</SourceImageName>" +
" </OSVirtualHardDisk>" +
" <RoleSize>Small</RoleSize>" +
" </Role>" +
" </RoleList>" +
" </Deployment>"I have tried adding admin user name as well to the xml but still get same error.Please suggestthe format of the request body is:
<Deployment xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Name>name-of-deployment</Name>
<DeploymentSlot>deployment-environment</DeploymentSlot>
<Label>identifier-of-deployment</Label>
<RoleList>
<Role>
<RoleName>name-of-the-virtual-machine</RoleName>
<RoleType>PersistentVMRole</RoleType>
<VMImageName>name-of-vm-image</VMImageName>
<ConfigurationSets>
<ConfigurationSet i:type="WindowsProvisioningConfigurationSet">
<ConfigurationSetType>WindowsProvisioningConfiguration</ConfigurationSetType>
<ComputerName>name-of-computer</ComputerName>
<AdminPassword>administrator-password</AdminPassword>
<EnableAutomaticUpdates>enable-updates</EnableAutomaticUpdates>
<TimeZone>time-zone</TimeZone>
<DomainJoin>
<Credentials>
<Domain>domain-to-join</Domain>
<Username>user-name-in-the-domain</Username>
<Password>password-for-the-user-name</Password>
</Credentials>
<JoinDomain>domain-to-join</JoinDomain>
<MachineObjectOU>distinguished-name-of-the-ou</MachineObjectOU>
</DomainJoin>
<StoredCertificateSettings>
<CertificateSetting>
<StoreLocation>LocalMachine</StoreLocation>
<StoreName>name-of-store-on-the-machine</StoreName>
<Thumbprint>certificate-thumbprint</Thumbprint>
</CertificateSetting>
</StoredCertificateSettings>
<WinRM>
<Listeners>
<Listener>
<Protocol>listener-protocol</Protocol>
</Listener>
<Listener>
<CertificateThumbprint>certificate-thumbprint</CertificateThumbprint>
<Protocol>listener-protocol</Protocol>
</Listener>
</Listeners>
</WinRM>
<AdminUsername>name-of-administrator-account</AdminUsername>
<CustomData>base-64-encoded-data</CustomData>
</ConfigurationSet>
<ConfigurationSet i:type="LinuxProvisioningConfigurationSet">
<ConfigurationSetType>LinuxProvisioningConfiguration</ConfigurationSetType>
<HostName>host-name-for-the-virtual-machine</HostName>
<UserName>new-user-name</UserName>
<UserPassword>password-for-the-new-user</UserPassword>
<DisableSshPasswordAuthentication>password-authentication</DisableSshPasswordAuthentication>
<SSH>
<PublicKeys>
<PublicKey>
<FingerPrint>certificate-fingerprint</FingerPrint>
<Path>SSH-public-key-storage-location</Path>
</PublicKey>
</PublicKeys>
<KeyPairs>
<KeyPair>
<FingerPrint>certificate-fingerprint</FinguerPrint>
<Path>SSH-public-key-storage-location</Path>
</KeyPair>
</KeyPairs>
</SSH>
<CustomData>base-64-encoded-data</CustomData>
</ConfigurationSet>
<ConfigurationSet>
<ConfigurationSetType>NetworkConfiguration</ConfigurationSetType>
<InputEndpoints>
<InputEndpoint>
<LoadBalancedEndpointSetName>name-of-load-balanced-set</LoadBalancedEndpointSetName>
<LocalPort>local-port-number</LocalPort>
<Name>name-of-endpoint</Name>
<Port>external-port-number</Port>
<LoadBalancerProbe>
<Path>path-of-probe</Path>
<Port>port-assigned-to-probe</Port>
<Protocol>probe-protocol</Protocol>
<IntervalInSeconds>interval-of-probe</IntervalInSeconds>
<TimeoutInSeconds>timeout-for-probe</TimeoutInSeconds>
</LoadBalancerProbe>
<Protocol>endpoint-protocol</Protocol>
<EnableDirectServerReturn>enable-direct-server-return</EnableDirectServerReturn>
<EndpointACL>
<Rules>
<Rule>
<Order>priority-of-the-rule</Order>
<Action>permit-rule</Action>
<RemoteSubnet>subnet-of-the-rule</RemoteSubnet>
<Description>description-of-the-rule</Description>
</Rule>
</Rules>
</EndpointACL>
</InputEndpoint>
</InputEndpoints>
<SubnetNames>
<SubnetName>name-of-subnet</SubnetName>
</SubnetNames>
<StaticVirtualNetworkIPAddress>ip-address</StaticVirtualNetworkIPAddress>
</ConfigurationSet>
</ConfigurationSets>
<ResourceExtensionReferences>
<ResourceExtensionReference>
<ReferenceName>name-of-reference</ReferenceName>
<Publisher>name-of-publisher</Publisher>
<Name>name-of-extension</Name>
<Version>version-of-extension</Version>
<ResourceExtensionParameterValues>
<ResourceExtensionParameterValue>
<Key>name-of-parameter-key</Key>
<Value>parameter-value</Value>
<Type>type-of-parameter</Type>
</ResourceExtensionParameterValue>
</ResourceExtensionParameterValues>
<State>state-of-resource</State>
</ResourceExtensionReference>
</ResourceExtensionReferences>
<AvailabilitySetName>name-of-availability-set</AvailabilitySetName>
<DataVirtualHardDisks>
<DataVirtualHardDisk>
<HostCaching>caching-mode</HostCaching>
<DiskLabel>label-of-data-disk</DiskLabel>
<DiskName>name-of-disk</DiskName>
<Lun>logical-unit-number</Lun>
<LogicalDiskSizeInGB>size-in-gb-of-data-disk</LogicalDiskSizeInGB>
<MediaLink>path-to-vhd</MediaLink>
</DataVirtualHardDisk>
</DataVirtualHardDisks>
<OSVirtualHardDisk>
<HostCaching>caching-mode</HostCaching>
<DiskLabel>label-of-operating-system-disk</DiskLabel>
<DiskName>name-of-disk</DiskName>
<MediaLink>path-to-vhd</MediaLink>
<SourceImageName>name-of-source-image</SourceImageName>
</OSVirtualHardDisk>
<RoleSize>size-of-virtual-machine</RoleSize>
<ProvisionGuestAgent>install-an-agent</ProvisionGuestAgent>
</Role>
</RoleList>
<VirtualNetworkName>name-of-virtual-network</VirtualNetworkName>
<Dns>
<DnsServers>
<DnsServer>
<Name>dns-name</Name>
<Address>dns-ip-address</Address>
</DnsServer>
</DnsServers>
</Dns>
</Deployment>
for more details please see
this link.
hope this helps! -
How to pull the root level XML tags in the XML source-SSIS?
Hi All,
Can anyone please help out with the following requirement?
There is a XML file data which I need to pull it to database. Please see the attached XML file.
Question: When I am trying to pull the root level data (i.e. CreationDateTime and FileNumber) from XML source in the dataflow, the respective tag is not seen in the input. Can anyone help me how can I get those values in my input to pull the data to Database?
Thanks & Regards,
SriHi Sri,
In SQL Server Integrated Services, we can generate XML Schema (XSD) file based on a XML file with XML Source Editor. For more details, please refer to the following steps:
Double-click the XML Source in the Data Flow Task.
Browse the XML file for the XML location.
Click the Generate XSD button to generate an XSD file.
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
The publisher in the uploaded package does not match the expected publisher x2
I spent an hour with a very helpful MS tech support guy today to try and resolve this issue to no avail. He ensured it wasn't on their end within the Dev Center which means it would lie in the App Studio Beta team's end.
So I have double and tripled checked to ensure my publisher ID matches what the App Info on Dev Center says to what is in the associate app with store says on my app in App Studio. Anyone else have an idea what could be causing this problem?
I don't want to have to try to re-create my app and then find this same error.Update: After having recreated my app and publishing it to the store I then made a few changes and now need to upload my updated PUBLISHED app.
Guess you can guess that upon uploading and submitting the change - I get the error once again. Very frustrating as you can imagine. I realize App Studio is in beta but not to even get a response from the team is a bit on the odd side as well.
Come on guys, I am trying to publish apps to the store and want to make WP relevant in the USA but you aren't helping here if your great tools aren't working properly. -
Using Firefox 7.0.1 on an iMac w/Snow Leopard 10.6.8
Made no upgrades (unless automatic and didn't notice) or Preferences changes in the last couple of weeks - downloaded files with no trouble just before thatYes,ranchers, I did try that a bunch of times- thanks for trying.
I'm gonna list all the things I did (that I can can think of):
Tried to force close the app.
Turned on/off wiFi
Tried letting it just run on the screen it's stuck at for like 15 minutes
Ugh...my brain is turning off-I think it's frozen like my Sims! Cornball I know.
But I've tried everything I could think of which is a bunch more things than what I was able to list. And I'll do my best to answer any questions cause I know from looking all over on different forums that I'm not the only one this is happening to. It happened to a bunch of people who I think are still waiting for theirs to get fixed.
Can the cloud save me if I upload today? -
I don't know how to fix this. If anybody could help me I would appreciate it so much!
Welcome to Apple Support Communities
To transfer files from another PC, you need a code that you have to insert in your Mac. As the code will be different, you have to turn off your Mac and start the migration again as you did it. Unfortunately, you can't do anything more -
The uploaded file XX001.xml is invalid. The file should be in XSD form
Hi all,
i have developed rdf and registered as output xml and
when i am uploading xml file in data defination.
The uploaded file SCCCFA001.xml is invalid. The file should be in XSD format.
i have removed the comments and as well as same error i am geeting.
why xsd format.
oracle apps version r12 1.1.1
word 2007
bipuglisher 10g
Edited by: 979449 on Jan 27, 2013 3:13 AM>
i have developed rdf and registered as output xml and
when i am uploading xml file in data defination.
>
try:
- create executable as oracle report (your rdf file)
- create concurrent based on above executable and set output as xml
- create data definition (without any file)
- create template (layout of result report) as example in rtf
as example of concurrent based on rdf look at GLWACCTR
use appropriate forum in the next time
E-Business Suite - https://forums.oracle.com/forums/category.jspa?categoryID=3 -
InDesign file with layers to the Adobe Creative Cloud?
Is it possible for me to upload an InDesign file with layers to the Adobe Creative Cloud please?
Hello, Yes you can upload a Indesign CC file with layers and download the same file with the layers. It is still the orginal file as there is not any changes made to the file during the upload or download process from the Creative Cloud.
If you find that this resolves your issue or was helpful, could you please take a moment to come back to this discussion and mark the post as helpful. Doing so greatly benefits your fellow users
Thanks
Scott V -
Showing the thumbnail view of the uploaded image
Hello Experts,
I am developing a website in jsp, where i have a module for patron uploading their photo into the server.
After a lot of gooling and searches in this site, i found code to upload the image and it uploads perfectly into the specified folder at server also. But my need is showing the uploaded image at once, after the image is uploaded. i used
<img src="images\<%=filepath%>"> and also
<img src="ImageServlet\file=<%=filepath%>"> both are not working.
any suggession will be greatly appreciated.
Regards,
Sri.Thanks for your suggessions, i have placed my code below, i think i am closing the file afrer writing.
If anything is failed to close, please let me know.
if (request.getParameter("upload") != null) {
String contentType = request.getContentType();
if ((contentType != null) && (contentType.indexOf("multipart/form-data") >= 0)) {
DataInputStream in = new DataInputStream(request.getInputStream());
int formDataLength = request.getContentLength();
byte dataBytes[] = new byte[formDataLength];
int byteRead = 0;
int totalBytesRead = 0;
while (totalBytesRead < formDataLength) {
byteRead = in.read(dataBytes, totalBytesRead, formDataLength);
totalBytesRead += byteRead;
String file = new String(dataBytes);
String saveFile = file.substring(file.indexOf("filename=\"") + 10);
saveFile = saveFile.substring(0, saveFile.indexOf("\n"));
saveFile = saveFile.substring(saveFile.lastIndexOf("\\") + 1, saveFile.indexOf("\""));
String ext = "";
if (saveFile.indexOf(".") != -1) {
ext = saveFile.substring(saveFile.lastIndexOf("."));
int lastIndex = contentType.lastIndexOf("=");
String boundary = contentType.substring(lastIndex + 1, contentType.length());
int pos;
pos = file.indexOf("filename=\"");
pos = file.indexOf("\n", pos) + 1;
pos = file.indexOf("\n", pos) + 1;
pos = file.indexOf("\n", pos) + 1;
int boundaryLocation = file.indexOf(boundary, pos) - 4;
int startPos = ((file.substring(0, pos)).getBytes()).length;
int endPos = ((file.substring(0, boundaryLocation)).getBytes()).length;
if (ext.equalsIgnoreCase(".jpeg") || ext.equalsIgnoreCase(".jpg") || ext.equalsIgnoreCase(".gif") || ext.equalsIgnoreCase(".png") || ext.equalsIgnoreCase(".tiff")) {
String strFilePath = "";
String strCopyPath = "";
Properties props = new Properties();
try {
File filDBConfig = new File(strFilePath);
FileInputStream fiStream = new FileInputStream("C:\\sansri\\config.properties");
props.load(fiStream);
strFilePath = props.getProperty("db.photopath");
strCopyPath = props.getProperty("db.copypath");
fiStream.close();
filDBConfig = null;
} catch (Exception e) {
e.printStackTrace();
Photo = "Invalid File";
System.out.println("strFilePath " + strFilePath);
File fff = new File(strFilePath);
if (fff.exists() == false) {
fff.mkdirs();
fff = new File(strCopyPath);
if (fff.exists() == false) {
fff.mkdirs();
//copying into build to show uploaded image at once
Photo = request.getParameter("upload").concat(ext);
FileOutputStream fileOut = new FileOutputStream(strFilePath + "\\" + Photo);
fileOut.write(dataBytes, startPos, (endPos - startPos));
fileOut.flush();
fileOut.close();
//copying into web also to avoid unavailability of image while rebuilding
fileOut = new FileOutputStream(strCopyPath + "\\" + Photo);
fileOut.write(dataBytes, startPos, (endPos - startPos));
fileOut.flush();
fileOut.close();
} else {
Photo = "Invalid File";
}{code} -
Appending XML data to a file using file adaptor
Hi,
I am trying to append data to a file using file adaptor in XML format. (Objective is to store data as XML message in the file). I understand it is possible to append data to an existing file by making appropriate changes in WSDL manually. However, my issue is every time the XML data is appended to a file even the XML header message is also getting appended. As a result the file data does not adhere to defined schema structure anymore.
Is there a way to save XML data in a file in append mode ?
Thanks, RizI am having the same issue as well, which makes the output XML an invalid one. I have an XSD that has a hierarchy of elements. whenever I am wiriting the child elements the header message & the name space is also getting written. For example
<?xml version="1.0" ?><Parent xmlns="http://testSchema.com/outputSchema">
<StartDate>01/01/2001</StartDate>
<EndDate>01/30/2001</EndDate>
<Child/>
</Parent>
<?xml version="1.0" ?><Child xmlns:ns1="http://testSchema.com/outputSchema">
<ns1:Id>20012981</ns1:Id>
<ns1:Value/>
<ns1:Date>01/15/2001</ns1:Date>
</Child>
<?xml version="1.0" ?><Child xmlns:ns1="http://testSchema.com/outputSchema">
<ns1:Id>20012981</ns1:Id>
<ns1:Value/>
<ns1:Date>01/15/2001</ns1:Date>
</Child>
I am using a onefile adapter partnerlink to write the parent & an another one for writing the child element, since the child elements will repeat more than once. One other way to fix this issue is write the data using java embedded activity, but that would need a lot of boiler plate code, for writing/reading/appending the same file & for handling all those IOexceptions & buffer IN/outs. I am curious if someone had the same issue & how they resolved it. -
this only occurs when I am in firefox. this has also affected my ability to upload a document through a website. When the upload window opens to select the file - I can click the file, but after that it is just frozen. have to go through the task manager to end firefox.
Update your flash.
Check for plugins are uptodate.
*https://www.mozilla.org/en-US/plugincheck/ -
First Aid Services reports Errow "Invalid Volume File Count"
In attempt to deleate a small Windows psrtition and creating a larger new Windows partition, Boot Camp directed to First Aid where the resulting error messages are "Invalid Volume File Count" and Invalid File Count", Directions to reboot with program disks failed to work. What next??
What failed to work? Booting to your OS installer disk or running Repair Disk from Disk Utility when you were booted to the installer disk?
Maybe you are looking for
-
My iPhone 4S had an update for general and I hit it and the screen had a line that filled up and then the phone shut off , apron restarting it shows you to connect to iTunes and when I did it told me to reset my phone which will erase all my photos a
-
I have problem where context-sensitive help markers disappear from my .h files. I started with a .h file from my old WebWorks project. After a little reformatting, I was able to get the CSH Map IDs to load and map properly to my RH topics (I had to d
-
Select query with variable no of conditions
Hi, I want to write a select query such that the conditions mentioned under WHERE clause can be variable .like : Select * from TABLE where F1 = var1 and F2 = var2 and F3 = var3. Now on the basis of some conditons the equations in where clause should
-
Hi i had create an out put device for testing graphical print . this is for front end printing Device Type :Graphics: general device for graphics Device Class : standrad Printer Access method : F Host print: %default% then all are default . i assigne
-
Can we set dynamic break-points in SAPscripts ??