Wrt54gl: Led for ethernet port two always on.

I've had my router for three days now and have only managed to establish an ethernet connection with my computer two times. Of those two times the wired connection lasted only a couple of hours before being lost, but the wireless connection always remains stable. A weird thing I noticed when setting my router for the first time was this: The led indicator for ethernet port two was always on and, indeed, remains always on despite there not being any connection in the port.
On my first successful connection I could only manage to get a signal through port two (with ports one, three and four giving me no such luck). With my second successful connection I managed to get established through port one while port two's led, as always, remained lit.
My question is this: Could this led be indicitive of some hardware problem? 

That's strange,I would suggest you to hard-reset the router for 45 seconds,power cycle the router and re-configure it from scratch...Now,check the port no 2.

Similar Messages

  • Bridge for ethernet port

    I am looking for a bridge for ethernet port of MSI 180. The bridge is used for wireless connection (It changes wired connection type to wireless one either 11b or 11g). Is there a bridge compatible with Mega 180?

    Well as for the WGA54G,
    I am (again!) struggling to get it working, I recently had issues where the reset button did not work (thank god I remembered my password)
    For some reason any changes I made were not saved, that got fixed by updating the firmware.
    It does not support WPA (have to check to be sure)
    It does only support one device (so you cannot connect a switch to it and have multiple devices connected to your network.
    For some reason it does not understand I have a DHCP server running, I have issues getting the DHCP forwarded to the device it is supposed to create wireless for.
    connectivity is so-so I had to cap the max transfer limit to get a stable connection.
    If I were to buy one again (which I may do, since I need it to connect my DVD player to my network) I would buy a accesspoint, and not a game adapter.
    As for brands I will definitately not buy Linksys again, nor Asus. I bought a Asus PCI wifi adapter, which has buggy software (maybe related to Windows ME).
    Does anyone else have comments on wireless suppliers that have good software added to their hardware. I am quite happy with my 3Com router, which is quite easy to manage.
    Do not have comments on WAP54G, as above I will not buy a linksys product again.
    How is US Robotics for instance ?
    Ray

  • Drivers/firmware for ethernet port?

    I recently got rid of my PC (YAY!!!), meaning I no longer need my cheap crappy wireless router. However, when I hook my Ethernet cable up to the port in my PB, I can not connect to the web. I'd like to try reinstalling the necessary driver/firmware, as doing so recently solved my non-working USB ports problem, but I don't know where to find the driver... Can anybody post a link to a site where I can download a driver? Or perhaps have a better way to connect?
    (I understand that what I am looking for is probably under my nose, but I'm not computer savvy enough to know what terms to search for.... heh..)
    thanks

    Sorry, posted this one in the wrong department... I asked in the proper one (Networking, internet, etc...) Mods can delete this if so desire

  • Driver/firmware for ethernet port??

    I recently got rid of my PC (YAY!!!), meaning I no longer need my cheap crappy wireless router. However, when I hook my Ethernet cable up to the port in my PB, I can not connect to the web. I'd like to try reinstalling the necessary driver/firmware, as doing so recently solved my non-working USB ports problem, but I don't know where to find the driver... Can anybody post a link to a site where I can download a driver? Or perhaps have a better way to connect?
    (I understand that what I am looking for is probably under my nose, but I'm not computer savvy enough to know what terms to search for.... heh..)
    thanks

    Sorry, posted this one in the wrong department... I asked in the proper one (Networking, internet, etc...) Mods can delete this if so desire

  • Nexus 5596 Ethernet Port Configuration

    I have a Cisco Nexus 5596 with 48 Ethernet Ports (two of which are now configured for Fibre Channel). It has a FEX attached to it as well.
    I was able to configure ANY Ethernet port with the typical interface commands when in interface configuration mode. However, I can now only configure existing and new Port Channel interfaces, FEX ports and standard Ethernet ports that have never been configured before.
    If I try to configure an Ethernet interface that was configured in the past, I only seem to have access to global interface commands when in interface configuration mode. I can set spanning-tree, duplex, speed or any other interface parameters. The CLI acts like I'm not in interface config mode, but the prompt shows that I am.
    Anyone else seen such a thing? I am logged in as admin.                 

    Hi Mark
    I suspect the interface in question is configured to be in a channel. Once an ethernet interface is configured to be in a port-channel. most interface commands need to be configured under the port-channel interface
    Thanks
    -Prashanth

  • Using two wrt54gl's for home entertainment network?

    Hey all,
    1st time poster here that could use some help!  Right now I have a WRT54GL router connected to my desktop upstairs and then wirelessly to my laptop.
    I just a got a new Panasonic TV, Blu Ray Player, and Xbox downstairs -- all of which I want to connect wirelessly.  Can I just get another WRT54GL router and connect all of the latter devices to it via ethernet, and then have the 2nd Linksys wirelessly connect to the 1st one upstairs wirelessly?  In other words, can I establish another wirelss hub downstairs using a 2nd WRT54GL but using the upstairs unit as the signal source?
    If not, is there a better solution?  I was thinking an n router wouldn't work without me replacing my WRT54GL with another 'n' router.  But that seems expensive.  Anyways, I'm confused about the best way to hook all of these devices together.... any thoughts/guidance?  Thanks! 

    Thanks guys, I really appreciate the guidance.  It's not really feasible for me to run a cable from my WRT54GL to another router/bridge downstairs.  I've been reading a little about DD-WRT and how that might offer a solution of putting one of the routers in bridge mode, allowing the two units to connect wirelessly.  Still not sure if this is feasible or not.  Can you recommend a good wireless bridge that would work with my router, one that has at least three ethernet ports?  Thanks again for all of your help!

  • Any way to select Ethernet ports for outgoing SMTP mail?

    We've got an Xserve G4 running OS X Tiger Server 10.4.6. We're hosting two domains for Web and Mail services (call them mydomain1.com and mydomain2.com). Web service is running great, and Mail service is running fairly well except for one minor snafu I can't seem to figure out.
    The problem is that outbound SMTP mail is always directed out through the same Ethernet port -- the primary Ethernet port. What I would like to have happen is that mail coming from [email protected] addresses go out through the primary Ethernet port (mail.mydomain1.com) and mail coming from [email protected] addresses go out through a secondary Ethernet port (mail.mydomain2.com). If we don't do this, there's a few mail servers out there who become paranoid and think we're spamming them -- they see mail coming from an IP address associated with the mydomain1.com domain for a user with a mydomain2.com ReplyTo address.
    Does anyone know of any way to select which port gets used for outbound mail selectively? Offhand I can't see any solution except to get a second e-mail server to handle mail for mydomain2.com.
    This may not impact the issue, but for incoming mail I'm making use of virtual domains (but not virtual hosts) so that mail can be received by a user in any of the following ways:
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    Any help would be appreciated.

    Ok, I found the solution in case anyone else is having this same problem. What I did was:
    1. Delete the MobileMe account from the iPhone
    2. Create the POP account with the proper inbound and outbound settings
    3. iPhone will attempt to connect to the POP via SSL which fails and prompts to go sans-SSL
    4. Accept the non-SSL option and back out of the Mail setup
    5. Create the MobileMe account
    6. Tap Add SMTP server
    7. The POP account's SMTP server will be listed, turn it on
    6. Turn off MobileMe's SMTP server
    9. Back out to view accounts and select the POP account
    10. Disable the POP account (prevents duplicate emails)
    It turns out that the phone will allow you to turn of SSL on POP accounts because it goes through the process of checking to see if it can use SSL -- when that fails, you have the option to turn it off. Because of the way MobileMe sets up, you don't have that option on that account which is why you need to create the POP first.

  • RT: How do I use two independen​t Ethernet ports?

    I have looked around at the forums and seems like no one has had a real solid answer or example on how to use 2 Ethernet ports with RT.
    Right now I have two connections configured on the RT:
    Primary Connection:
    IP:192.168.2.181
    Subnet mask: 255.255.255.0
    Gateway: 192.168.1.1
    DNS Server: 192.168.1.1
    Secondary Connection:
    IP:192.168.1.180
    Subnet mask: 255.255.255.0
    Gateway: 192.168.1.1
    DNS Server: 192.168.1.1
    After using this initial setup, I made a RT project where I used 'UDP Open' for both 192.168.2.181 and 192.168.1.180, and had them both read and write in a sequence (Read and Write for the 2.181 connection, then Read/Write for 1.180).
    The computer I'm using to send the data is connected to a switch, which in turn is connected to the RT. Both the RT and my host computer have 2 ports, one of them with ports configured to be 192.168.2.x and 192.168.1.x
    Using this configuration I get some weird results:
    If I send a packet to 192.168.2.181, I receive it from the UDP Receive vi that has an input connection from my UDP Open assigned to 1.180. I also receive the data the same way when sending packets to 1.180 (as expected). Basicly, no matter what IP I'm sending it to on the RT, the data from either packet will arrive from the same location/vi.
    Why is this? Is there anyway to fix this? Did I not configure something correctly?
    Does anyone have an example of dual Ethernet ports actually working with LabView RT?
    I tried checking out "KnowledgeBase 3VQ6278T: Can I Use Multiple Network Adapters in a PXI or Desktop Real-Time System?", but after following the link to the page, I get:
    "Error You are not authorized to view this document". Can any NI people look into this?
    Having to make two IPs with different subnet masks obviously just makes things unnecessarily complicated. Can anyone tell me why LabView/NI did this? I know for a fact this isn't a limitation in hardware.
    Any help would be greatly appreciated, thanks!

    Hey Weizbox.
    Sorry to hear you're having such a difficult time using multiple ethernet devices with RT. 
    Let me go ahead and get the easy stuff out of the way, the link you
    have is dead because it's archived (and thus removed forever) though
    unfortunately the link on ni.com wasn't corrected to point to the
    following resource, which the KB was a word-for-word duplication of
    (which is supposedly why it was removed):
        http://zone.ni.com/reference/en-XX/help/370622C-01​/lvrthelp/configuringdual/
    Unfortunately, though, it's much less useful than it sounds.
    Before you start feeling like a woodpecker in a petrified forest, lemme
    fill you in on why the requirement is there for the two ethernet NICs
    to be on seperate subnets.  Simple enough, it has to do with the
    network stack on both of the operating systems used for LabVIEW
    Real-Time - however, the same falls true for even Windows (without
    using fancy vendor-specific drivers), so let's not be too hasty. 
    Neither PharLap ETS nor VxWorks, the two OS's used under the hood,
    support redundant network ports.  Because of this, if you give two (or
    more in the case of PXI and RT Desktop) ethernet devices IP addresses
    on the same subnet the routing tables in the network stack get horribly
    confused and literally cannot resolve the proper adapter, which either
    brings down the ethernet on the entire system or makes it such that one
    or more network adapters becomes useless and one adapter takes over all
    network traffic (there's no way to predict which adapter that will be,
    nor can you control it based on what's plugged in and what's not).  On
    Windows this is handled by bridging the adapters, but RT does not yet
    support bridging (that opens a whole nother can of worms).  Long story
    short, you still wouldn't be able to give both NICs individual IP
    addresses on the same subnet. 
    Let's take that even one more step.  You cannot simply just assign both
    ethernet NICs different IP addresses on "virtual" subnets, you actually
    need to put both NICs on literally different subnets for the network
    routing to actually work.  Multiple ethernet devices for LabVIEW RT
    were designed with the following mantra in mind - "The FIRST ethernet
    device is designed for a TCP/IP network, the SECOND and SUBSEQUENT
    ethernet device is designed for OTHER protocol uses."  By "OTHER
    protocol uses" I mean the second NIC should be used for RT
    Deterministic Ethernet (PXI, RT Desktop, et. al.), direct connections
    with other targets, and 3rd party or custom ethernet protocols. 
    Now, realistically, we can't expect users to not use the second NIC for
    TCP/IP use, nor should we.  However, if you ARE going to use TCP/IP on
    the second NIC, you should only use the second NIC for connecting to an
    unroutable network in the eyes of the first NIC.  So, for instance, the
    FIRST NIC can have an IP address of 10.0.62.128, but the SECOND NIC
    would need to have an IP address on 192.168.100.23  - and the
    10.0.62.128 should not be able to route a TCP packet to the 192.168.x.x
    network, and vice versa.  In your example I noticed that both networks
    used the same Gateway - unless your Gateway is configured to identify
    and seperate the two networks, it's not going to end well, and you
    shouldn't expect to be able to send data from one NIC to the other NIC
    (at least with what you know now).  To reiterate, using multiple NICs
    using TCP/IP should only be done in cases where you've got (n-1)
    isolated subnets, where n is the number of NICs you have using TCP/IP. 
    A classic example of this is a command-based measurement environment;
    the RT system uses the FIRST NIC to talk to a TCP/IP network, in order
    to transfer data or provide status to a network, and the second NIC is
    connected to a TCP/IP network designed specifically for measurement or
    control, where one node sends commands to a single or multiple nodes on
    the network at once to perform tasks (like "Take a Measurement", "Stop
    a motor", "Bake me a Pie", etc...).  The isolated TCP/IP subnet is free
    from "random" TCP/IP traffic (especially system announcement
    broadcasts) and can have whatever topology/configuration it wants.  The
    dual networking allows the RT system to work/communicate/perform on
    both networks.
    I hope this helps shed some light on your situation.
    Cheers!
    -Danny

  • How to specify one ethernet port for network home directories (other for normal filesharing)?

    So I'm trying to get Home Directories up and running on a 10.6.8 Xserve (waiting until I get my NFS sharepoints migrated to a Linux server [for other reasons] before moving up to 10.7 Server). But posting here since that will be happening in the next few weeks, and it might be applicable now (so I can at least get that resolved ahead of time).
    I have a different DNS entry for each ethernet port: server.office.domain.com at 192.168.0.11 for the first, and homes.services.internal at 192.168.0.10 for the second. DNS lookups for both resolve correctly (as does the reverse lookup).
    If I use the Server Admin to pick a sharepoint as an automount for Home Directories, everything is fine, but it picks the server.office.domain.com hostname. Picking that works just fine, but that is also the connection that feeds the filesharing. I'd prefer to split that home directory traffic out onto the second ethernet port. So I tried just duplicating the initial connection (since it can't be edited directly in Workgroup Manager) and changing the hostname to the internal one, but I get an error when attempting to log in (the client login screen gives a very helpful "Couldn't login because of an error" error message) and don't see anything in the server logs.
    The client machine shows the following line:
    Code:
    10/20/12 5:27:42.688 PM authorizationhost: ERROR | -[HomeDirMounter mountNetworkHomeWithURL:attributes:dirPath:username:] |
         PremountHomeDirectoryWithAuthentication( url=afp://homes.services.internal/Users,
         homedir=/Network/Servers/homes.services.internal/Volumes/HomeDirectories/Users/ user123, name=user123 ) returned 45
    (added line breaks so it didn't extend off the page)
    So it looks like this is failing because the automount isn't in place, but I'm not sure how to work that out either (i.e. how do I add that making sure it uses the internal hostname?).
    Any suggestions on getting this to work?
    I realize one solution is just to LACP the two ports, but that is a different ball of wax (I may do that later if I get a 4 port ethernet card and performance limitations demand it).

    A possible solution might be this.
    On ADSLBOX and CABLEBOX configure different subnets for the LAN, e.g.
    ADSLBOX:    192.168.1.0/24
    CABLEBOX: 192.168.2.0/24
    The MEDIABOX gets these static IPs:
    ADSL-LAN: 192.168.1.2
    CABLE-LAN: 192.168.2.2
    On the MEDIABOX, configure the two network interfaces using two routing tables.
    The ADSL-LAN routing table
    ip route add 192.168.1.0/24 dev eth0 src 192.168.1.2 table 1
    ip route add default via 192.168.1.1 table 1
    The CABLE-LAN routing table
    ip route add 192.168.2.0/24 dev eth1 src 192.168.2.2 table 2
    ip route add default via 192.168.2.1 table 2
    The main routing table
    ip route add 192.168.1.0/24 dev eth0 src 192.168.1.2
    ip route add 192.168.2.0/24 dev eth1 src 192.168.2.2
    # use the CABLE-LAN gateway as default, so general internet traffic from MEDIABOX runs over CABLEBOX
    ip route add default via 192.168.2.1
    define the lookup rules
    ip rule add from 192.168.1.2 table 1
    ip rule add from 192.168.2.2 table 2
    To test the setup:
    ip route show
    ip route show table 1
    ip route show table 2
    I don't know how to persist something like this in ArchLinux using netctl. Might require to write a special systemd unit for it. Above is a working example from a RedHat box at my company.
    Last edited by teekay (2013-12-04 07:42:22)

  • Looking for an Access Point with 2 Ethernet ports

    Hi,
         I am looking for an AP with two ethernet ports. Is there any model of Cisco is available with 2 ethernet ports?
    Regards,
    Noman

    pros:
    If an access swich/switch port failed then AP still forward traffic through other switch once power restored through other port.
    when PoE failed on its connected switch, it may still work via other port.
    Having two ethernet port on AP may require to talk to different switches/stack to achieve AP port redundancy through lag or stateful switch over when cable/switch/AP port failure.
    if one physical port become bad on AP, it can be still used with other.
    (However, AP/physical port failure can be takencare at RF level using self healing.)
    cons:
    require additional switch and its config maintanece
    currently, AP doesn't require 2 physical port for data transfer perspective.
    Require x2 PoE ports.
    Additional port increases the cost on AP.
    it is possible cisco may make it in future.

  • Is there a fix for a dead ethernet port besides a new logic board?

    My ethernet port went dead on my IMac.  I unplugged the ethernet cable and plugged it into my laptop and it worked instantly.  I am still able to connect wirelessly.  I bought an apple USB to Ethernet converter and plugged it in.  It worked for about 3 days and then it went dead.  Once again I was able to unplug the ethernet cable, plug it into my laptop and instantly had a connection.  Is there a fix for a dead ethernet port besides a new logic board and if not how do I figure out which logic board I need?
    Thanks
    Step

    This problem baffled me. I kept getting the "ethernet cable unplugged" error after testing my cables good. Was abut to write it off as port gone bad when I found this thread.
    The YouTube video reference above fixed my problem. (http://www.youtube.com/watch?v=u1P6X87qArs)
    Basically go to SETTINGS/NETWORK. Then highlight your ETHERNET port and click the ADVANCED button. From there click the HARDWARE tab.
    Set
    CONFIGURE to MANUALLY
    SPEED to whatever your ethernet speed is, in my case 1000baseT
    DUPLEX - FULL DUPLEX, FLOW CONTROL
    Leave MTU at Standard
    Hit OK.
    Then don't forget to hit APPLY. I didn't do this the first couple of times assuming hitting OK applied these settings. You gotta hit APPLY.
    In about two seconds, my Ethernet connected again.
    I went back and reset it to AUTOMATIC just to test and after doing so got the cable unplugged error again. So I am leaving it on manual and it's working.

  • Is Airport Express ethernet port suitable for a laser printer

    I saw there are three ports out from the device, one is an ethernet port and I wonder if I can use that port to connect a laser printer with a network card built-in. This is because I have two printers one is a USB and the other is parallel/neetworkk one and would like to connect both to the Airport for remote use purposes.
    Thanks & Regards,
    Dante

    Unfortunately, the AirPort Express Setup Guide is not very clear about the uses of the Ethernet port.
    There is a special feature on the AirPort Express called ProxySTA that will allow the Ethernet port to be enabled when the Express "joins" a wireless network. This feature must be enabled using the Manual Setup option when the Express is configured using the AirPort Utility application.
    The setting is found when you click the Wireless tab (just below the icons). Enter a check mark next to "Allow Ethernet Clients" and this will activate the Ethernet port, which will function as a remote LAN port.

  • Airport Express ethernet port for printing?

    I've recently purchased an Extreme (802.11n) for my wireless internet service which is working just fine on its own. In the other room I've set up my older Airport Express for only networking my printers. I don't want to hook up the printer to the ethernet ports on the Extreme as it is near my TV and entertainment center. I understand I cannot use a USB hub to connect two printers to the Express, but is it possible to use the Ethernet port on the Express for my Lexmark E240 or any other ethernet ready laser printer?
    Thanks
    Al Powerbook, MacBook   Mac OS X (10.4.10)  

    Hello Jeff Crowell...Welcome to the Apple Discussions!
    I understand I cannot use a USB hub to connect two printers to the Express, but is it possible to use the Ethernet port on the Express for my Lexmark E240 or any other ethernet ready laser printer?
    To activate the Ethernet port on the AirPort Express Base Station (AX), you need to configure it as a Remote Base Station in a Wireless Distribution System (WDS)...
    Wireless Distribution System (WDS) - Remote Base Station Setup
    (Note: To facilitate setting up the Base Station(s), place them in near proximity of each other during the set up phase.)
    Either connect to the AX's wireless network or temporarily connect directly, using an Ethernet cable, to the Ethernet port of the AX, and then using the AirPort Utility (in Manual Mode) to make the following settings:
    AirPort - Wireless tab
    - Wireless Mode: Participate in a WDS network
    - Network Name: <existing AirPort Network Name>
    - Radio Mode: 802.11b/g compatible
    - Channel: 1
    - Wireless Security: None
    AirPort - WDS tab
    - WDS Mode: WDS remote
    - Allow wireless clients (enabled)
    - WDS Main: <MAC address of the Main Base Station>
    Internet - Internet Connection tab
    - Connect Using: AirPort (WDS)
    - Configure IPv4: Using DHCP
    - Ethernet WAN Port: Automatic (Default)
    - Connection Sharing: Off (Bridge Mode)

  • I have a current 2TB Time Capsule. I would like to add more ethernet ports for needed expansion. Will an Airport Extreme conflict with the Time Capsule for needed ethernet ports and will wireless from both units conflict?

    I own a current 2TB Time Capsule and I need to expand my network system to include more ethernet (wired) ports. I am considering an Airport Extreme that would give me enough wired ports. Will the wireless capabilities of both units conflict with each other? I only need one wireless network. Thank you for any help.

    While you could certainly add an AirPort Extreme to provide additional Ethernet ports, you could also save about $150 by purchasing an inexpensive switch, such as one of these:
    http://www.amazon.com/D-Link-DGS-1005G-5-Port-Gigabit-Desktop/dp/B003X7TRWE/
    http://www.amazon.com/TRENDnet-Unmanaged-GREENnet-Auto-Negotiation-Auto-MDIX/dp/ B001QUA6R0/
    Consumer grade Ethernet switches typically come in five and eight port configurations. Just be aware that a five port switch only conveys the ability to add three additional devices. An eight port switch conveys the ability to add six additional devices.
    An 8 port switch provides twice the capacity of a 5 port switch for considerably less than twice the cost. The price difference between the two is often only $10 or so.
    I just checked, the 8 port version of the Trendnet switch above costs exactly $4 more.
    An AirPort Extreme is a very flexible full featured wireless router, and would provide three additional LAN ports for wired devices. If all you need is a few more ports though, it's overkill.

  • Use of two ethernet ports?

    My 5 year old Mac Pro is noticeably slower downloading data over the net than is my 1 year old Mac Book Pro, even when they are conntected to the same switch in my home. I know of some systems where two links to the internet can be combined to gain greater throughput. Will the Mac Pro do this?
    Adam

    two links to the internet can be combined to gain greater throughput
    Yes, it literally can, but it requires a specialty Router that supports the feature.
    For all practical purposes, except in data center use, the answer is NO.
    But that is not the answer at all. Most Internet connections are very slow compared to the Gigabit Ethernet of which your Mac Pro is capable. The connection to the Internet is not likely to be the problem.
    First, use Network Utility to check the actual speed of your Ethernet port, and that the Ethernet port is the port being actually used, and that the number of errors reported is extremely trivial and not increasing over time.

Maybe you are looking for

  • Can no longer login to Blackberry App World or get a password reset, please help!

    I cannot login to My Blackberry App World on https://blackberryid.blackberry.com/bbid/login/ I have entered my email and password but it is rejected. When I ask for a password reset I am prompted to answer a security question. The security question I

  • Edit table cells

    i have edited the setValueAt method of the TableModel interface to enable editing of cells in my JTable - in-situ. This works fine. However, i would like it so that when any change is made to the table data, it is automatically sorted depending on ho

  • APEX_ITEM.POPUP_FROM_LOV display type. Please help.

    Hi all, I am trying to create a form manually and I gave the source from sql query and the query is as follows: select apex_item.POPUP_FROM_LOV(1,ac_type_fk,'AC_TYPE') ACTYPE from c_MECS When I run the form, the result I get is: ACTYPE and a textfiel

  • Airport via routed network

    How do you use an airport through a routed network.? I would like to stream to my airport express that sits on another subnet in my house. Anyone have any ideas on how to manually add airports in Itunes.?

  • Understanding how to solve an SQL error

    If any one has an idea of how to solve an error like this,kindly tell me what to do.Please. Msg 8120, Level 16, State 1, Line 1 Column 'Members.Memb_contact' is invalid in the select list because it is not contained in either an aggregate function or