473,417 Members | 1,510 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,417 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 4369
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: 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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...
0
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...

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.