Uploading Excel 2007 Documents: Client Download Problems
Aug 10, 2007
Greetings,
Environment:
Server: SQL Server 2005 with service pack 1 running on Windows Server 2003
Clients: Internet Explorer 7, MS Office 2007
Setup:
Our companies reports are a mixture of Reporting Services Reports and Excel workbooks with pivot tables. We want both the reports and the pivot tables to be accessible from the same web page so users have a single entry point into all of the business intelligence tools. We have the Reporting Services Reports working just fine but there is an slight hiccup with the Excel documents. The Excel files upload just fine, but when clients try and download them they are always presented with the following Yes/No dialog:
"The file you are trying to open 'Resource.aspx' is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?"
Clicking Yes opens the file in excel but it is opened as Resource.aspx instead of the actual excel file.
Clicking No opens the file in excel as the actual excel file.
My questions are:
1. Why does the file upload correctly as an excel file type but download as an aspx?
2. Is there a way to let Reporting Services associate the .xlsx extension with Excel.
3. Is this even a Reporting Services problem? (I believe it is, because we also use SharePoint and excel files uploaded in sharepoint download correctly using IE7).
Any help or insight is appreciated.
Regards,
Jplocster
View 11 Replies
ADVERTISEMENT
Jan 26, 2007
Excel 2007 Documents Not Displayed in Windows XP Professional sp2
Start Menu's Recent Documents List:
Dear Microsoft Support:
I can't figure out how to get recently used Excel 2007 (new file formats) documents to show up in the Windows XP Professional (sp2) Start Menu's Recent Documents List. I checked the Internet, the knowledgebase, many parts of the MS web site, etc. for an answer but can't find one.
Are Excel 2007 documents supposed to show up in the XP Start Menu's Recent Document List? Is this a bug or do I have to do some sort of configuration to make it do so? If it's a bug, when will a fix be available?
Are these new Excel 2007 files filtered out like EXE files are which will not appear in the Recent Document List?
The Excel 2007 file types are listed in the Registry.
This question is also posted on Experts-Exchange...No solutions yet.
Thanks.
Jim.
View 1 Replies
View Related
Dec 11, 2006
How can I search throught DOCX (MS Word 2007) documents by SQL Server 2005 Full Text Search engine?
Should I something download?
View 6 Replies
View Related
Mar 4, 2005
Does anyone know how to upload (bulk) data from a client (written in Excel VBA) to a remote SQL2000 database? Of coarse I tried "INSERT INTO" and rst.addnew but I noticed this is much, much slower as downloading from the same remote database.
Thanks.
View 3 Replies
View Related
Mar 15, 2008
Hi,
I have reinstalled Office 2007 (to changre the license key)
after this, the data mining excel add-in failed to load.
the "COM add-ins" displays: "not loaded. a runtime error occurred during the loading"
reinstalling the add-in doesn't solve the problem
installing the 2008 version don't solve the issue too.
There is no other information, what can I do to solve the issue?
thanks.
View 3 Replies
View Related
Jan 2, 2008
hi,
i have one application in Microsoft excel 2003. but when i open this in Microsoft excel 2007 it gives me error saying that
error inintializing menu,
object variable or with block variable not set.
kindly guide me what i can do for this. i m not getting exactly what is happening.
thanks & regards,
Vishruti.
View 3 Replies
View Related
Apr 4, 2007
Can somebody please tell me what I am doing wrong or need to do to resolve my issue. I having problems with one of the columns in an excel spreadsheet that I am trying to upload into the system. One of the columns contain values of both text and numbers such as 'ABC123', 'ABC124', '123456' etc. When I try uploading the sheet into SQL Server 2000 using DTS, the system removes all characters from the one column that I am having problems with. So entry 'ABC123' for example would be truncated to '123'. I tried formatting the column that I am having trouble with in excel to 'General' format as well as tried to transform the column to type varchar in SQL Server while using the DTS wizard but still had no luck. The problem is that SQL server thinks that the column is a float type column from the source and therefore truncates any characters.
View 2 Replies
View Related
Jul 11, 2005
I have searched the forum for the code and found one. But, I encounter a problem which i can't understand.Can anyone help me with this?I encounter a "Keyword not supported: Provider"But then i have try to take out the provider and the result is they ask for a provider.Help!! ' Create the connection object for the Excel file Dim excelConn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;" _ & "Data Source=" & filepath & ";" & "Extended Properties=Excel 8.0;") excelConn.Open() ' Get the name of the Excel spreadsheet Dim schemaTable As DataTable = excelConn.GetOleDbSchemaTable(OleDbSchemaGuid.Tables, _ New Object() {Nothing, Nothing, Nothing, "TABLE"}) Dim excelSheetName As String = schemaTable.Rows(0).ItemArray(2) ' Create the connection object for the SQL Server database Dim sqlConn As New SqlConnection(strSqlConnString) sqlConn.Open() Try ' Create new OleDbDataAdapter that is used to build a DataSet Dim excelDataAdapter As New OleDbDataAdapter("SELECT * FROM [" _ & excelSheetName & "]", excelConn) Dim excelDataSet As New DataSet ' Treat newly added rows as inserted rows, so they will all ' be inserted into SQL table excelDataAdapter.AcceptChangesDuringFill = False excelDataAdapter.Fill(excelDataSet, tablename) Dim excelTable As DataTable = excelDataSet.Tables(tablename) ' Create new SqlDataAdapter that is used to build a DataSet Dim sqlDataAdapter As New SqlDataAdapter("select * from " & tablename, sqlConn) Dim sqlDataSet As New DataSet sqlDataAdapter.Fill(sqlDataSet, tablename) Dim sqlTable As DataTable = sqlDataSet.Tables(tablename) ' Loop through each column name in the Excel DataSet and make sure it matches a ' column name in the SQL Server DataSet Dim excelCol, sqlCol As DataColumn Dim allColsCorrect, matchFound As Boolean allColsCorrect = True For Each excelCol In excelTable.Columns matchFound = False For Each sqlCol In sqlTable.Columns If excelCol.ColumnName.ToLower.Equals(sqlCol.ColumnName.ToLower) Then matchFound = True Exit For End If Next sqlCol 'CloseMonth is a field in the Excel sheet, but not in SQL DB, so just ignore If matchFound = False Then If Not (excelCol.ColumnName.ToLower.Equals("CloseMonth".ToLower)) Then Response.Write("<br>**Column '" & excelCol.ColumnName & _ "' in Excel file does not exist in SQL Server table.") allColsCorrect = False End If End If Next excelCol ' If all columns in Excel table match those in SQL table, then delete current ' contents of the SQL table and insert the data from the Excel table If allColsCorrect = True Then Dim deleteCommand As New SqlCommand("TRUNCATE TABLE " & tablename, sqlConn) deleteCommand.ExecuteNonQuery() Response.Write("- Deleted old data from SQL Server table.<br>") ' Create the CommandBuilder object to create the Transact SQL (TSQL) commands ' that are necessary to update and to insert records into the data source. Dim x As SqlCommandBuilder = New SqlCommandBuilder(sqlDataAdapter) Try 'sqlDataAdapter.ContinueUpdateOnError = True sqlDataAdapter.Update(excelDataSet, tablename) Response.Write("- Updated data in SQL Server table.<br>") Catch Exc As Exception Response.Write("<br>Error(message): " & Exc.Message) End Try Else Response.Write("<br>(The spreadsheet could not be loaded into the table " & _ "because of the above errors.)<br>") End If Catch Exc As Exception Response.Write("<br>Error: " & Exc.Message) End Try ' Clean up objects. excelConn.Close() sqlConn.Close()
View 1 Replies
View Related
Nov 3, 2006
Hi,
I have found a problem with my SSIS package. The package takes a Excel File using the Excel Source/Excel connection manager objects. There's a Data Conversion Object which sets all the fields to be DT_STR and then I import the data into a Holding table using a OLEDB Destination Object.
My Excel file contains a list of Code/Description pairs. The problem I have is that I can have data such as the following
CODE
A101
A102
A103
12
1.2i
What seems to be happening is that when the data is imported into the holding table and the first rows are Alphanumeric then the fields where there's a code such as 12 get converted to NULL for some reason. If all the codes are the same type (either Alphanumeric or numericit doesn't matter, as long as they are all the same) the import works perfectly well.
I need to be able to import all of these codes without SSIS converting some to NULL. Has anyone come across this problem before? If so, is there something I am doing wrong or a workaround?
Many thanks in advance
Rob
View 3 Replies
View Related
Jul 31, 2007
Haven't been able to find much information on using openrowset with excel 2007 xlsx files. I've tried the following with no success so far.
SELECT * FROM OPENROWSET('Microsoft.ACE.OLEDB.12.0',
'Excel 12.0 Xml;Database=\serverfolderfile.xlsx;HDR=No;IMEX=1',
'SELECT f1 FROM [Raw Keywords$] WHERE f1 IS NOT NULL')
If anyone knows the correct way to do this please tell me.
View 3 Replies
View Related
Feb 21, 2007
hellow all,
i installed SqlServer 2005 sp2 on my server.
now, how do i import excel 2007 files in SSIS? i don't have office 2007 installed on my computer, but i've got some .xslx that i would like to try ro import. i tried to create an OLEDB connection, but i don't know which provider to choose.
anyway, can i do it without the sp2 or office 2007 installed on my server?
thanks for tour reply!
View 5 Replies
View Related
May 15, 2008
When importing an .xlsx file the number of columns stops at 255. Does anybody know how to get all columns imported?
Tried saving the file as text and that allows me to import all the columns but it would be much easier to do this directly from Excel.
Thanks
View 4 Replies
View Related
Jul 17, 2007
Hello Everyone,
Is there any way in RS2005 to export to Excel 2007 format ?
The reason I'm asking is that we have a report that can potentially have more than 256 columns but for now, there is no way of directly importing to excel 2003 (.xls).
Is microsoft going to come out with an improvement to RS2005 or is there already a way to export to Excel 2007 to bypass the 256 column limit?
Regards,
Joseph
View 1 Replies
View Related
Feb 28, 2008
Hi Folks,
I have got a quick question, Is it possible to use office 2007 in SSIS, If so what would be the driver?
or Could we use JET 4.0 itself?
Any thoughts and help in this regard would be appreciated.
Zulfi.
View 3 Replies
View Related
Jun 12, 2007
Hi Guys,
I am trying to export data from database to excel 2007 file on my machine.
I have downloaded the provider for office 2007 and I have XP with sp2 and SQL server 2005 with SP2.
I havn't installed office 2007 on my machine,but I have a excel file which is created in office 2007.To get acess of read and write i have downloaded office compatibilty pack too,So I can read and write into the file.
Now I am creating one SSIS package to export data into excel file.But I m not able to coause I am getting some errors like
"test connection failed because of an error in intializing provider. Invalid UDl file"
"Test connection is failed because of an error in intializing provider.Not a valid file name".
Please help or suggest how to export data from database to 2007 excel file.
Yogesh V. Desai. | SQLDBA|
View 10 Replies
View Related
Sep 9, 2007
Hi all
I am wondering if there is a solution for our current issue i.e. we can't export the query report from SQL report services into 2007 Excel.
We have no problem with Excel 2003.
Any help/reply would be much appreciated.
Cheers
View 9 Replies
View Related
Aug 10, 2007
Hi,
I wants to import data using DTS package from Excel 2007. I have tried this by using DSN but i'm not getting Excel 2007 types.
Please suggest me how to Connect to Excel 2007 using DTS package to import data.
Thanks!
View 3 Replies
View Related
Mar 14, 2007
I'm creating a small test package that copies a value from an Excel 2007 worksheet into a SQL 2005 database (SP2). When I do an Execute Task, I get the following error:
SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager \loripMandEScorecardsSQLQueryExample.xlsx failed with error code 0xC0202009.
However, if I do a "Preview" in the Editor for this same Excel Source task that fails, the data comes up as I would expect. What am I missing?
Thanks in advance!
View 2 Replies
View Related
Apr 3, 2008
Has anybody seen this? Is there a configuration setting or something that needs to be changed?
Working with the development version of SQL 2005 that comes with Visual Studio
Problem: I can't seem to get IS to work with Excel 2007 files. I've tried both BIDS and Import/Export Wizard
I've got the connection set to use ACE
The datasource is: c:BranchList - 20080331.xlsx
the extended properties property is: Excel 12.0;HDR=Yes
Test connection succeeds
Preview succeeds
If I save the Excel file as tab-delimited text, BULK INSERT succeeds
But trying to run the package against Excel I get this error, over & over. I have not yet been able to get SQL2005 to import Excel 2007 data
TITLE: SQL Server Import and Export Wizard
------------------------------
Could not connect source component.
Error 0xc0202009: Source - 'Branches $' [1]: An OLE DB error has occurred. Error code: 0x80004005.
Error 0xc02020e8: Source - 'Branches $' [1]: Opening a rowset for "`'Branches $'`" failed. Check that the object exists in the database.
------------------------------
ADDITIONAL INFORMATION:
Exception from HRESULT: 0xC02020E8 (Microsoft.SqlServer.DTSPipelineWrap)
View 5 Replies
View Related
Aug 10, 2007
Hello everyone,
Since I would like to use an Excel 2007 File (*.xlsx) as Data Source, I created an ODBC Connection. It worked fine so far: the connection is established, I get the data as expected in the "Query Designer tab" and I could insert the fields in my report. However, when I want to see the result on the "Preview tab", I get an error saying that the "Report Definition '/myReport' is not valid...".
I don't know what could be wrong in my Report... Am I missing something in the ODBC configuration?
My Connection String is as follows:
Dsn=pl_excel;dbq=C:PublicPL_DataSource.xlsx;defaultdir=C:Public;driverid=1046;fil=excel 12.0;maxbuffersize=2048;pagetimeout=5
I also tried to create an OLE DB connection but I got the same error...
Thanks for your help, I'm waiting for your suggestions...
View 2 Replies
View Related
Jul 30, 2007
I am currently developing a report for users who insist on exporting to Excel 2007. When I export to Excel on my PC, the report formatting is fine (I am using Excel 2003), however, font sizing as applied in the report is lost when exported to Excel 2007 (i.e. font size 9 in the report is actually 10 in excel 2007). In Excel 2007, the data which runs onto two lines does not show up correctly - the second line is squashed below the first.
Any ideas on how I could resolve this?
View 1 Replies
View Related
Feb 14, 2008
I am new to reporting services. I need to export more than 64K rows to excel from SSRS Katmai. Please let me know how to do this.
Thanks,
Priya
View 8 Replies
View Related
May 1, 2007
Hi,
I have an Excel 2007 file which contains values in specific cells like A23, D30 etc.
I want to populate the values in these cells using SSIS packages into individual rows of an SQL table.
How can this be achieved ?
Cheers
Sam
View 1 Replies
View Related
May 22, 2008
We are using MS Excel 2007 Pivot tables to access en SSAS 2005 Cube. Farly often when we reopen an excel spreadsheet with one or more pivot tables we get an error like this:
Excel found unreadable Content. Do you wish to repair
When we click yes the following log is shown:
Removed Feature: PivotTable report from /xl/pivotCache/pivotCacheDefinition1.xml part (PivotTable cache)
Removed Feature: PivotTable report from /xl/pivotCache/pivotCacheDefinition2.xml part (PivotTable cache)
Removed Feature: PivotTable report from /xl/pivotTables/pivotTable1.xml part (PivotTable view)
Removed Feature: PivotTable report from /xl/pivotTables/pivotTable2.xml part (PivotTable view)
Removed Records: Workbook properties from /xl/workbook.xml part (Workbook)
And all the pivot tables are converted to plain text.
I have read about this in KB 929766 but this do not apply since KPIs are not used.
The KB 943088 is more interesting but after upgrading all user with SP 1 the problem is still there, mostly when we open old excel-files that has been created without SP 1 but opened and saved once with SP 1. After that we are not able to open them at all, either with or without SP 1 installed.
Is there some way to €śsave€? pivot tables from destruction? I can€™t ask the users to rebuild all there spreadsheets that have been created prior SP1. What will happen when there is a new SP for Excel? Rebuild all spreadsheets and pivot tables again?
View 18 Replies
View Related
Oct 10, 2007
I install add-in and run fine for a while, then all of sudden I could not see Table Analyze tool and data mining tab at my ribbon. I re-run server configuration and re-connect to DMAddinDB (remote server, but I am the administrator), but data mining add-in and table analyzer still not showing at my ribbon.
Then I uninstall DMAddin, re-install it, go through configuration again, but still the tabs are not showing up.
Any idea you can help me get my add in back?
View 12 Replies
View Related
Jan 18, 2008
Hi,
We have a excel 2007 file with a Pivot Table in it. We would like to use the same as data source (But all the source fields as it comes for Pivot). The key issue is that the data to the pivot is from a connection and points to DB - but there is no access to DB. So the Excel is static to us with a PIVOT in it.
Is there a way to get all the data that is avaialble as a source for pivot.
Ex. The select query has co1,co2....co 11 from xxxxx
whereas the PIVot HAS ONLY cO1, CO2 AS ROW, CO3,CO4 AS COL, CO5 AS VALUE AND CO6,CO7 AS FILTER AND OTHERS MISSED OUT IN PIVOT.
THe SSIS as such provide Excel 2007 access to Access OLE DB driver with Excel 12 setting in advanced tab. But not sure whether we can give the range (or) a way around ot get all the data as available in excel regardless of what is used only in the pivot.
Regards,
kart
View 4 Replies
View Related
Jul 16, 2007
Hello all,
I am in the process up testing an upgrade from XP to Vista, and the only thing that I am running into is that my linked servers for Excel that I defined no longer work.
The spreadsheet that I am trying to open is in the 97-2003 format (not the 2007 format), yet I keep getting the same error message "Cannot initialize the data source object of OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "TEST1"
Has anyone successfully created a linked server to an Excel spreadsheet on Vista, and if so, please can you provide some insight into what I am doing wrong.
I tried creating a linked server on an XP box running MS Office 2007, and it worked without any issues.
All comments welcome.
thanks
Steve
View 4 Replies
View Related
Aug 6, 2007
When I connect to an Excel 2007 workbook using the new Microsoft.ACE.Oledb.12.0 provider in SSIS 2005, I notice that any tables that I've created in the worksheet are not recognized in SSIS.
In the OLE DB data source component (using the "Table or View" data access mode) the any table(s) I've created are nowhere to be found in the drop down list. Similarly, when I constuct a simple SQL query on the workbook, such as "SELECT * From MyTable" it returns the error:
Microsoft Office Access Database Engine
Hresult: 0x80004005
Description: "The Microsoft Access database engine could not find the object 'MyTable'. Make sure the object exists and that you spell its name and the path name correctly."
I know I have the name right -- I can use structured references to my named table in the worksheet without any problems.
Does the new ACE provider not support Excel 2007 tables? Am I stuck with using "overlapping" cell references to capture data from tables in my worksheet?
View 5 Replies
View Related
May 7, 2007
When we export data mining output including dates through Reporting Services to an Excel spreadsheet, Excel 2007 subtracts 4 years from the dates. Example, the date 11/16/2006 appears in Excel 2007 as 11/16/2002. How should this be handled? Workaround, bug fix, patch,etc.? Thanks, Sam
View 5 Replies
View Related
Dec 5, 2007
I've SSIS 2005 SP2 and Excel 2007 installed. How come I do not see Excel 2007 on the Excel version list?
Thanks,
Ash
View 7 Replies
View Related
May 17, 2008
When I try to create an Offline cube from Excel 2007 I get the following error message. This used to work but I cannot figure out what to loo for.
Code Snippet
Microsoft OLE DB Provider for Analysis Services 2005 :
OLE DB error: OLE DB or ODBC error: XML for Analysis parser: The 'CreatedTimestamp' read-only element at line 1,
column 38747 (namespace http://schemas.microsoft.com/analysisservices/2003/engine) under
Envelope/Body/Execute/Command/Batch/Create/ObjectDefinition/Database/Cubes/Cube/Scripts/MdxScript was
ignored.; XML for Analysis parser: The 'LastSchemaUpdate' read-only element at line 1, column 38803 (namespace
http://schemas.microsoft.com/analysisservices/2003/engine) under
Envelope/Body/Execute/Command/Batch/Create/ObjectDefinition/Database/Cubes/Cube/Scripts/MdxScript was
ignored.; XML for Analysis parser: The 'CurrentStorageMode' read-only element at line 1006, column 4554
(namespace http://schemas.microsoft.com/analysisservices/2003/engine) under
Envelope/Body/Execute/Command/Batch/Create/ObjectDefinition/Database/Dimensions/Dimension was ignored.; XML
for Analysis parser: The 'CurrentStorageMode' read-only element at line 1006, column 17325 (namespace
http://schemas.microsoft.com/analysisservices/2003/engine) under
Envelope/Body/Execute/Command/Batch/Create/ObjectDefinition/Database/Dimensions/Dimension was ignored.; XML
for Analysis parser: The 'CurrentStorageMode' read-only element at line 1006, column 57387 (namespace
http://schemas.microsoft.com/analysisservices/2003/engine) under
Envelope/Body/Execute/Command/Batch/Create/ObjectDefinition/Database/Dimensions/Dimension was ignored.; XML
for Analysis parser: The 'CurrentStorageMode' read-only element at line 1006, column 60047 (namespace
http://schemas.microsoft.com/analysisservices/2003/engine) under
Envelope/Body/Execute/Command/Batch/Create/ObjectDefinition/Database/Dimensions/Dimension was ignored.; XML
for Analysis parser: The 'CurrentStorageMode' read-only element at line 1006, column 62847 (namespace
http://schemas.microsoft.com/analysisservices/2003/engine) under
Envelope/Body/Execute/Command/Batch/Create/ObjectDefinition/Database/Dimensions/Dimension was ignored.; XML
for Analysis parser: The 'CurrentStorageMode' read-only element at line 1006, column 65497 (namespace
http://schemas.microsoft.com/analysisservices/2003/engine) under
Envelope/Body/Execute/Command/Batch/Create/ObjectDefinition/Database/Dimensions/Dimension was ignored.; XML
for Analysis parser: The 'CurrentStorageMode' read-only element at line 1006, column 72718 (namespace
http://schemas.microsoft.com/analysisservices/2003/engine) under
Envelope/Body/Execute/Command/Batch/Create/ObjectDefinition/Database/Dimensions/Dimension was ignored.; XML
for Analysis parser: The 'CurrentStorageMode' read-only element at line 1006, column 75425 (namespace
http://schemas.microsoft.com/analysisservices/2003/engine) under
Envelope/Body/Execute/Command/Batch/Create/ObjectDefinition/Database/Dimensions/Dimension was ignored.;
Errors in the metadata manager. The attribute hierarchy for the Month attribute cannot be created because a
hierarchy with the same ID or name already exists..
Can somebody advice my on what to look for? Thx!
The attribute hierarchy for the Month attribute cannot be created because a hierarchy with the same ID or name already exists. ----- There is no other Month?
Regards,
Dirk
View 3 Replies
View Related
Feb 13, 2007
Hi EveryOne
I would like to download the SQL server databse to excel file using ASP.Net
I need to download the one table to excel file. If anyone knows please help me.
With Regards
Nibu Abraham
View 3 Replies
View Related
Aug 27, 2007
Is there a way to create a SQL 2005 x64 Linked server to an Excel (or Access) 2003/2007 file? In SQL 2005 32bit this was possible. Does anyone know of a solution or a work around?
View 3 Replies
View Related