473,769 Members | 5,784 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Excel file not accepted by Amazon.com

18 New Member
Hi All,

We have setup an Amazon webstore and we anticipate uploading 10,000+
products, and therefore to avoid unnecessary manual labor we wish to
automate as much of the process of adding and managing products as
possible. The automation process that we have in mind will require some manner of cross scripting.

We currently have a database of our products and we are able to upload
products to Amazon with no problems. Our database of products is residing on our server, and we wish to also access the Amazon control panel from our server through our scripting, and then assign the already uploaded products to the Amazon Categories via the Amazon Control
Panel. These

Categories are different from what Amazon is using. These will only be
used


in our WebStore. Once

the products have properly been assigned to the categories, then the last
step is for the script to

publish the site.



To assign Products to Categories, there's a template that we should follow

that is downloadable. See attachment (ProductCategor yMappings.xls). Also,

for your reference, attached is the same template with sample data

(ProductCategor yMappings_with_ Data.xls).



The Product's data is in our database except for Amazon's unique ID which

they call ASIN. We are already retrieving the product's ASIN after 2-3
hours

after uploading the product. This is being retrieved via Amazon's
Associate

Web Service (AWS). This will be retrieved by a script on a timely manner
via



cron job which will also create the Excel file dynamically (based on the

attached template) and populate it with the appropriate data.



Here is the problem:

- the dynamically created Excel file is not being accepted by Amazon even
if



the file can be opened/viewed by OpenOffice.org Calc and Microsoft Office

Excel. We already tried several ways to create the Excel file but to no

avail.



For Amazon to accept it, we opened the dynamically created Excel file in

Microsoft Office Excel and saved it (Open the file then click Save. Just

that). Then, we tried to upload it and it worked... May be Microsoft
Office


Excel is adding something (which we can't figure out). By the way, we have

Microsoft Office Excel 2007.



When that is solved, we should also be able to do the following

AUTOMATICALLY:

1. select a WebStore

2. after selecting a WebStore, submit the dynamically created Excel file
to

[Hide Quoted Text]

the form located in: WebStore Design > Category Management > Step 2 Assign

Products to Categories > Excel Upload

3. And, lastly, publish the selected WebStore


Thanks and Regards
codexxx
Sep 19 '08 #1
1 2239
code green
1,726 Recognized Expert Top Contributor
How are you creating the Excel file.
What type of file is it? XLS or CSV.
Excel can open and display many file types

The underlying construction of XLS is basicaaly a web page while CSV is a text file.

I don't know what Amazon expect but does it look OK in say Notepad or is there gibberish there?
Sep 19 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
5617
by: gogoray | last post by:
Hello, I want to open an Excel spreadsheet in my ASP.NET/C# page, but the file cannot be found. Here's the code: <code><snip> using Excel; using System.Reflection; using System.Runtime.InteropServices; <snip> private Excel.Application excelApp = new Excel.ApplicationClass();
4
3201
by: Randy | last post by:
Hello, I'm getting an "Access Denied" error when I hit the line of code... Excel.Application oXL = new Excel.Application(); From what I've read, you can get around this by putting the file (where this code is) in a separate directory and also putting its own web.config in this separate directory with this line in it... <identity impersonate="true"/>
9
6606
by: [Yosi] | last post by:
Can I make an Excel file without having Excel in my PC ? I want to create Excel files from my C# application , then open those files later in another PC who have Excel installed . As we can open and read from Access files in C# application without having Access in this PC in this case we install MDAC , Is there any thing similar to MDAC for Excel ? if yes where can I download it ? what is the name of the file ?
3
1809
by: nkunkov | last post by:
Hi, I have read a lot of articles in this newsgroup about how to solve this problem but found no solution. I'm trying to export a C# datagrid to Excel file. Here is my code that I have also found on google: MyDataGrid.EnableViewState = false; MyPage.Response.Clear(); MyPage.Response.Buffer = true; MyPage.Response.AddHeader( "Content-disposition",
1
1320
by: yosh o | last post by:
I hope this is the right area to post this, and I appoligize if it isn't in advance. I've spent the last few days trying to figure out what I'm doing wrong in this code. What I'm doing is that I'm opening an excel file, changing the header and then trying to save and close the file. Instead when I run it, the web page hangs. Sub Headers() Dim xlapp ' Our Excel App
2
4162
by: Peter S. | last post by:
I have an ASP.NET page that invokes a web control written in C#. What I want to do is (based on the session ID) display a certain spreadsheet that exists on a network drive. I want the webcontrol to open the spreadsheet using my log on credentials since they won't have priviliges to access their particular file from the network drive. BTW, I am guessing I will have to use HTTP as this file exists in a Sharepoint document library. I can...
2
2492
by: monsieur.marco | last post by:
Hi all, Does anybody know how to save localization in an excel workbook (C# 1.1)? I'm not sure this is possible, but I'm trying to do this so that numberColumns keep their format no matter what local is set in the computer where the file is opened. Thanks in advance, Swayze
5
6582
by: mabond | last post by:
Hi recently read a posting and reply about Excel processs still running after the Appliction.Quit was called. Thought I might be able to use the same (System.Runtime.InteropServices.Marshal.ReleaseComObject(exApplication)) to solve my problem but could not. Background : My app uses a WebBrowser control to display to the user the contents of an Excel spreadsheet.:
2
7082
by: lxrocks | last post by:
Hi I have always downloaded table data to excel using a perl_cgi. The perl cgi will simpley print("Content-Type: application/vnd.ms-excel"); followed by the usual html table formatted data. However if I try the same with javascript it does not seem to work. ie document.write("Content-Type: application/vnd.ms-excel"); document.write("<html><table><thead>bla bla...</html>);
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10049
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9997
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9865
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7413
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3965
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.