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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Error in version 5.0.1 - Failed to convert parameter value from a String to a Int32Error in version 5.0.1 - Failed to convert parameter value from a String to a Int32
Previous
 
Next
New Post
3/30/2009 10:50 AM
 

Hi, I am running version 5.0.1 and most things seem to work fine apart from this.  Are other people having this problem?  Is there a known fix for it?

When I go in to Page Settings, make any change, then click Update, I get this error message:

Error: is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Failed to convert parameter value from a String to a Int32. ---> System.formatException: Failed to convert parameter value from a String to a Int32. ---> System.formatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberformatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberformatInfo info) at System.String.System.IConvertible.ToInt32(IformatProvider provider) at System.Convert.ChangeType(Object value, Type conversionType, IformatProvider provider) at System.Data.SqlClient.SqlParameter.CoerceValue(Object value, MetaType destinationType) --- End of inner exception stack trace --- at System.Data.SqlClient.SqlParameter.CoerceValue(Object value, MetaType destinationType) at System.Data.SqlClient.SqlParameter.GetCoercedValue() at System.Data.SqlClient.SqlParameter.Validate(Int32 index, Boolean isCommandProc) at System.Data.SqlClient.SqlCommand.SetUpRPCParameters(_SqlRPC rpc, Int32 startCount, Boolean inSchema, SqlParameterCollection parameters) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Data.SqlDataProvider.UpdateTab(Int32 TabId, String TabName, Boolean IsVisible, Boolean DisableLink, Int32 ParentId, String IconFile, String Title, String Description, String KeyWords, Boolean IsDeleted, String Url, String SkinSrc, String ContainerSrc, String TabPath, DateTime StartDate, DateTime EndDate, Int32 RefreshInterval, String PageHeadText, Boolean IsSecure, Boolean PermanentRedirect) at DotNetNuke.Entities.Tabs.TabController.UpdateTab(TabInfo updatedTab) at DotNetNuke.Modules.Admin.Tabs.ManageTabs.SaveTabData(String strAction) at DotNetNuke.Modules.Admin.Tabs.ManageTabs.cmdUpdate_Click(Object Sender, EventArgs e) --- End of inner exception stack trace ---

 
New Post
3/30/2009 2:37 PM
 

Nope, where is the page placed? Which modules are on that page? Or is it all pages? Is it a DNN upgrade? From which version?

Thanks.



Alex Shirley


 
New Post
3/30/2009 3:15 PM
 

Here DotNetNuke is attempting to update the database with the changes you have entered, but there is a problem converting one of the values to an integer.  Take a look over your settings page and see if there is anything that might be causing this conversion problem (like entering a non-integer value into the "refresh interval" field, for example).

Posting a screenshot of the offending page settings screen, with all of the sections expanded, might also allow us to more easily help.

Brandon


Brandon Haynes
BrandonHaynes.org
 
New Post
3/31/2009 10:13 AM
 

It appears to be all pages on all portals.

Here is a link to one of the pages as an example:

http://www.special.co.uk/Research/tabid/59/Default.aspx - this page only contains Text/HTML modules so should be pretty straight forward.

If I log in as host - click Settings (under Page Functions) then click Update

I then get the error message shown above.  Even if I've made no changes at all to the settings on the page.

DNN has been upgraded from 04.09.02 I think - but I'm not totally sure about the version it was upgraded from.

I assume the only table it is trying to update is Tabs?  Have any of the fields on this table had their type changed perhaps?
Is anyone else running 5.0.1 who can see if they get the same error? 

 
New Post
3/31/2009 10:17 AM
 

Thanks Brandon

Unfortunately I get the error even if I have made no changes at all to the settings!  Maybe DNN tries to submit all the settings again even if no changes are made?

And it is happening on all pages, so I can send you a screenshot but I'm not sure if this will help.

Actually I've realised this page also updates the TabPermissions table - could it be anything to do with that?  Has this table changed at all in the newer versions of DNN and my upgrade maybe not upgraded the stored procedures properly?  Is there anyway I can test this?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Error in version 5.0.1 - Failed to convert parameter value from a String to a Int32Error in version 5.0.1 - Failed to convert parameter value from a String to a Int32


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