Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. .asmx file

.asmx file

Scheduled Pinned Locked Moved ASP.NET
help
15 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    eyeseetee
    wrote on last edited by
    #1

    Hi I ahve a .asmx file which contains the code for my cascading dropdown I have copied it from one project to another Do I need to add any code anywhere else e..g webconfig to enable this file any help would be great!! thanks

    A N 2 Replies Last reply
    0
    • E eyeseetee

      Hi I ahve a .asmx file which contains the code for my cascading dropdown I have copied it from one project to another Do I need to add any code anywhere else e..g webconfig to enable this file any help would be great!! thanks

      A Offline
      A Offline
      AhsanS
      wrote on last edited by
      #2

      if u have the code in a seperate file u will have to copy that file as well from app-code directory to the corresponding directory in the new project

      Ahsan Ullah Senior Software Engineer

      1 Reply Last reply
      0
      • E eyeseetee

        Hi I ahve a .asmx file which contains the code for my cascading dropdown I have copied it from one project to another Do I need to add any code anywhere else e..g webconfig to enable this file any help would be great!! thanks

        N Offline
        N Offline
        Not Active
        wrote on last edited by
        #3

        if the control needs to be used in more than one project your better off writing it as a server control rather than a user control.


        only two letters away from being an asset

        A 1 Reply Last reply
        0
        • N Not Active

          if the control needs to be used in more than one project your better off writing it as a server control rather than a user control.


          only two letters away from being an asset

          A Offline
          A Offline
          AhsanS
          wrote on last edited by
          #4

          asmx extension is for webservices not for user controls

          Ahsan Ullah Senior Software Engineer

          N 1 Reply Last reply
          0
          • A AhsanS

            asmx extension is for webservices not for user controls

            Ahsan Ullah Senior Software Engineer

            N Offline
            N Offline
            Not Active
            wrote on last edited by
            #5

            Oops, you're right. :-O Too many damn extensions and acronyms


            only two letters away from being an asset

            E 1 Reply Last reply
            0
            • N Not Active

              Oops, you're right. :-O Too many damn extensions and acronyms


              only two letters away from being an asset

              E Offline
              E Offline
              eyeseetee
              wrote on last edited by
              #6

              I have got the asmx file in the same location as the file that references it So I have two projects with two asmx files in them, when I run the file its (.asmx) the xml works and displays the right data but when I run it in the cascading dropdownlist it doesnt display anything But I can see it working in the other project Anyone got any ideas? I'm totally stuck! :)

              N 1 Reply Last reply
              0
              • E eyeseetee

                I have got the asmx file in the same location as the file that references it So I have two projects with two asmx files in them, when I run the file its (.asmx) the xml works and displays the right data but when I run it in the cascading dropdownlist it doesnt display anything But I can see it working in the other project Anyone got any ideas? I'm totally stuck! :)

                N Offline
                N Offline
                Not Active
                wrote on last edited by
                #7

                The webservice doesn't need to be in each project. Use the SOA model and put the webservice in a central location so both projects, plus any others, can call it. The service is only returning data which you are binding to a dropdown list correct?


                only two letters away from being an asset

                E 1 Reply Last reply
                0
                • N Not Active

                  The webservice doesn't need to be in each project. Use the SOA model and put the webservice in a central location so both projects, plus any others, can call it. The service is only returning data which you are binding to a dropdown list correct?


                  only two letters away from being an asset

                  E Offline
                  E Offline
                  eyeseetee
                  wrote on last edited by
                  #8

                  Yeh basically the top level of the dropdownlist should display some data from the database. I can see it working in project 1, I can see it working in the xml of project 2, but it wont display in the cascading drop down, am I missing something? Why would it work when I visit the asmx file but not when I run the file with the cdd in it?what would be the reason for this? thanks for thehelp

                  E 1 Reply Last reply
                  0
                  • E eyeseetee

                    Yeh basically the top level of the dropdownlist should display some data from the database. I can see it working in project 1, I can see it working in the xml of project 2, but it wont display in the cascading drop down, am I missing something? Why would it work when I visit the asmx file but not when I run the file with the cdd in it?what would be the reason for this? thanks for thehelp

                    E Offline
                    E Offline
                    eyeseetee
                    wrote on last edited by
                    #9

                    totally stuck, I'm looking at the same 3 pages of code in 2 different apps and they are doing two different things, what is going on? any help would be much apprecited, do i need to change a webconfig file, the master file, Im just totally stumped as to what this problem is

                    N 1 Reply Last reply
                    0
                    • E eyeseetee

                      totally stuck, I'm looking at the same 3 pages of code in 2 different apps and they are doing two different things, what is going on? any help would be much apprecited, do i need to change a webconfig file, the master file, Im just totally stumped as to what this problem is

                      N Offline
                      N Offline
                      Not Active
                      wrote on last edited by
                      #10

                      a-+s-+p-+ wrote:

                      Im just totally stumped as to what this problem is

                      Well so are we since we haven't seen the same three pages of code that have been staring at. Isolate the problem. Move the WebService out of each project and into one its own. Test it. Once its working, reference it in the other projects and go from there. Things you shouldn't need to be told if you're a professional developer.


                      only two letters away from being an asset

                      E 1 Reply Last reply
                      0
                      • N Not Active

                        a-+s-+p-+ wrote:

                        Im just totally stumped as to what this problem is

                        Well so are we since we haven't seen the same three pages of code that have been staring at. Isolate the problem. Move the WebService out of each project and into one its own. Test it. Once its working, reference it in the other projects and go from there. Things you shouldn't need to be told if you're a professional developer.


                        only two letters away from being an asset

                        E Offline
                        E Offline
                        eyeseetee
                        wrote on last edited by
                        #11

                        thanks for the great answer. Believe or not I have run the web service seperatly and it works. You are def not a professional with answers like that. What I was wondering is if I have to set or start the web service seperatly for each project Maybe I should wait for a post from someone who will give me a useful answer..

                        N J 2 Replies Last reply
                        0
                        • E eyeseetee

                          thanks for the great answer. Believe or not I have run the web service seperatly and it works. You are def not a professional with answers like that. What I was wondering is if I have to set or start the web service seperatly for each project Maybe I should wait for a post from someone who will give me a useful answer..

                          N Offline
                          N Offline
                          Not Active
                          wrote on last edited by
                          #12

                          :laugh: :laugh: ;P ;P ;P


                          only two letters away from being an asset

                          J 1 Reply Last reply
                          0
                          • E eyeseetee

                            thanks for the great answer. Believe or not I have run the web service seperatly and it works. You are def not a professional with answers like that. What I was wondering is if I have to set or start the web service seperatly for each project Maybe I should wait for a post from someone who will give me a useful answer..

                            J Offline
                            J Offline
                            Justin Perez
                            wrote on last edited by
                            #13

                            a-+s-+p-+ wrote:

                            You are def not a professional with answers like that.

                            Why, because he needs to tell you how to debug a project? You have got to be kidding...

                            a-+s-+p-+ wrote:

                            Maybe I should wait for a post from someone who will give me a useful answer..

                            Good luck getting after that :laugh: :laugh:

                            I'm going to become rich when I create a device that allows me to punch people in the face over the internet. "If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer

                            E 1 Reply Last reply
                            0
                            • N Not Active

                              :laugh: :laugh: ;P ;P ;P


                              only two letters away from being an asset

                              J Offline
                              J Offline
                              Justin Perez
                              wrote on last edited by
                              #14

                              Do debuggers not work in some parts of the world?

                              I'm going to become rich when I create a device that allows me to punch people in the face over the internet. "If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer

                              1 Reply Last reply
                              0
                              • J Justin Perez

                                a-+s-+p-+ wrote:

                                You are def not a professional with answers like that.

                                Why, because he needs to tell you how to debug a project? You have got to be kidding...

                                a-+s-+p-+ wrote:

                                Maybe I should wait for a post from someone who will give me a useful answer..

                                Good luck getting after that :laugh: :laugh:

                                I'm going to become rich when I create a device that allows me to punch people in the face over the internet. "If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer

                                E Offline
                                E Offline
                                eyeseetee
                                wrote on last edited by
                                #15

                                whoop solved it

                                1 Reply Last reply
                                0
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • World
                                • Users
                                • Groups