|
|
Problem compling on host
Last Post 1/19/2009 10:06 PM by gregc. 6 Replies.
|
Sort:
|
|
Prev |
Please login to post a reply. |
|
| Author |
Messages |
 |
gregc
 New Member Posts:5

 |
| 1/13/2009 05:10 PM |
|
Hi Just installed the latest release (4.0.10) on my server and worked great. I uploaded the site to my client's server and I'm getting a compile error - BC30456: 'ExecuteScalar' is not a member of 'EfficionConsulting.Articles.DataProvider'. Line 353: Dim gc As Object = DotNetNuke.Common.Utilities.DataCache.GetCache("CategoriesInstalled") Line 354: If gc Is Nothing Then Line 355: gc = CType(DataProvider.Instance.ExecuteScalar("Articles_CategoriesInstalled"), Boolean) Line 356: DotNetNuke.Common.Utilities.DataCache.SetCache("CategoriesInstalled", gc) Line 357: End If Source File: c:\websites\58288cff\App_Code\Articles\ArticleDB.vb Line: 355 Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433 Any ideas on what might be going on? Thanks, Greg
|
|
|
|
|
David O'Leary Efficion Consulting Staff Posts:123

 |
| 1/14/2009 08:41 PM |
|
What version of DNN are you running? |
|
|
|
|
gregc
 New Member Posts:5

 |
| 1/14/2009 09:56 PM |
|
This is running under DNN 4.9.1 (upgraded from DNN 3.1) Greg |
|
|
|
|
David O'Leary Efficion Consulting Staff Posts:123

 |
| 1/15/2009 07:19 PM |
|
Greg, We're using the DAL II method for Data Retrieval and the ExecuteScalar function should absolutely be part of 4.9.1. I would have to guess the 4.9.1 upgrade didn't work right or there's something else wrong with the DNN install into which you're installing the module. You might want to try just re-copying all the 4.9.1 code over your install again. Let me know if you figure it out. |
|
|
|
|
gregc
 New Member Posts:5

 |
| 1/16/2009 02:30 PM |
|
Sorry, Looks like this was an issue on the hosting side. I reloaded a clean version of DNN and it's all working great now. Will let you know if we ever get a clue as to what was going on. Greg |
|
|
|
|
Matt Everett Efficion Consulting Staff
 Senior Member Posts:3

 |
| 1/16/2009 04:37 PM |
|
From what we could tell over here, they had an old copy of the base DataProvider class. It has defined the ExecuteScalar function for quite some time (not sure exactly which version, though). Glad you got it worked out!
|
|
|
|
|
gregc
 New Member Posts:5

 |
| 1/19/2009 10:06 PM |
|
for what it's worth, the host my client had selected does not seem to be very .net savvy. their IIS control panel allows you to select between .Net v1.x and v2.x, however... it does not work correctly. they have to manually intervene to change IIS between .Net versions. since I was upgrading the site from DNN 3.1 to 4.9.1, it seems that the hosting environment was stuck on .Net v1.x even though I had changed it in the control panel. thanks and sorry for the bother, greg
|
|
|
|
|
| Please login to post a reply. |
|
Active Forums 4.2
|
|
|