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 3 4324
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
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
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" This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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).
...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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'...
|
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...
|
by: erikbower65 |
last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps:
1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal.
2. Connect to...
|
by: linyimin |
last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
|
by: kcodez |
last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM)
The start time is equivalent to 19:00 (7PM) in Central...
|
by: Taofi |
last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same
This are my field names
ID, Budgeted, Actual, Status and Differences
...
|
by: DJRhino1175 |
last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this -
If...
|
by: lllomh |
last post by:
Define the method first
this.state = {
buttonBackgroundColor: 'green',
isBlinking: false, // A new status is added to identify whether the button is blinking or not
}
autoStart=()=>{
|
by: lllomh |
last post by:
How does React native implement an English player?
|
by: Mushico |
last post by:
How to calculate date of retirement from date of birth
| |