Unable to create an excel file in VB.net
Please support our VB.NET advertiser: DiscountASP.NET – 3 Months Free on VB.NET Web Hosting
![]() |
•
•
Posts: 3
Reputation:
Solved Threads: 0
Hi,
Unsung VB.net, I am trying to create an excel file in my web server (windows 2000 server). But I end up with the following error:
System.Runtime.InteropServices.COMException (0x80040154): COM object with CLSID {00024500-0000-0000-C000-000000000046} is either not valid or not registered.
MS Office is not installed in my server. Even I do not want to install MS Office in my server.
If any one can help me.
Thanks
Tapan Kumar Pattanayak
Unsung VB.net, I am trying to create an excel file in my web server (windows 2000 server). But I end up with the following error:
System.Runtime.InteropServices.COMException (0x80040154): COM object with CLSID {00024500-0000-0000-C000-000000000046} is either not valid or not registered.
MS Office is not installed in my server. Even I do not want to install MS Office in my server.
If any one can help me.
Thanks
Tapan Kumar Pattanayak
Umm, ok. If you look at that error it tells you flat out... how do you expect to call on a CLSID (registry object) that you don't want to install in the server?
Inorder to create the XLS file (which is an object) you will need to object registered in the system registry in order for InteropServices to invoke methods from it.
Sorry dude, but you will have to install Excel at the minimum to have this work, at least to my knowledge anyway.
Reading from an excel file without excel installed is on thing, but creating one through method calls to it...is another.
Inorder to create the XLS file (which is an object) you will need to object registered in the system registry in order for InteropServices to invoke methods from it.
Sorry dude, but you will have to install Excel at the minimum to have this work, at least to my knowledge anyway.
Reading from an excel file without excel installed is on thing, but creating one through method calls to it...is another.
•
•
Posts: 3
Reputation:
Solved Threads: 0
eck the following link , step by step to ctreate the excel file
http://vb.net-informations.com/excel...reate_file.htm
hu.
http://vb.net-informations.com/excel...reate_file.htm
hu.
![]() |
Similar Threads
Other Threads in the VB.NET Forum
- Get data out of excel file stored as an image (MS SQL)
- Open Excel Sheet in Vb.net (VB.NET)
- Open Excel Sheet in Vb.net (VB.NET)
- Open Excel file from Visual Basic (Visual Basic 4 / 5 / 6)
- How to display Excel file in a tabPage? (VB.NET)
- record results in excel file from vb (VB.NET)
- Create log file in Visual C++.NET (C++)
- grabbing source from excel file (was: please, somebody help me!!!) (Visual Basic 4 / 5 / 6)
Other Threads in the VB.NET Forum
- Previous Thread: new learner
- Next Thread: Screen Scrape remove spaces/line breaks between specified tags
•
•
•
•
Views: 22905 | Replies: 2 | Currently Viewing: 1 (0 members and 1 guests)





Linear Mode