Syntax error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • KunalDesale
    New Member
    • May 2009
    • 5

    Syntax error

    Hi,
    I am using VB.NET and SQL Server 2005 for devlopement of one software.
    I am getting syntax error at run type only on live system.
    If try to recreate it on my machine with same data I don't get that error.

    I fill that its .net error. Can you suggest something where it whould be going wrong.
  • balame2004
    New Member
    • Mar 2008
    • 142

    #2
    Please attach the error you got in the live system so I can help you.

    Comment

    • KunalDesale
      New Member
      • May 2009
      • 5

      #3
      Syntax error

      Hi,
      Actually vb.net is not throwing detail error, thats why I am also not able to trace where its going wrong. It just popup message saying Syntax Error, nothing else.

      And I am trying to recreate it in test environment but its working fine in test environment.

      Application & database is exactly same on test & live machines.

      Thanks.

      Comment

      • balame2004
        New Member
        • Mar 2008
        • 142

        #4
        Did you install same .net framework in both machines?

        Which framework you installed in your machines?

        Comment

        • KunalDesale
          New Member
          • May 2009
          • 5

          #5
          Syntax error

          First of all, really appreciate your quick response.

          And I think your on the right track to resolve my problem.

          Sending you details of .NET Framework installed on each machine

          Machine on which its NOT working

          .NET Framework 2.0 SP1 and
          .NET Framework 3.0

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

          Machine’s on which it’s working

          1st Machine:

          .NET Framework 2.0 SP2 and
          .NET Framework 3.0
          .NET Framework 3.5 SP1

          2nd Machine:

          .NET Framework 1.1,
          .NET Framework 1.1 Hotfix (KB928366),
          .NET Framework 2.0

          3rd Machine:

          .NET Framework 1.1,
          .NET Framework 1.1 Hotfix (KB928366),
          .NET Framework 2.0 SP2,
          .NET Framework 3.0 SP2,
          .NET Framework 3.5 SP1


          Should I install .NET Framework 2.0 SP2 on the machine where I am getting syntac error?

          Comment

          • balame2004
            New Member
            • Mar 2008
            • 142

            #6
            I am not aware of machine in which you have compiled your code.
            Install .Net Framework 2.0 SP2 and 3.5 SP1 on the machine where it does not work. It should work after you have installed.

            Comment

            • KunalDesale
              New Member
              • May 2009
              • 5

              #7
              Syntax error

              Hi,

              Today Morning I installed
              .NET Framework 2.0 SP2 and
              .NET Framework 3.0
              .NET Framework 3.5 SP1

              on the live machine, but still I got that error.

              Not getting where its going wrong.

              Comment

              • Plater
                Recognized Expert Expert
                • Apr 2007
                • 7872

                #8
                Do you have a section of your code where you catch Exceptions and popup a messagebox? This could be your own code?

                Comment

                • maliksleo
                  New Member
                  • Feb 2009
                  • 115

                  #9
                  hmm its dificult to get your error with out watching your code you may catch the error like the other guy say or mention your code here for better understanding.

                  maliksleo

                  Comment

                  Working...