|
-
September 11th, 2006, 02:54 AM
#1
Need Help in VB Script
Hi All,
I am trying to make line graph in ASP but I got the following error
ExcelChart (0x800A000D)
Type mismatch
/sqlcharts/e/BuildAndShowChart.asp, line 97
Line 97 is here :
Set oExcelChart = Server.CreateObject( "ExcelChart.cExcelChart" )
or any other method to draw a line graph and pie chart.
waiting for help
thanks in advance.
Friends are Flowers in the Garden of Life
-
September 11th, 2006, 09:22 AM
#2
Re: Need Help in VB Script
Well, let's start off real basic. Is Microsoft Excel installed on the server? What version of IIS are you running?
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
September 12th, 2006, 01:02 AM
#3
Re: Need Help in VB Script
HI
thanks for your reply. yes MS Excel and IIS 5.0 is installed on server. waiting for your reply.
Thanks again.
hope for the best.
Friends are Flowers in the Garden of Life
-
September 12th, 2006, 08:20 AM
#4
Re: Need Help in VB Script
You are using Internet Explorer and not Firefox, right?
Have you tried changing the Privacy and Security settings? Lower them and see if your objects might be being blocked for security reasons.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
September 13th, 2006, 01:36 AM
#5
Re: Need Help in VB Script
Thanks a lot for your valueable support. I am using Internet Explorer as well as Firefox
I have checked the security and privacy option by lower down them. The problem is little bit resolved. but now the error occurs as
Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.
/sqlcharts/e/BuildAndShowChart.asp, line 98
Line 98 is as under :
Set oExcelChart = Server.CreateObject( "ExcelChart.application" )
Thanks again for ur support.
waiting for your kind response.
Regards,
Friends are Flowers in the Garden of Life
-
September 13th, 2006, 08:49 AM
#6
Re: Need Help in VB Script
VBScript will not run in Firefox. It is a Microsoft thing and therefore will work on IE based browsers only.
The error Server object, ASP 0177 (0x800401F3) is on the server. Your server is configured to not allow FileSystemObject use.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
September 13th, 2006, 11:33 PM
#7
Re: Need Help in VB Script
HI
Thanks a lot for ur help. The problem is solved and it is running on both IE and Mozilla FireFox.
I just replaced the line
Set oExcelChart = Server.CreateObject( "ExcelChart.application" )
with
Set oExcelChart = Server.CreateObject( "ExcelChart.cExcelChart" )
and it runs fine
now I am trying to make line graph. please provide some help in this regards.
thanks again.
Friends are Flowers in the Garden of Life
-
September 14th, 2006, 12:01 AM
#8
Re: Need Help in VB Script
How to configure IIS to allow FileSystemObject ???????????
Friends are Flowers in the Garden of Life
-
September 14th, 2006, 09:08 AM
#9
Re: Need Help in VB Script
 Originally Posted by factian
How to configure IIS to allow FileSystemObject ???????????
If it's working, then FileSystemObject is enabled.
What version of Firefox are you running so that it is able to have Microsoft objects run?
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
September 17th, 2006, 11:38 PM
#10
Re: Need Help in VB Script
 Originally Posted by peejavery
If it's working, then FileSystemObject is enabled.
What version of Firefox are you running so that it is able to have Microsoft objects run?
FireFox version is 5.0
Pls guide me in line graph. how can i draw it ??
Friends are Flowers in the Garden of Life
-
September 17th, 2006, 11:57 PM
#11
Re: Need Help in VB Script
 Originally Posted by factian
FireFox version is 5.0
They have only released beta 2.
 Originally Posted by factian
Pls guide me in line graph. how can i draw it ??
That would be using some sort of control. How do you want to do it?
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
September 18th, 2006, 01:56 AM
#12
Re: Need Help in VB Script
 Originally Posted by peejavery
That would be using some sort of control. How do you want to do it?
What type of control ??? Is it possible to draw dynamic line graph in ASP ??
Friends are Flowers in the Garden of Life
-
September 18th, 2006, 08:24 AM
#13
Re: Need Help in VB Script
 Originally Posted by factian
What type of control ??? Is it possible to draw dynamic line graph in ASP ??
I meant ActiveX control. Concerning it being ASP, do you want it moved to that forum? This is a client-side forum and ASP is not.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
September 19th, 2006, 01:31 AM
#14
Re: Need Help in VB Script
 Originally Posted by peejavery
I meant ActiveX control. Concerning it being ASP, do you want it moved to that forum? This is a client-side forum and ASP is not.
yes sure pls guide me how to register activeX control and to use it in ASP ??
Friends are Flowers in the Garden of Life
-
September 19th, 2006, 07:50 AM
#15
Re: Need Help in VB Script
 Originally Posted by factian
yes sure pls guide me how to register activeX control and to use it in ASP ??
No. I don't think you understand. ActiveX and ASP have nothing in common. ActiveX is a control component that can be embedded into HTML. It is a Microsoft component and only compatible with Internet Explorer.
Take a look at this page. It explains how to draw a graph using VBScript. Once again, it is limited to Internet Explorer.
You could draw a graph using JavaScript and HTML, but it would not be so "dynamic" as you say. How do you get the values for your graph?
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|