index | search | no replies | posting guidelines | help | login | register |
Index » Products » ASP Report Wizard v2 |
| |||||||
Aug 17 2004, 6:01 AM |
| ||||||
scotthibbs from: Philadelphia, PA | I have been running the object from ASP.NET web pages without any problem. For some reason, the latest release does not produce any output at all from the DisplayReports method. I know that is very strange, but it's happening. I would like to download the x.86 release again...or email to me...for confirmation of the problem. I did not save the dll when I upgraded. Thanks. | ||||||
Aug 17 2004, 7:22 AM |
| ||||||
ghost from: Washington, DC | You have to re-create a new .NET DLL for every newer version of a COM DLL with the following command: C:\YOUR_FOLDER_PATH>tlbimp AWSReportWizard2.dll /out:AWSReportWizard2_NET.dll ------------------------- Ghost | ||||||
Aug 17 2004, 7:28 AM |
| ||||||
scotthibbs from: Philadelphia, PA | I did that. The object is being referenced propery in the ASP.NET page...the methods are being called correctly I believe. It's just the DisplayReports() that seems to be not displaying output. | ||||||
Aug 17 2004, 7:40 AM |
| ||||||
ghost from: Washington, DC | Please try the v2.4.27 and let me know if you still get this problem ------------------------- Ghost | ||||||
Aug 17 2004, 9:10 AM |
| ||||||
scotthibbs from: Philadelphia, PA | This is a really odd problem. The page is referencing the methods of the object properly...I am certain. ASP.NET would complain if it could not find the object or a method. I know it's current because it does not complain about the new method....UsePopupFilters. That tells me the type library utility worked fine. Could you email me a version from the last week......x.x86???...so I can test. I know it worked at that point. | ||||||
Aug 17 2004, 10:40 AM |
| ||||||
ghost from: Washington, DC | I don't have access to the older releases. I just created a new app and it seems to be working fine. Please restart your server before creating the .NET DLL or try to re-create another application and see if it works. ------------------------- Ghost | ||||||
Aug 17 2004, 10:54 AM |
| ||||||
scotthibbs from: Philadelphia, PA | I have many COM+ applications running with Interop and they are working fine. Your app worked fine too....until the release I downloaded yesterday. The server has been rebooted twice today. And I converted the dll with tlbimp by hand (not using my compile script), just to be sure. I can set the properties via the defined methods, but DisplayReports() produces no output at all. The current release works fine in an test ASP (not .NET) page, so it is properly registered on the server. Also on the ASP.NET page, I added: response.write("X") objWiz.DisplayReports() response.write("Y") What I see in the source is XY.....nothing coming from the DisplayReports method | ||||||
Aug 17 2004, 11:25 AM |
| ||||||
ghost from: Washington, DC | It seems your ASP Response object is not printing anything out. Try this : objWiz.DisplayTable("Your Table Name") and Response.Write (objWiz.Version) let me know anything prints out ------------------------- Ghost | ||||||
Aug 17 2004, 11:46 AM |
| ||||||
scotthibbs from: Philadelphia, PA | I saw no error due to an ON ERROR RESUME NEXT that was hanging around from prior testing. Now I see the error: (on line 50) Exception Details: System.Runtime.InteropServices.COMException: Object variable or With block variable not set Source Error: Line 48: objFSO.CreateFolder(Reports_Path) Line 49: End IF Line 50: objWiz = new AspWebSolution.ReportWizard2() Do you know what causes that? The object is properly registered...or I think it is. | ||||||
Aug 17 2004, 12:09 PM |
| ||||||
ghost from: Washington, DC | We've had that error before. Remove all references to the report wizard dll (you can just comment them out), also delete this DLL and your project dll files from your \bin directory. Build your solution, then add a reference to the new report wizard dll and rebuild your application. It should run this time ------------------------- Ghost | ||||||
Aug 17 2004, 1:26 PM |
| ||||||
scotthibbs from: Philadelphia, PA | I'll fool around with it, but we don't have a solution......we converted from ASP to ASP.NET via a script....so it's not a project per se. | ||||||
Aug 17 2004, 2:17 PM |
| ||||||
scotthibbs from: Philadelphia, PA | I read through the other posts on the board that have anything to do with .NET. I found a reference to aspcompat="true" in the web page...and that corrected the problem. It is odd that it worked up until the last release...then this setting needed to be added. | ||||||
Aug 17 2004, 2:37 PM |
| ||||||
ghost from: Washington, DC | Sorry I forgot all about that one. Anyway, what a relief! thanx! ------------------------- Ghost | ||||||
Jan 23 2006, 8:13 AM |
| ||||||
subz since: Jan 23, 2006 from: OH | Could you please tell me where and how to get the ASPReprotWizard2.dll working in .Net. I tried executing the ASPReportWizard2_Net.dll using tlbimp.exe and added reference to my project. But I still get the error "Object variable or With Block variable not set". Any help is appreciated. Thanks, Subha | ||||||
Sep 1 2006, 12:17 AM |
| ||||||
proj since: Sep 1, 2006 from: India | hi, I having the same problem which u have described. If u get anything related to this pl inform me. thx proj | ||||||
Pages: (1) [1] |