Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Sudden General ExceptionsSudden General Exceptions
Previous
 
Next
New Post
2/21/2008 8:35 AM
 

Hello,

(we have installed 30+ dnn websites since dnn 3.3 up to dnn 4.8)

We are using dnn 4.8.0 for a website atm, and are running into various General Exceptions.

All goes well installing the website, adding some pages and configuring some standard settings.

We are using the following 3rd party modules: the multilanguage modules from www.apollo-software.nl and ReportGrid from www.dnaxp.net

After adding a role, adding a user, adding that user to that role, using the website for a bit and adding some text, thing suddenly go wrong,

We have tried using a fresh DNN 4.8 install but after everything is set and ready, the errors are there again.

This might be hard to overlook, but maybe the errors will ring a bell for someone and maybe they can point me in the right direction, which would be greately appriciated !


The following errors are generated and all pages we try to go to, regardless of the logged in user,
and after a couple refreshes (or 5 minutes) everything goes fine again:

 

System.IndexOutOfRangeException: TabPermissionID at System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName) at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name) at System.Data.SqlClient.SqlDataReader.get_Item(String name) at DotNetNuke.Security.Permissions.TabPermissionController.FillTabPermissionInfo(IDataReader dr, Boolean CheckForOpenDataReader) at DotNetNuke.Security.Permissions.TabPermissionController.FillTabPermissionDictionary(IDataReader dr)


and:


System.IndexOutOfRangeException: PARAMETER_NAME at System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName) at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name) at System.Data.SqlClient.SqlDataReader.get_Item(String name) at System.Data.SqlClient.SqlCommand.DeriveParameters() at System.Data.SqlClient.SqlCommandBuilder.DeriveParameters(SqlCommand command) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.DiscoverSpParameterSet(SqlConnection connection, String spName, Boolean includeReturnValueParameter, Object[] parameterValues) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSetInternal(SqlConnection connection, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Data.SqlDataProvider.GetTabPermissionsByTabID(Int32 TabID, Int32 PermissionID) at DotNetNuke.Security.Permissions.TabPermissionController.GetTabPermissionsCollectionByTabID(Int32 TabID, Int32 PortalId) at DotNetNuke.Entities.Tabs.TabController.FillTabInfo(IDataReader dr, Boolean CheckForOpenDataReader, Boolean CheckForLegacyFields) at DotNetNuke.Entities.Tabs.TabController.FillTabInfoCollection(IDataReader dr, Boolean CheckForLegacyFields)


and:


System.InvalidOperationException: The stored procedure 'dbo.GetTabPermissionsByTabID' doesn't exist. at System.Data.SqlClient.SqlCommand.DeriveParameters() at System.Data.SqlClient.SqlCommandBuilder.DeriveParameters(SqlCommand command) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.DiscoverSpParameterSet(SqlConnection connection, String spName, Boolean includeReturnValueParameter, Object[] parameterValues) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSetInternal(SqlConnection connection, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Data.SqlDataProvider.GetTabPermissionsByTabID(Int32 TabID, Int32 PermissionID) at DotNetNuke.Security.Permissions.TabPermissionController.GetTabPermissionsCollectionByTabID(Int32 TabID, Int32 PortalId) at DotNetNuke.Entities.Tabs.TabController.FillTabInfo(IDataReader dr, Boolean CheckForOpenDataReader, Boolean CheckForLegacyFields) at DotNetNuke.Entities.Tabs.TabController.FillTabInfoDictionary(IDataReader dr)

 
New Post
2/21/2008 11:35 AM
 

Ensure that both of your database connections are correct.  What do you have your performance settings set to?


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
2/22/2008 3:29 AM
 

Thank you for your reply

The performance settings are default dnn 4.8.0:

- Page State Persistence: Page
- Module Caching Method: Disk
- Performance Setting: Moderate Caching
- Authenticated Cacheability: ServerAndNoCache
- Compression Setting: No Compression
- Use Whitespace Filter: unticked

And the database connection:

in connectionstrings:

<add name="SiteSqlServer" connectionString="Server=.\MYSERVER;Database=mydatabase;uid=mylogin;pwd=mypassword;" providerName="System.Data.SqlClient" />

in appsettings:

<add key="SiteSqlServer" value="Server=.\MYSERVER;Database=mydatabase;uid=mylogin;pwd=mypassword;"/>

I am using SQL SERVER EXPRESS 2005, and I was first using the sql express connectionstring (which gave the errors as well), but now I am using the SQL Server connectionstring.

 
New Post
2/28/2008 5:10 AM
 

In case anyone was wondering... it appears to be the 3rd party module "ReportGrid".

I have contacted their support and they are investigating the issue.

 
New Post
3/3/2008 9:07 PM
 

We do experience this on dotnetnuke.com, althouhg it is intermittent.

It appears to be due to connection pool problems under heavy load in teh SQLClient.

 

See this thread for more info.


Charles Nurse
Chief Architect
Evoq Content Team Lead,
DNN Corp.

Want to contribute to the Platform project? - See here
MVP (ASP.NET) and
ASPInsiders Member
View my profile on LinkedIn
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Sudden General ExceptionsSudden General Exceptions


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out