MySql bug after installation and login...

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
12/27/2008 12:32:12 PM
Gravatar
Total Posts 35
---------------- Alexei V.

Re: MySql bug after installation and login...

I made it work, but creating tables by my self, with other "database name" wich i still have.

so, i know the portal is works fine, it just the problem is that: i cant get it work with empty db.

12/27/2008 12:44:39 PM
Gravatar
Total Posts 18439

Re: MySql bug after installation and login...

Are you using the mojoportal source code or trying to open the release files as a web using VS?

12/27/2008 12:48:59 PM
Gravatar
Total Posts 35
---------------- Alexei V.

Re: MySql bug after installation and login...

I am using release files, previously overwriten with MySql files.And O use them inside VS, VS cant compile them, but it runs the personal web server and the site is work fine.

I could not download the source files, something is not working well with downloading.

12/27/2008 12:54:31 PM
Gravatar
Total Posts 18439

Re: MySql bug after installation and login...

I really wish you had made this clear earlier so I would not have spent so much time trying to help.

mojoPortal was not designed to support that kind of development model. Please use the source code provided.

There is more than one place you can download, either from codeplex, or Novell Forge, or most recommended is to get the latest code from svn trunk.

Best,

Joe

12/27/2008 12:56:17 PM
Gravatar
Total Posts 35
---------------- Alexei V.

Re: MySql bug after installation and login...

thanx!

12/28/2008 3:18:52 AM
Gravatar
Total Posts 35
---------------- Alexei V.

Re: MySql bug after installation and login...

I found the righ line in code that causes exception:

 

this code is not well formed:

public static string GetRoleCookieName(SiteSettings siteSettings)
{
String hostName = WebUtils.GetHostName();
if (WebConfigSettings.UseRelatedSiteMode)
{
return hostName + "portalroles";
}

return hostName + "portalroles" + siteSettings.SiteId.ToString(CultureInfo.InvariantCulture);

}

 

there must be a validation for siteSettings 

if(siteSettings = null) ...

return something_else;

file: SiteUtils.cs line:1165

check it out, i tryed to run the clean solution (source code), and it is not working.

 

12/28/2008 3:29:33 AM
Gravatar
Total Posts 35
---------------- Alexei V.

Re: MySql bug after installation and login...

I just added this necesary validation for null, and the site setup was performed...

if(siteSettings == null)
return hostName + "portalroles";
else
return hostName + "portalroles" + siteSettings.SiteId.ToString(CultureInfo.InvariantCulture);
 

 

 

Welcome to mojoPortal Setup
Тестирование системы...
Разрешения для файловой системы достаточны для установки.
MySQL Соединение с базой данных установлено :)
Привилегии пользователя базы данных достаточны для изменения схемы.
Должна быть создана первоначальная схема базы данных :)
Выполнение скрипта mojoportal-core - 2.2.7.8 - 00:00:01.2500000
Выполнение скрипта mojoportal-core - 2.2.7.9 - 00:00:06.2031250
Выполнение скрипта mojoportal-core - 2.2.8.0 - 00:00:06.3125000
Выполнение скрипта mojoportal-core - 2.2.8.1 - 00:00:06.3750000
Создание сайта с установками по-умолчанию... - 00:00:06.4531250
Создание ролей и пользователя - администратора... - 00:00:55.6093750
Настройка модуля Блок HTML - 00:00:56.1406250
Настройка модуля Статистика сайта - 00:00:56.2812500
Настройка модуля Веб-часть - 00:00:56.4218750
Выполнение скрипта webstore - 0.0.0.1 - 00:00:56.5156250
Выполнение скрипта webstore - 0.0.0.3 - 00:01:12.8437500
Выполнение скрипта webstore - 0.0.0.4 - 00:01:12.8906250
Выполнение скрипта webstore - 0.0.0.5 - 00:01:12.9531250
Выполнение скрипта webstore - 0.0.0.6 - 00:01:13.2187500
Выполнение скрипта webstore - 0.0.0.7 - 00:01:13.3437500
Выполнение скрипта webstore - 0.0.0.8 - 00:01:13.4062500
Выполнение скрипта webstore - 0.0.0.9 - 00:01:13.4531250
Выполнение скрипта webstore - 0.0.1.0 - 00:01:13.6562500
Выполнение скрипта webstore - 0.0.1.1 - 00:01:13.7031250
Выполнение скрипта webstore - 0.0.1.2 - 00:01:15.1093750
Выполнение скрипта webstore - 0.0.1.3 - 00:01:17.1875000
Выполнение скрипта webstore - 0.0.1.4 - 00:01:17.4062500
Выполнение скрипта webstore - 0.0.1.5 - 00:01:17.7812500
Выполнение скрипта webstore - 0.0.1.6 - 00:01:17.8281250
Выполнение скрипта webstore - 0.0.1.7 - 00:01:17.8750000
Выполнение скрипта webstore - 0.0.1.8 - 00:01:17.9375000
Выполнение скрипта webstore - 0.0.1.9 - 00:01:18.3906250
Выполнение скрипта webstore - 0.0.2.0 - 00:01:18.6406250
Выполнение скрипта webstore - 0.0.2.1 - 00:01:18.6875000
Выполнение скрипта webstore - 0.0.2.2 - 00:01:19.0468750
Выполнение скрипта webstore - 0.0.2.3 - 00:01:20.3750000
Выполнение скрипта webstore - 0.0.2.4 - 00:01:21.4531250
Выполнение скрипта webstore - 0.0.2.5 - 00:01:22.6250000
Выполнение скрипта webstore - 0.0.2.6 - 00:01:22.8750000
Выполнение скрипта webstore - 0.0.2.7 - 00:01:23.0312500
Выполнение скрипта webstore - 0.0.2.8 - 00:01:23.2812500
Выполнение скрипта webstore - 0.0.2.9 - 00:01:23.3437500
Выполнение скрипта webstore - 0.0.3.0 - 00:01:23.5156250
Выполнение скрипта webstore - 0.0.3.1 - 00:01:24.1406250
Настройка модуля Веб-магазин - 00:01:24.2343750
Выполнение скрипта blog - 0.0.0.1 - 00:01:24.3593750
Выполнение скрипта blog - 0.0.0.2 - 00:01:25.0468750
Выполнение скрипта blog - 0.0.0.3 - 00:01:25.1718750
Выполнение скрипта blog - 0.0.0.4 - 00:01:25.9062500
Настройка модуля Блог - 00:01:26
Выполнение скрипта contactform - 0.0.0.1 - 00:01:27.5625000
Выполнение скрипта contactform - 0.0.0.2 - 00:01:27.6875000
Настройка модуля Контактная форма - 00:01:27.7656250
Выполнение скрипта eventcalendar - 0.0.0.1 - 00:01:27.9375000
Выполнение скрипта eventcalendar - 0.0.0.2 - 00:01:28.0781250
Настройка модуля Календарь событий - 00:01:28.2500000
Выполнение скрипта feed-manager - 0.0.0.1 - 00:01:28.5625000
Выполнение скрипта feed-manager - 0.0.0.2 - 00:01:28.7343750
Выполнение скрипта feed-manager - 0.0.0.3 - 00:01:28.7968750
Настройка модуля Новостные ленты ( RSS) - 00:01:28.8750000
Настройка модуля Галлерея изображения (Веросия простой папки) - 00:01:29.4218750
Выполнение скрипта forums - 0.0.0.1 - 00:01:29.5156250
Выполнение скрипта forums - 0.0.0.2 - 00:01:29.9375000
Настройка модуля Форумы - 00:01:30.0312500
Настройка модуля Карта Google - 00:01:30.2031250
Настройка модуля Фрагмент HTML - 00:01:30.5625000
Выполнение скрипта imagegallery - 0.0.0.1 - 00:01:30.6406250
Выполнение скрипта imagegallery - 0.0.0.2 - 00:01:30.7812500
Настройка модуля Галерея изображений - 00:01:30.8593750
Выполнение скрипта linksmodule - 0.0.0.1 - 00:01:31.1562500
Выполнение скрипта linksmodule - 0.0.0.2 - 00:01:31.3281250
Настройка модуля Ссылки - 00:01:31.4062500
Выполнение скрипта pollfeature-byChristianFredh - 0.0.0.1 - 00:01:31.5000000
Выполнение скрипта pollfeature-byChristianFredh - 0.0.0.2 - 00:01:31.8437500
Выполнение скрипта pollfeature-byChristianFredh - 0.0.0.3 - 00:01:31.9062500
Настройка модуля Опрос - 00:01:31.9843750
Выполнение скрипта sharedfiles - 0.0.0.1 - 00:01:32.0937500
Выполнение скрипта sharedfiles - 0.0.0.2 - 00:01:32.3593750
Настройка модуля Файлы для загрузки - 00:01:32.4531250
Выполнение скрипта surveyfeature - 0.0.1.0 - 00:01:32.5312500
Выполнение скрипта surveyfeature - 0.0.1.1 - 00:01:33.2031250
Выполнение скрипта surveyfeature - 0.0.1.2 - 00:01:33.2500000
Выполнение скрипта surveyfeature - 0.0.1.3 - 00:01:33.3125000
Настройка модуля Исследования - 00:01:33.3750000
Настройка модуля XML/XSL - 00:01:33.4218750
Проверка установки всех модулей на администрируемых сайтах... - 00:01:33.5156250
Страниц не найдено, поэтому используется контент по-умолчанию...

--------------------------------------------------------------------------------

Установка завершена, перейдите по этой ссылке для просмотра стартовой страницы.
Домашняя страница сайта


База данных:MySQL
Версия:2.2.8.1
СтатусУстановленная версия является текущей.

Примечание: На этой странице находится информация, которая может быть полезна во время установки и обновления, но по соображениям безопасности рекомендуется не отображать любую информацию, если система уже обновлена. Вы можете отключить установку и не отображать информацию на этой странице установив опцию DisableSetup=true в файле Web.config. Когда возникнет необходимость в обновлении, вы можете изменить эту опцию снова на false. Если вы вошли в качестве Администратора, то установка будет включена и вы сможете видеть эту страницу, даже если она отключена в файле Web.config. Таким образом можете оставить её отключённой перед обновлением и просто войти на сайт в качестве Администратора. Однако если вы не вошли на сайт , то вам необходимо включить эту опцию в файле Web.config.
 

in russian, sorry.

But now i have problem again with asseblies:

Could not load type 'mojoPortal.Data.SqlParameterHelper' from assembly 'mojoPortal.Data, Version=1.0.3284.21814, Culture=neutral, PublicKeyToken=null'.

may be i made bad configuration in solution, i removed MSSQL project.

 

 

12/28/2008 4:42:12 AM
Gravatar
Total Posts 35
---------------- Alexei V.

Re: MySql bug after installation and login...

Finally it worked!!!

Forum tested

Blog tested

 

but Shop test failed, could not add Items or Offers :

 

when I try to save an Item
i have this error :

/WebStore/AdminProductEdit.aspx?pageid=4&mid=5

Server Error in '/wwwroot' Application.
--------------------------------------------------------------------------------

Field 'UnitCost' doesn't have a default value
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: MySql.Data.MySqlClient.MySqlException: Field 'UnitCost' doesn't have a default value

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[MySqlException (0x80004005): Field 'UnitCost' doesn't have a default value]
MySql.Data.MySqlClient.MySqlStream.OpenPacket() +278
MySql.Data.MySqlClient.NativeDriver.ReadResult(UInt64& affectedRows, Int64& lastInsertId) +97
MySql.Data.MySqlClient.MySqlDataReader.GetResultSet() +87
MySql.Data.MySqlClient.MySqlDataReader.NextResult() +1092
MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) +1579
MySql.Data.MySqlClient.MySqlCommand.ExecuteReader() +32
MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery() +69
MySql.Data.MySqlClient.MySqlHelper.ExecuteNonQuery(MySqlConnection connection, String commandText, MySqlParameter[] commandParameters) +209
MySql.Data.MySqlClient.MySqlHelper.ExecuteNonQuery(String connectionString, String commandText, MySqlParameter[] parms) +115
WebStore.Data.DBProduct.Add(Guid guid, Guid storeGuid, Guid taxClassGuid, String modelNumber, Byte status, Byte fullfillmentType, Decimal weight, Int32 quantityOnHand, String imageFileName, Byte[] imageFileBytes, DateTime created, Guid createdBy, DateTime lastModified, Guid lastModifedBy, String url, String name, String description, String teaser, Boolean showInProductList, Boolean enableRating, String metaDescription, String metaKeywords) +4739
WebStore.Business.Product.Create() +430
WebStore.Business.Product.Save() +143
WebStore.UI.AdminProductEditPage.Save() +2006
WebStore.UI.AdminProductEditPage.btnSave_Click(Object sender, EventArgs e) +86
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

 

 

I have a simple newbie question, how to configure the width of portal to enlarge the look ?

 

12/28/2008 6:38:49 AM
Gravatar
Total Posts 18439

Re: MySql bug after installation and login...

Glad, you got it working. Not sure why I don't get that role cookie error on my machine but I will add handling for it similar to what you did.

Regarding the web store issue, it seems that in my db I have defaults for some columns that are not created in a new db, but really its on some columns I'm not using and I need to drop those columns from the tables. I will look into cleaning that up in the next day or 2. I'll let you know when its fixed and you can then do svn update to get the fix.

Regarding making it wider, that is not always easy because many of the skins use images and you would have to resize them. In any case to change the look you need to learn CSS and review the skinning documentation.

Best,

Joe

1/5/2009 3:27:16 AM
Gravatar
Total Posts 35
---------------- Alexei V.

Re: MySql bug after installation and login...

Finnaly, the mojoPortal is working, I like it. http://portal.webaltera.ru
I would like to know how to configure editor like yours, with less options for formatting text,
and i have an issue with text encoding in mailer: (ist in Russian)

A message has been posted to the ??????????? - ??????????? forum at ??????.
Follow this link to see it: http://portal.webaltera.ru/Forums/Thread.aspx?thread=5&forumid=3&ItemID=3&pageid=1&pagenumber=1#post6

You are receiving this message because you indicated that you wanted to be notified of such messages.
If you don't want to be notified when others reply to this post click this link http://portal.webaltera.ru/Forums/UnsubscribeThread.aspx?threadid=5

If you no longer wish to be notified of new topics in this forum click this link http://portal.webaltera.ru/Forums/UnsubscribeForum.aspx?mid=1&itemid=3

1/5/2009 3:33:43 AM
Gravatar
Total Posts 35
---------------- Alexei V.

Re: MySql bug after installation and login...

another issue, when I click to reply any forum message:

 

 

 

2009-01-05 12:32:09,204 ERROR mojoPortal.Web.mojoBasePage - 79.139.184.241-ru-RU - /Forums/EditPost.aspx?thread=5&forumid=3&pageid=1&pagenumber=1
System.InvalidCastException: Object cannot be cast from DBNull to other types.
at System.DBNull.System.IConvertible.ToInt32(IFormatProvider provider)
at System.Convert.ToInt32(Object value)
at ASP.forums_editpost_aspx.__DataBinding__control9(Object sender, EventArgs e) in c:\HostingSpaces\portalwe\portal.webaltera.ru_m7kx4xrt\Forums\EditPost.aspx:line 67
at System.Web.UI.Control.OnDataBinding(EventArgs e)
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at System.Web.UI.Control.DataBindChildren()
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem)
at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource)
at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e)
at System.Web.UI.WebControls.Repeater.DataBind()
at mojoPortal.Web.ForumUI.ForumPostEdit.PopulateControls()
at mojoPortal.Web.ForumUI.ForumPostEdit.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e) in G:\mojoportal-2-2-8-1-sourcecode\sourcecode\mojoportal\Web\Components\mojoBasePage.cs:line 366
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2009-01-05 12:32:09,298 ERROR mojoPortal.Web.Global - 79.139.184.241-ru-RU - /Forums/EditPost.aspx?thread=5&forumid=3&pageid=1&pagenumber=1
System.InvalidCastException: Object cannot be cast from DBNull to other types.
at System.DBNull.System.IConvertible.ToInt32(IFormatProvider provider)
at System.Convert.ToInt32(Object value)
at ASP.forums_editpost_aspx.__DataBinding__control9(Object sender, EventArgs e) in c:\HostingSpaces\portalwe\portal.webaltera.ru_m7kx4xrt\Forums\EditPost.aspx:line 67
at System.Web.UI.Control.OnDataBinding(EventArgs e)
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at System.Web.UI.Control.DataBindChildren()
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem)
at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource)
at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e)
at System.Web.UI.WebControls.Repeater.DataBind()
at mojoPortal.Web.ForumUI.ForumPostEdit.PopulateControls()
at mojoPortal.Web.ForumUI.ForumPostEdit.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e) in G:\mojoportal-2-2-8-1-sourcecode\sourcecode\mojoportal\Web\Components\mojoBasePage.cs:line 366
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2009-01-05 12:32:09,360 ERROR mojoPortal.Web.Global - 79.139.184.241-ru-RU - /Forums/EditPost.aspx?thread=5&forumid=3&pageid=1&pagenumber=1
System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.InvalidCastException: Object cannot be cast from DBNull to other types.
at System.DBNull.System.IConvertible.ToInt32(IFormatProvider provider)
at System.Convert.ToInt32(Object value)
at ASP.forums_editpost_aspx.__DataBinding__control9(Object sender, EventArgs e) in c:\HostingSpaces\portalwe\portal.webaltera.ru_m7kx4xrt\Forums\EditPost.aspx:line 67
at System.Web.UI.Control.OnDataBinding(EventArgs e)
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()

at System.Web.UI.Control.DataBindChildren()
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem)
at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource)
at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e)
at System.Web.UI.WebControls.Repeater.DataBind()
at mojoPortal.Web.ForumUI.ForumPostEdit.PopulateControls()
at mojoPortal.Web.ForumUI.ForumPostEdit.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e) in G:\mojoportal-2-2-8-1-sourcecode\sourcecode\mojoportal\Web\Components\mojoBasePage.cs:line 366
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- End of inner exception stack trace ---
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.forums_editpost_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4393fd65\d073254a\App_Web_ihzmyc4t.9.cs:line 0
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2009-01-05 12:32:18,548 INFO mojoPortal.Business.SiteSettings - SiteSettings expandoProperties was null so nothing was saved
2009-01-05 12:32:33,954 ERROR mojoPortal.Web.mojoBasePage - 79.139.184.241-ru-RU - /Forums/EditPost.aspx?thread=5&forumid=3&pageid=1&pagenumber=1
System.InvalidCastException: Object cannot be cast from DBNull to other types.
at System.DBNull.System.IConvertible.ToInt32(IFormatProvider provider)
at System.Convert.ToInt32(Object value)
at ASP.forums_editpost_aspx.__DataBinding__control9(Object sender, EventArgs e) in c:\HostingSpaces\portalwe\portal.webaltera.ru_m7kx4xrt\Forums\EditPost.aspx:line 67
at System.Web.UI.Control.OnDataBinding(EventArgs e)
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at System.Web.UI.Control.DataBindChildren()
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem)
at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource)
at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e)
at System.Web.UI.WebControls.Repeater.DataBind()
at mojoPortal.Web.ForumUI.ForumPostEdit.PopulateControls()
at mojoPortal.Web.ForumUI.ForumPostEdit.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e) in G:\mojoportal-2-2-8-1-sourcecode\sourcecode\mojoportal\Web\Components\mojoBasePage.cs:line 366
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2009-01-05 12:32:33,970 ERROR mojoPortal.Web.Global - 79.139.184.241-ru-RU - /Forums/EditPost.aspx?thread=5&forumid=3&pageid=1&pagenumber=1
System.InvalidCastException: Object cannot be cast from DBNull to other types.
at System.DBNull.System.IConvertible.ToInt32(IFormatProvider provider)
at System.Convert.ToInt32(Object value)
at ASP.forums_editpost_aspx.__DataBinding__control9(Object sender, EventArgs e) in c:\HostingSpaces\portalwe\portal.webaltera.ru_m7kx4xrt\Forums\EditPost.aspx:line 67
at System.Web.UI.Control.OnDataBinding(EventArgs e)
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at System.Web.UI.Control.DataBindChildren()
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem)
at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource)
at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e)
at System.Web.UI.WebControls.Repeater.DataBind()
at mojoPortal.Web.ForumUI.ForumPostEdit.PopulateControls()
at mojoPortal.Web.ForumUI.ForumPostEdit.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e) in G:\mojoportal-2-2-8-1-sourcecode\sourcecode\mojoportal\Web\Components\mojoBasePage.cs:line 366
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2009-01-05 12:32:34,001 ERROR mojoPortal.Web.Global - 79.139.184.241-ru-RU - /Forums/EditPost.aspx?thread=5&forumid=3&pageid=1&pagenumber=1
System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.InvalidCastException: Object cannot be cast from DBNull to other types.
at System.DBNull.System.IConvertible.ToInt32(IFormatProvider provider)
at System.Convert.ToInt32(Object value)
at ASP.forums_editpost_aspx.__DataBinding__control9(Object sender, EventArgs e) in c:\HostingSpaces\portalwe\portal.webaltera.ru_m7kx4xrt\Forums\EditPost.aspx:line 67
at System.Web.UI.Control.OnDataBinding(EventArgs e)
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at System.Web.UI.Control.DataBindChildren()
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem)
at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource)
at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e)
at System.Web.UI.WebControls.Repeater.DataBind()
at mojoPortal.Web.ForumUI.ForumPostEdit.PopulateControls()
at mojoPortal.Web.ForumUI.ForumPostEdit.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e) in G:\mojoportal-2-2-8-1-sourcecode\sourcecode\mojoportal\Web\Components\mojoBasePage.cs:line 366
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- End of inner exception stack trace ---
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.forums_editpost_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4393fd65\d073254a\App_Web_ihzmyc4t.9.cs:line 0
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
 

You must sign in to post in the forums. This thread is closed to new posts.