473,322 Members | 1,408 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

'KEY_CURRENT_USER\Software\Microsoft\Office\9.0\Ex cel\UserData' does not exist.

Hi All,

I am using win2k advance sever, IIS + ASP + Office 2000 +SQL server 2000

I have a internal web site, running on IIS. it is for internal reporting purpose.
All the ASP web pages are written in VB script, working with background SQL server 2000.
The asp pages accept user input first, then pass to another ASP page to make out SQL query, then the vb script will retrive data from SQL server using ADO object, then creates an EXCEL object and put the recordset to Execel WorkSheet, then redirect the user browser to the execel file to show/download the execel file. It works fines, no problem.

But when I open the EVENT_VIEWER to see Application Log, there are many many Warning msg lines saying MsiInstall error as below:

Detection of product '{00010409-78E1-11D2-B60F-006097C998E7}', feature 'ExcelUserData', component '{8ADD2C96-C8B7-11D1-9C67-0000F81F1B38}' failed. The resource 'HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\E xcel\UserData' does not exist.

and another warning is: Failed to connect to server. Error: 0x80070005

Can anyone tell me why this happened? Since I have already setup/installed Office2000 all components "running from my computer".

Kindly please advice on it. Thank you very much!

Rgds
Michael

Jul 19 '05 #1
3 4364
Why are you creating an Excel.Application object? Why not just change the
Response.ContentType? See the "access data to excel using asp" thread from
about 7 hours ago for a sample of what I mean.

Ray at home


"Michael" <vb*******@yahoo.com.sg> wrote in AN HTML message
news:Om*************@TK2MSFTNGP10.phx.gbl...
Hi All,

I am using win2k advance sever, IIS + ASP + Office 2000 +SQL server 2000

I have a internal web site, running on IIS. it is for internal reporting
purpose.
All the ASP web pages are written in VB script, working with background SQL
server 2000.
The asp pages accept user input first, then pass to another ASP page to make
out SQL query, then the vb script will retrive data from SQL server using
ADO object, then creates an EXCEL object and put the recordset to Execel
WorkSheet, then redirect the user browser to the execel file to
show/download the execel file. It works fines, no problem.

But when I open the EVENT_VIEWER to see Application Log, there are many many
Warning msg lines saying MsiInstall error as below:

Detection of product '{00010409-78E1-11D2-B60F-006097C998E7}', feature
'ExcelUserData', component '{8ADD2C96-C8B7-11D1-9C67-0000F81F1B38}' failed.
The resource
'HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\E xcel\UserData' does not
exist.
and another warning is: Failed to connect to server. Error: 0x80070005
Can anyone tell me why this happened? Since I have already setup/installed
Office2000 all components "running from my computer".
Kindly please advice on it. Thank you very much!
Rgds
Michael
Jul 19 '05 #2
My reports is not as simple as only showing the data in the execel, there
are still other setting and controls to be done before send to user.

btw, could you please tell me how to solve my problem above? what is the
possible reason for it?
Thank again.

Rgds
Michael

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:u%****************@TK2MSFTNGP12.phx.gbl...
Why are you creating an Excel.Application object? Why not just change the
Response.ContentType? See the "access data to excel using asp" thread from about 7 hours ago for a sample of what I mean.

Ray at home


"Michael" <vb*******@yahoo.com.sg> wrote in AN HTML message
news:Om*************@TK2MSFTNGP10.phx.gbl...
Hi All,

I am using win2k advance sever, IIS + ASP + Office 2000 +SQL server 2000

I have a internal web site, running on IIS. it is for internal reporting
purpose.
All the ASP web pages are written in VB script, working with background SQL server 2000.
The asp pages accept user input first, then pass to another ASP page to make out SQL query, then the vb script will retrive data from SQL server using
ADO object, then creates an EXCEL object and put the recordset to Execel
WorkSheet, then redirect the user browser to the execel file to
show/download the execel file. It works fines, no problem.

But when I open the EVENT_VIEWER to see Application Log, there are many many Warning msg lines saying MsiInstall error as below:

Detection of product '{00010409-78E1-11D2-B60F-006097C998E7}', feature
'ExcelUserData', component '{8ADD2C96-C8B7-11D1-9C67-0000F81F1B38}' failed. The resource
'HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\E xcel\UserData' does not
exist.
and another warning is: Failed to connect to server. Error: 0x80070005
Can anyone tell me why this happened? Since I have already setup/installed
Office2000 all components "running from my computer".
Kindly please advice on it. Thank you very much!
Rgds
Michael

Jul 19 '05 #3
MS strongly discourages the use of Office Automation in ASP (or any
server-side code). They offer some advice on how to do it make clear that
they will not support you if something goes wrong. See here:
(http://support.microsoft.com/?kbid=257757)

Bob Barrows

Michael wrote:
My reports is not as simple as only showing the data in the execel,
there are still other setting and controls to be done before send to
user.

btw, could you please tell me how to solve my problem above? what is
the possible reason for it?
Thank again.
"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote
in message news:u%****************@TK2MSFTNGP12.phx.gbl...
Why are you creating an Excel.Application object? Why not just
change the Response.ContentType? See the "access data to excel
using asp" thread from about 7 hours ago for a sample of what I mean.

Ray at home

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: jeanfor | last post by:
I get a http 500 error on all asp pages. When turning off the friendly message box, the message is "Class does not exist". What is the fix for that? This affect all asp pages incling the default...
2
by: adam | last post by:
hello What query shoul I send to SQL serwer ( in transact SQL language ) to check does some database exist on serwer ? It similar to problem "does some table exist in database" - resolve to it...
0
by: Dirk Försterling | last post by:
Hi all, a few days ago, I upgraded from PostgreSQL 7.2.1 to 7.4, following the instructions in the INSTALL file, including dump and restore. All this worked fine without any error (message). ...
2
by: george r smith | last post by:
Gentlemen, I know that this problem has happened before and I searched and tried all solutions but problem is not solved. I install asp.net community starter kit with some help from this...
3
by: Olivogt | last post by:
Hello, I was just puting an application on the web server but it did not work as usual... - I do develop on my notebook and move released applications to the Web server - both have Sql Server...
52
by: paytam | last post by:
Hi all Can anyone tell me how can I check that a file exist or no.I mean when you use this commands FILE *fp; if(!fp) //Could not open the file doen't show why it can not open it,may be the...
3
by: Mike | last post by:
Thanks for the reply, I have been trying that, but I keep getting the same results. The result I get is that the file exits, when it really doesn't. All my msgbox display twice and I'm not sure...
1
by: Atia Amin | last post by:
Hi, I am a new member. Hello to every one. I am new in ASP.NET area. I wrote an ASP.NET web application which was running ok with my old laptop. Currently I have given a new laptop. Now I copied...
11
by: tracy | last post by:
Hi, I really need help. I run this script and error message appeal as below: drop trigger log_errors_trig; drop trigger log_errors_trig ERROR at line 1: ORA04080: trigger 'LOG_ERRORS-TRIG'...
3
by: moltendorf | last post by:
I copied the files from my "test" database on my old server (MySQL was not running) to my new server ("./mysql/data/test" folder), and after starting the server, SHOW TABLES; shows all of the tables...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.