User (Legacy) Posted January 20, 2005 Report Share Posted January 20, 2005 I am using CfxIESrv.dll (v. 4.5.15.2) in an asp.net application (VS.Net 03 created the wrapper), and am trying to convert existing, working, asp code to c#. In the current vbscrip there is a call to Set AnnotX = Server.CreateObject("AnnotationX.AnnList") which works fine. But when I write it in c# as AnnotateX.AnnotationXClass annotX = new AnnotateX.AnnotationXClass(); or AnnotateX.IAnnList annotX = new AnnotateX.AnnotationXClass(); or AnnotateX.AnnotationX annotX = new AnnotateX.AnnotationXClass(); I get a run time exception saying Object reference not set to an instance of an object. I ran the install file called CfxIESrv.exe as well as CfxIESrvServicePack.exe, and I made sure C:\Program Files\Common Files\Software FX Shared\AnnotateX.dll was registered. But still cannot get by the line above. Any thoughts, ideas, or help will be greatly appreciated. Link to comment Share on other sites More sharing options...
User (Legacy) Posted January 20, 2005 Author Report Share Posted January 20, 2005 I also tried the suggestions in Q1381095. Adding annotations in a COM Interop application and it did not help, I get errors saying that the namespaces do not exist, yet I did import the dlls into interop using VS.Net <gv> wrote in message news:iEI90qz$EHA.1140@webserver3.softwarefx.com... > I am using CfxIESrv.dll (v. 4.5.15.2) in an asp.net application (VS.Net 03 > created the wrapper), and am trying to convert existing, working, asp code > to c#. In the current vbscrip there is a call to > Set AnnotX = Server.CreateObject("AnnotationX.AnnList") > which works fine. But when I write it in c# as > AnnotateX.AnnotationXClass annotX = new AnnotateX.AnnotationXClass(); or > AnnotateX.IAnnList annotX = new AnnotateX.AnnotationXClass(); > or > AnnotateX.AnnotationX annotX = new AnnotateX.AnnotationXClass(); > > I get a run time exception saying > Object reference not set to an instance of an object. > I ran the install file called CfxIESrv.exe as well as > CfxIESrvServicePack.exe, and I made sure C:\Program Files\Common > Files\Software FX Shared\AnnotateX.dll was registered. But still cannot get > by the line above. > Any thoughts, ideas, or help will be greatly appreciated. > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.