index | search | no replies | posting guidelines | help | login | register |
Index » Products » ASP Report Wizard v2 |
| |||||||
Jan 2 2008, 7:21 AM |
| ||||||
gmanning since: Jan 2, 2008 from: Wilkes-Barre, PA | I just installed the ASP Report Wizard and when I click on Build Report I get a page error with the following detail: Line: 3 Char: 462 Error: 'check1.length' is null or not and object Code: 0 I reregistered the DLL to no avail. The database I am connecting to is SQL 2005 and I tested the connection string with no problems. Thank You | ||||||
Jan 4 2008, 11:58 PM |
| ||||||
ghost from: Washington, DC | Make sure your report wizard is not within any HTML FORM tags ------------------------- Ghost | ||||||
Jan 6 2008, 4:29 PM |
| ||||||
akviby since: Jan 6, 2008 from: somewhere | Hi It is all about the connectionstring, I tried a lot of different ones and this one worked. objWiz.Init("Provider=SQLNCLI;Server=SERVER01\SQLEXPRESS;Database=supersales;Uid=sa;Pwd=###") Try that and I hope it works! | ||||||
Jun 1 2009, 7:38 AM |
| ||||||
Weezy since: Jun 1, 2009 from: Grand Rapids, MI | Using this will work to access some old reports: <% But whenever you click on Build Report you get the error: check1.length is null or not an object. I have tried several other connection strings and they either won't work or throw the same error. I can get records back from the old reports so I know the connection is good. | ||||||
Jun 1 2009, 9:16 AM |
| ||||||
Weezy since: Jun 1, 2009 from: Grand Rapids, MI | I have been dinking around with this and found this post: http://aspwebsolution.com/forums/?tid=837&mid=890 I was able to get it to list tables and views and I believe I am on my way. We are using SQL 2005, is there something that prevented the tables or views from being listed? Thanks. | ||||||
Jun 2 2009, 4:06 AM |
| ||||||
ghost from: Washington, DC | The connection string for SQL Server 2005 is of the following format: strConnectionString = "Provider=SQLNCLI;" & _ Try it and let me know if it helps. Ref: Connection String Samples You may have to REMOVE the entry below first. objWiz.DatabaseType="SQLServer" ------------------------- Ghost | ||||||
Pages: (1) [1] |