uncle_scrooge
uncle_scrooge

Reputation: 429

Cannot create object in classic asp

I have softartisans office writer version 8 and also installed excel viewer.I want to open excel by my application which is developed in classic asp and vb.So when i run application it says

"cant create object"

Server.CreateObject(SoftArtisans.OfficeWriter.ExcelWriter)

Upvotes: 0

Views: 504

Answers (1)

Andy Davies
Andy Davies

Reputation: 1446

That error message can appear when the object you are trying to use is not registered on your server. Usually there is a DLL file that gets registered as part of the software installation or you have to manually register the DLL file using cmd.exe and regsvr32.exe.

Version 8 of OfficeWriter that you reference appears to be a .Net application and therefore unlikely to be compatible with ASP Classic. Version 3.9.2 was an ASP Classic version if you can still find a copy of that.

Alternatively you may be trying to create an object that doesn't exist because your call is wrong, e.g. should it instead be something else (check the manual) like the below example.

Server.CreateObject("Softartisans.ExcelWriter")

Upvotes: 3

Related Questions