473,386 Members | 1,706 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,386 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 4368
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
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...

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.