Results 1 to 7 of 7

Thread: Value does not fall within expected Range

  1. #1
    swsuresh is offline VB.NET Forum Newbie
    .NET Framework
    .NET 2.0 (VS 2005)
    Join Date
    Aug 2006
    Posts
    4
    Reputation
    0

    Value does not fall within expected Range

    Hello,

    I dunt know whether this is the right place for the VBb.NET EXPRESS EDITION
    ******
    I have an application built using VB express edition and Oracle XE. In Win2000 machines alone I get a error saying "Value does not fall within expected range". This occurs at the time of running the application from W2K client and also running the source code (from a VB environment) of W2K machine. Any reasons for it to be happening only in W2K and not on XP?
    I have installed .NET framework 2.0, OO40, MDAC2.8 etc. on all the client machines before running the application.
    In the debug mode, the error occurs on this line
    sql="Select ....... from login where username='...' "
    set stem=oradatabase.dbcreatedynaset(sql,0&)
    I have been trying in each and every forum without any luck.

    Thanks

  2. #2
    zekeman is offline VB.NET Forum Genius
    .NET Framework
    .NET 4.0
    Join Date
    May 2006
    Posts
    224
    Reputation
    97
    can you capture a piture of the exception and post it as an attachment?

  3. #3
    swsuresh is offline VB.NET Forum Newbie
    .NET Framework
    .NET 2.0 (VS 2005)
    Join Date
    Aug 2006
    Posts
    4
    Reputation
    0
    Quote Originally Posted by zekeman View Post
    can you capture a piture of the exception and post it as an attachment?
    Attached is the screen dump of the error message. Would this be of any help?
    Attached Images Attached Images
    Last edited by swsuresh; 09-07-2006 at 5:05 AM.

  4. #4
    cjard's Avatar
    cjard is offline VB.NET Forum All-Mighty
    .NET Framework
    .NET 4.0
    Join Date
    Apr 2006
    Posts
    7,027
    Reputation
    1705
    ooh.. look at the stacktrace - late binding! yummmm

    what's the full stacktrace string?

  5. #5
    swsuresh is offline VB.NET Forum Newbie
    .NET Framework
    .NET 2.0 (VS 2005)
    Join Date
    Aug 2006
    Posts
    4
    Reputation
    0
    Quote Originally Posted by cjard View Post
    ooh.. look at the stacktrace - late binding! yummmm

    what's the full stacktrace string?
    " at Microsoft.VisualBasic.CompilerServices.LateBinding .LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack)
    at Microsoft.VisualBasic.CompilerServices.NewLateBind ing.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)
    at WindowsApplication1.FrmLogin.OK_Click(Object sender, EventArgs e) in C:\Documents and Settings\sramachandran\My Documents\Visual Studio 2005\Projects\EDB\EDB\LoginForm1.vb:line 21
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
    at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    at System.Windows.Forms.UnsafeNativeMethods.DispatchM essageW(MSG& msg)
    at System.Windows.Forms.Application.ComponentManager. System.Windows.Forms.UnsafeNativeMethods.IMsoCompo nentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
    at System.Windows.Forms.Application.ThreadContext.Run MessageLoopInner(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.ThreadContext.Run MessageLoop(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.Run(ApplicationCo ntext context)
    at Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBase.OnRun()
    at Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBase.DoApplicationModel()
    at Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBase.Run(String[] commandLine)
    at WindowsApplication1.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81
    at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
    at System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel)
    at System.Runtime.Hosting.ManifestRunner.ExecuteAsAss embly()
    at System.Runtime.Hosting.ApplicationActivator.Create Instance(ActivationContext activationContext, String[] activationCustomData)
    at System.Runtime.Hosting.ApplicationActivator.Create Instance(ActivationContext activationContext)
    at Microsoft.VisualStudio.HostingProcess.HostProc.Run UsersAssemblyDebugInZone()
    at System.Threading.ThreadHelper.ThreadStart_Context( Object state)
    at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()"

  6. #6
    zekeman is offline VB.NET Forum Genius
    .NET Framework
    .NET 4.0
    Join Date
    May 2006
    Posts
    224
    Reputation
    97
    Long shot:

    I have noticed that there is a difference in error reporting in VB express

    and Visual Studio. I am running the 90 day free trial of VS and it arrived

    in the mail in about 4 days after I ordered it on-line.

  7. #7
    swsuresh is offline VB.NET Forum Newbie
    .NET Framework
    .NET 2.0 (VS 2005)
    Join Date
    Aug 2006
    Posts
    4
    Reputation
    0
    Any thoughts on that?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Harvest time tracking