Forums » General Discussion

Thread: "API GUARD" warning

This question is not answered. Helpful answers available: 2. Answered answers available: 1.


Permlink Replies: 1 - Pages: 1 - Last Post: May 24, 2012 2:17 AM by: Guy_M Threads: [ Previous | Next ]
Guy_M

Posts: 26
Registered: 2/16/11
"API GUARD" warning
Posted: May 24, 2012 2:08 AM
 
  Click to reply to this thread Reply

HI,

While writing in the editor I got an API Guard Warning (see attachment).
The debug trace is in French (sorry I use a localised version of Windows). The translation of the first sentence is approximatively : startIndex cant' be greater than the length of the string.

I Hope this will help you.

Best regards
Guy

**********************************************************************
Exception Information
**********************************************************************
Exception: System.ArgumentOutOfRangeException
Message  : startIndex ne peut pas être supérieur à la longueur de la chaîne.
Nom du paramètre : startIndex
Stack Trace:
   à System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
   à Quest.Toad.CodeInsight.LanguageDialect.GetGroupbyHint(IConnection connection, Insight insight, String defaultSchema)
   à Quest.Toad.CodeInsight.LanguageDialect.ReadVirtualList(IConnection connection, Insight insight, IncludeInsight include, Boolean filtering, String defaultSchema, Boolean refresh)
   à Quest.Toad.CodeInsight.BaseDialect.GenerateInsight(IConnection connection, String defaultSchema, Boolean filtering, Boolean refresh, Insight insight, Boolean secondary, Boolean& hasSecondary, List`1 ownerList, Int32 pad, IInsightLookupRequest request)
   à Quest.Toad.CodeInsight.LanguageDialect.GenerateInsight(IConnection connection, String defaultSchema, Boolean filtering, Boolean refresh, Insight insight, Boolean secondary, Boolean& hasSecondary, List`1 ownerList, Int32 pad, IInsightLookupRequest request)
   à Quest.Toad.CodeInsight.BaseDialect.GenerateInsightThread(Object obj)

**********************************************************************
Support Bundle: Toad for MySQL 6.3.0.642 Freeware
24/05/2012 10:31:27
**********************************************************************

**********************************************************************
System Information
**********************************************************************
Operating System
  Microsoft Windows XP Professionnel 5.1.2600 x86
  Manufacturer: Microsoft Corporation
  Computer Name: DR31NMFSIMAGU
  Windows Directory: C:\WINDOWS

Computer System
  Computer Manufacturer Name: Hewlett-Packard
  Computer Model: HP Compaq 8000 Elite CMT PC
  System Type: X86-based PC
  Total Physical Memory: 3,628,208 KB
  Domain: sd.intranet.sante.gouv.fr
  User Name: SD\martyg

System Processor
  Manufacturer: GenuineIntel
  Computer Processor: x86 Family 6 Model 23 Stepping 10
  CPU Speed: 2,992 GHz
  L2 Cache Size: 6 KB

System Bios
  BIOS: Default System BIOS
  BIOS Version: HPQOEM - 20091022



Guy_M

Posts: 26
Registered: 2/16/11
Re: "API GUARD" warning
Posted: May 24, 2012 2:17 AM   in response to: Guy_M
 
  Click to reply to this thread Reply

I attach the debug file that can't be send to Yahoo! group. Can you the mail address within Toad ?

<!--[if gte mso 9]<xml><w:WordDocument><w:View>Normal</w:View><w:Zoom>0</w:Zoom><w:HyphenationZone>21</w:HyphenationZone><w:PunctuationKerning/><w:ValidateAgainstSchemas/><w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid><w:IgnoreMixedContent>false</w:IgnoreMixedContent><w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText><w:Compatibility><w:BreakWrappedTables/><w:SnapToGridInCell/><w:WrapTextWithPunct/><w:UseAsianBreakRules/><w:DontGrowAutofit/></w:Compatibility></w:WordDocument></xml><![endif]<!--[if gte mso 9]<xml><w:LatentStyles DefLockedState="false" LatentStyleCount="156"></w:LatentStyles></xml><![endif]<!--[if gte mso 10]<style>/* Style Definitions */table.MsoNormalTable{mso-style-name:"Tableau Normal";mso-tstyle-rowband-size:0;mso-tstyle-colband-size:0;mso-style-noshow:yes;mso-style-parent:"";mso-padding-alt:0cm 5.4pt 0cm 5.4pt;mso-para-margin:0cm;mso-para-margin-bottom:.0001pt;mso-pagination:widow-orphan;font-size:10.0pt;font-family:"Times New Roman";mso-ansi-language:#0400;mso-fareast-language:#0400;mso-bidi-language:#0400;}</style><![endif]



Legend
Guru: 2001 + pts
Expert: 751 - 2000 pts
Enthusiast: 31 - 750 pts
Novice: 0 - 30 pts
Moderators
Helpful answer (5 pts)
Answered (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums