Показать сообщение отдельно

  #3804  
Старый 21.11.2008, 23:58
tempuser
Новичок
Регистрация: 21.11.2008
Сообщений: 5
С нами: 9194194

Репутация: 0
По умолчанию

Цитата:
Сообщение от sabe  
tempuser
помнится когда я хекал maccess делал чтото типо этого для вывода табл.

а так бы ссылочку посмотреть )
Зачем в INFORMATION_SCHEMA.TABLES лезть то? Во первых её просто нету в access (вы с MySQL путаете :-) ), а во вторых имя нужной таблицы с пользователями известно на 100%. Также известны имена полей в этой табличке. Известна даже админка ))) Но блин тип какого то параметра походу не совпадает... И обломс.

Ссылочку - сорри. Сайт довольно дружественный, не хотелось бы случайно вандализировать :-) Ковыряюсь в нем из чистого любопытства.

Вот более подробно сообщение об ошибке:

Код:
Server Error in '/' Application.
Specified cast is not valid.
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: System.InvalidCastException: Specified cast is not valid.

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:

[InvalidCastException: Specified cast is not valid.]
   System.Data.OleDb.OleDbDataReader.GetBoolean(Int32 ordinal) +44
   ecomm.CPage.InitFromDataReader(OleDbDataReader dr)
   ecomm.CPage..ctor(String ID, String PageName, String conStr)
   ecomm.PageTemplateControl.get_vieName()
   ecomm.PageTemplateControl.InitControl()
   ecomm.TemplateControl.CreateChildControls()
   System.Web.UI.Control.EnsureChildControls() +100
   System.Web.UI.Control.PreRenderRecursiveInternal() +38
   System.Web.UI.Control.PreRenderRecursiveInternal() +125
   System.Web.UI.Control.PreRenderRecursiveInternal() +125
   System.Web.UI.Control.PreRenderRecursiveInternal() +125
   System.Web.UI.Page.ProcessRequestMain() +1499


Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407
 
Ответить с цитированием