Trying to access WRT300N, but not successfull.

Hi everyone! I was advised to replace my router because it is showing signs of hardware failure. Normally this would be easy but I have an issue. The guy who setup everything for us forgot the information he used to setup the router. He also never gave us this information. This was all done before I started working with the company. I would have surely stored it in a google doc or something. I have tried a bunch of company passwords as well as the defaults. Can I send the router into cisco/linksys to get it unlocked? Or is there are way to get get the forwarding information from the router?
I need to get all of the port forwarding settings out of the router. These settings allow us to access our exchange server outlook web access. And we have 2 company portals setup as well that are internet accessible.
really, really, really appreciate any help!

The default password to login to the setup page of the Linksys router is admin. If its not working then you can try some of your common passwords or on your main computer you can check for the Linksys folder on the desktop. If the linksys folder is available on your computer you can open it and get the password for your router.

Similar Messages

  • TS3638 i have an internet connection but when i open app store it shows error message "cannot connect to app store".when i try to sign in with my valid apple ID and password it says "connection failed".i tried keychain access settings but it did not help.

    i have an internet connection but when i open app store it shows error message "cannot connect to app store".when i try to sign in with my valid apple ID and password it says "connection failed".i tried keychain access settings but it did not help.please help me!!

    Open Sysem Preferences from your Apple () menu top left in your screen then select the Firewall tab.
    Make sure the Firewall is turned off.

  • I have a time capsule connected directly to fiber connection. I have connected a windows server directly to TC and configured it for remote desktop connection. From my interanet I can access srvr but not from my home. What config I need on TC?

    I have a time capsule directly connected to fibre optic point out. All pcs and macs are connected wirelessly to the internet. I have connected a windows server pc to TC. When configured for Remote desktop connection, I can access windows server from within interanet but don't know how to access it from internet. I guess I need to change some settings in TC to get some ip adress for the remote desktop connection from my home. Anyone who can help me out? Appreciate it.
    Narmin

    I am a little lost now.. I have read again your title and your first post.. and they seem inconsistent.
    In the title you state.
    From my interanet I can access srvr but not from my home.
    Interanet is not a word I know.. I assumed intranet...are you talking about internet or intranet? And just to be clear say WAN or LAN.. !! Is your home part of the interanet??
    In the first post you state,
    I can access windows server from within interanet but don't know how to access it from internet.
    Now this is more normal.. the issue is not in the home at all, it is accessible from there but fails from internet. If this is correct, then you can do a few obvious things to determine where the problem is.
    But first I need to know are you actually testing from a different internet connection to your home lan.. you are not just trying the public IP from inside the LAN as that will fail due to the TC not doing NAT Loopback.
    I am also assuming the TC is the only router in the network, and has the public IP on the WAN interface.
    And I am also assuming you have turned on the ping responder and you can actually ping your public ip from the internet and get a response. This helps no end in figuring out where there are issues. Strange but I have no idea if there is a ping responder in the TC WAN so you might need to forward that as well. Also if you have a dynamic public ip address are you using dyndns or no-ip or some other service to connect.
    1. Test bypassing the TC.. plug the internet connection straight into the windows server,, and test if you have access. If yes, the TC is the problem.. if not, your setup on the windows server is wrong.. look at firewall in particular.
    2. Assuming from test 1 the TC is the problem, Post the screen shots of the port forwarding setup for us to look at.. that is by far the easiest way to check it out.
    There are lots of references to port forwarding in the TC.. eg
    http://must-know-mac.blogspot.com/2008/07/how-to-port-forward-time-capsule.html
    The things that generally go wrong are firewall on the computer that is accepting the port.
    The ISP doesn't allow connections on a particular port. (not likely in your case)
    The router is behind another router.. double NAT will kill any port forward.
    Upnp has already allocated a port.. not an issue as TC doesn't use upnp although a reboot of everything after you set port forwards is well worth it.. amazing how things don't stick properly without a reboot.
    IP on the receiving device is not static and so changes.
    Not enough or right type of ports are opened. This is always messier than it looks as one port is often not enough for two way communications.

  • I can access Google, but not Gmail.

    Hi guys. I've been having trouble with my internet connection for as long as I've had my Mac (one year). For the longest time, I've repeatedly had to click the icon for Airport and then turn it off and back on again to recover my connection to Google Gmail and Google docs. These are the first sites to disappear, later I have trouble accessing other sites, this is corrected by turing off and then on Airport. But that is very frustrating, and I often have to do it over and over again. Also, I'm puzzled by the fact that my Skype connection is rarely bothered when access to others sites drops.
    I've been reading as much as I can find and trying the airport utility. Clearly I am stupid because things went from bad to worse. Now I can access Google, but not Gmail. I can access most parts of Apple.com, but when I tried to purchase the upgrade to OS 10.6, I couldn't view the page images. I found the same problem on a few other sites. When I tried to access Linkedin, I could get to the login page, but no further.
    In each case, I get the usual message: Safari can’t open the page “https://www.google.com/accounts/ServiceLogin?service=mail&passive=true&rm=false& continue=http%3A%2F%2Fmail.google.com%2Fmail%2F%3Fhl%3Den%26tab%3Dwm%26ui%3Dhtml %26zy%3Dl&bsv=1eic6yu9oa4y3&scc=1&ltmpl=default&ltmplcache=2&hl=en” because Safari can’t establish a secure connection to the server “www.google.com”.
    I've tried resetting Airport back to the factory settings. Now all I get is the blinking yellow light - I'm not sure what that means.
    I'm now connected via hardwire, but access is limited to very few sites, such as this one and Google. I can search google, but I can't access gmail. I can access everything on my windows computer through the same wired network.
    Message was edited by: WhidbeyTomas

    I am having this same problem, but it's not related to parental controls. I have to keep turning the airport on and off as well. Here (http://www.mac-help.com/forums/showthread.php?t=9802) is a post I made over at mac-help.. still waiting for a reply.
    What I've noticed is, the DNS is resolving correctly, but I cannot access certain sites. Regardless, I've tried Open DNS servers and still get the same result. It's not a specific browser. Certain sites go down in a few minutes after visiting them. Some go down faster than others. And others don't go down at all. Sites I've had problems with are Apple.com (to make this post I've had to turn the airport on and off continually), Gmail.com, Google.com, while Google.ca works fine.
    A solution would be great..

  • My I pad 1 sometimes while watching working switches off and go back to home page ... Why ? Also I need to know how I can upload my photos and pictures from laptop to my I pad.  I tried thru I tunes but not work.

    My I pad 1 sometimes while watching working switches off and go back to home page ... Why ? Also I need to know how I can upload my photos and pictures from laptop to my I pad.  I tried thru I tunes but not work.

    Satmar wrote:
    My I pad 1 sometimes while watching working switches off and go back to home page ...
    Try This...
    Close All Open Apps... Sign Out of your Account... Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons...
    Note:
    Also consider Deleting any Apps you have Purchased / Downloaded but you now never use...
    Satmar wrote:
    Also I need to know how I can upload my photos and pictures from laptop to my I pad.
    See Syncing photos to devices
    Here  >  http://support.apple.com/kb/HT4236

  • HT4759 Hi I am trying to access my iphone notes from my desktop and they are not transfered? how do i transfer them? It is working the other way around - until I edit a note on my phone and then it is lost on my desktop? Help!

    Hi I am trying to access my iphone notes from my desktop and they are not transfered? how do i transfer them? It is working the other way around - until I edit a note on my phone and then it is lost on my desktop? Help!

    http://support.apple.com/kb/HT1296

  • Time Machine error -1, cannot access sparsebundle (but not a NAS or WD problem)

    Hello, this is my first post here, so I'll try to make it a good one! 
    I've been wrestling with this problem ever since I bought my Core i7 iMac (SSD + 1TB HD)   over a year ago.  I have not gotten Time Machine to work during that whole time.  Well, I got it to work backing up directly to my internal HD, but that was just a test; it's not what I want.  So let me describe this in the most clear and consise way I can:
    I want the Time Machine disk to be my Synology NAS.  I've configured a share on it correctly.  I have an older iMac running SnowLeopard backing up to the same share on the NAS with TimeMachine successfully.  But, my iMac won't do it.  Whether I create the sparsebundle manually, or I let TimeMachine create it, it always gives the same "error -1".  I wrote a more detailed account of my symptoms here (my message is the reply), when I thought this was a NAS-specific issue. 
    New development: This is not a NAS issue. I found that out by trying an experiment:
    First, I tried to back up my SSD using Time Machine to my internal 1TB disk - I selected the "1 TB Secondary Disk" as the Time Machine disk.  I initiated the backup, and it worked fine, putting the time machine backup in the "Backups.backupsdb" directory structure at the root of the drive.  I then turned off Time Machine and "removed" the 1TB as my backup disk.
    Then, I created a sparsebundle at the root of the drive using this command:
    hdiutil create -size 150g -fs HFS+J -volname "Time Machine" NAME_xxxxxxxxxxxx.sparsebundle
    (where the "xxxxxxxxxxxx" is my ethernet MAC address).  I then selected the "1 TB Secondary Disk" as the Time Machine disk again.  Time Machine found my sparsebundle and started working with it... and got "error -1"!   So even on a local drive, when Time Machine tries to use a sparsebundle for backing up, it still doesn't work. 
    Now, I have the console log entries that were written during the Time Machine backup attempt:
    1/1/13 12:53:59.511 PM com.apple.backupd[4460]: Starting manual backup
    1/1/13 12:54:00.780 PM com.apple.backupd[4460]: Renaming /Volumes/1 TB Secondary Disk/NAME_3c07540fdd8c.sparsebundle to /Volumes/1 TB Secondary Disk/iMac.sparsebundle
    1/1/13 12:54:00.871 PM com.apple.backupd[4460]: detach: could not open /dev/disk4
    1/1/13 12:54:01.260 PM com.apple.backupd[4460]: Resizing backup disk image from 161.06 GB to 999.76 GB
    1/1/13 12:54:02.940 PM com.apple.backupd[4460]: Waiting 60 seconds and trying again.
    1/1/13 12:55:03.378 PM com.apple.backupd[4460]: Resizing backup disk image from 161.06 GB to 999.76 GB
    1/1/13 12:55:06.013 PM com.apple.backupd[4460]: Waiting 60 seconds and trying again.
    1/1/13 12:56:06.619 PM com.apple.backupd[4460]: Resizing backup disk image from 161.06 GB to 999.76 GB
    1/1/13 12:56:09.255 PM com.apple.backupd[4460]: Giving up after 3 retries.
    1/1/13 12:56:19.263 PM com.apple.backupd[4460]: Backup failed with error: 21
    1/1/13 12:56:19.265 PM com.apple.backupd[4460]: [SnapshotUtilities mountPointForVolumeRef] FSGetVolumeInfo returned: -35
    1/1/13 12:56:19.265 PM com.apple.backupd[4460]: Failed to eject volume (null) (FSVolumeRefNum: 0; status: -35; dissenting pid: -1)
    1/1/13 12:56:19.265 PM com.apple.backupd[4460]: Failed to eject Time Machine disk image: /Volumes/1 TB Secondary Disk/iMac.sparsebundle
    So, here I see it tries to resize the sparsebundle to the full volume size, and fails.  I don't think I want it to do this resize, because I don't want it to fill up my whole NAS share.  I searched and found this post, which specifies how to set the permissions in the sparsebundle such that it won't be resized.  I followed those instructions with a new sparsebundle, and see the same problem... tries to resize, and fails.
    I do not have Western Digital software installed and never have.
    I've tried everything on this page.
    It seems like the attempt to resize is corrupting the sparsebundle.  Before starting the backup, I can mount the sparsebundle and manually copy files to it.  After attempting the backup, I can mount the sparsebundle, but I cannot copy anything to it manually.  Note that I can mount the sparsebundle that the MacBook Pro uses for Time Machine, and manually copy files to and from it (in other words, the correct SnowLeopard configuration does allow manual copying). 
    I have tried repairing the sparsebundle using the Disk Utility, which restores the ability to manually copy files to it, but Time Machine once again renders it unwriteable when it attempts to back up.
    Anyone know of anything else I can try?  Thank you so much!
    Dan

    Yeah, sorry about the broken link.  I noticed that link wasn't working after I replied, then I edited my earlier reply.  Also, yes, copying the files was just meant as a test; I created new clean sparsebundles for other tries.
    Anyway, I'm not too worried about the resizing for now; first things first, let's just get Time Machine working  with a sparsebundle at all.
    I don't know how to make Time Machine create its own sparsebundle on my local drive; if there isn't a manually created sparsebundle at the root, it just puts everything in the "Backups.backupsdb" directory structure without a sparsebundle.  However, it of course does create its own sparsebundle when I point it to my NAS share (as I understand it, Time Machine knows the NAS filesystem doesn't support everything it needs, so it creates the sparsebundle to emulate the correct filesystem).  As I have always gotten the same "error -1" when using the NAS share as I did when using the local sparsebundle, I was assuming the same problem was happening in both cases... but now I've checked the console log after doing a backup attempt on the NAS share, and I see different stuff:
    1/2/13 9:21:12.000 PM kernel[0]: AFP_VFS afpfs_mount: /Volumes/TM Backups, pid 9615
    1/2/13 9:21:12.000 PM kernel[0]: AFP_VFS afpfs_mount : succeeded on volume 0xffffff8148d5b008 /Volumes/TM Backups (error = 0, retval = 0)
    1/2/13 9:21:13.000 PM kernel[0]: AFP_VFS afpfs_unmount: /Volumes/TM Backups, flags 0, pid 9624
    1/2/13 9:21:13.000 PM kernel[0]: AFP_VFS afpfs_unmount : We are the last mnt/sbmnt using volume /Volumes/TM Backups 0xffffff8148d5b008
    1/2/13 9:21:13.000 PM kernel[0]: AFP_VFS afpfs_unmount : We are the last volume using socket /Volumes/TM Backups 0xffffff8148d5b008
    1/2/13 9:21:49.647 PM com.apple.backupd[9623]: Starting manual backup
    1/2/13 9:21:49.737 PM com.apple.backupd[9623]: Attempting to mount network destination URL: afp://[email protected]/TM%20Backups
    1/2/13 9:22:00.060 PM com.apple.backupd[9623]: Mounted network destination at mount point: /Volumes/TM Backups using URL: afp://[email protected]/TM%20Backups
    1/2/13 9:22:00.000 PM kernel[0]: AFP_VFS afpfs_mount: /Volumes/TM Backups, pid 9630
    1/2/13 9:22:00.000 PM kernel[0]: AFP_VFS afpfs_mount : succeeded on volume 0xffffff8148ffb008 /Volumes/TM Backups (error = 0, retval = 0)
    1/2/13 9:22:15.323 PM com.apple.backupd[9623]: Creating disk image /Volumes/TM Backups/iMac.sparsebundle
    1/2/13 9:22:46.397 PM com.apple.backupd[9623]: Failed to hide extension on /Volumes/TM Backups/iMac.sparsebundle, error: Error Domain=NSCocoaErrorDomain Code=4 "The file “iMac.sparsebundle” doesn’t exist." UserInfo=0x7fe881407700 {NSURL=file://localhost/Volumes/TM%20Backups/iMac.sparsebundle/, NSFilePath=/Volumes/TM Backups/iMac.sparsebundle, NSUnderlyingError=0x7fe8814073c0 "The operation couldn’t be completed. No such file or directory"}.
    1/2/13 9:23:10.209 PM com.apple.backupd[9623]: Failed to eject volume /Volumes/TM Backups (FSVolumeRefNum: -153; status: -47; dissenting pid: 0)
    1/2/13 9:23:10.210 PM com.apple.backupd[9623]: Waiting 60 seconds and trying again.
    1/2/13 9:24:10.241 PM com.apple.backupd[9623]: Network destination already mounted at: /Volumes/TM Backups
    1/2/13 9:24:56.305 PM com.apple.backupd[9623]: Failed to eject volume /Volumes/TM Backups (FSVolumeRefNum: -153; status: -47; dissenting pid: 0)
    1/2/13 9:24:56.305 PM com.apple.backupd[9623]: Waiting 60 seconds and trying again.
    1/2/13 9:25:56.326 PM com.apple.backupd[9623]: Network destination already mounted at: /Volumes/TM Backups
    1/2/13 9:26:40.171 PM com.apple.backupd[9623]: Failed to eject volume /Volumes/TM Backups (FSVolumeRefNum: -153; status: -47; dissenting pid: 0)
    1/2/13 9:26:40.171 PM com.apple.backupd[9623]: Giving up after 3 retries.
    1/2/13 9:26:50.177 PM com.apple.backupd[9623]: Backup failed with error: 21
    1/2/13 9:26:50.178 PM com.apple.backupd[9623]: [SnapshotUtilities mountPointForVolumeRef] FSGetVolumeInfo returned: -35
    1/2/13 9:26:50.178 PM com.apple.backupd[9623]: Failed to eject volume (null) (FSVolumeRefNum: 0; status: -35; dissenting pid: -1)
    1/2/13 9:26:50.178 PM com.apple.backupd[9623]: Failed to eject Time Machine disk image: /Volumes/TM Backups/iMac.sparsebundle
    So... looking through this, it does some mounting, which all works fine, then it does a create sparsebundle, which appears to work fine, but then it tries to "hide extension", but it can't because it can't find the sparsebundle that it supposedly created.  Then it tries three times to eject the NAS share ('TM Backups'), and fails, and gives up.  At this time I get the "error -1" pop up on my monitor, and check the NAS share (using the disk utility on the NAS managment page), and sure enough there is the sparsebundle "iMac.sparsebundle".  So why does it create it, but then not be able to use it? 
    Skiing tomorrow, must sleep now.  :-)

  • After syncing a replacement iPad for the first time, my apps have a "waiting " on the screen I can access them but not on opening screen

    After syncing a replacement iPad for the first time, my apps now have a"waiting" message . I can still access from settings but not on the opening app page

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Check your settings. The iPads have a small switch on the right edge. It can be used as a rotation lock to keep the screen from automatically reorienting itself as you move around, but you need to have the tablet’s settings configured properly. That same switch, right above the volume buttons, can also be set to function instead as a mute button to silence certain types of audio.
    If the switch is set to work as a mute button, you can change its purpose to “screen-rotation lock” by tapping the Settings icon on the home screen. On the Settings screen, tap General on the left side, and on the right side of the screen flick down to “Use Side Switch to.” Tap to select Lock Rotation or Mute to set the button’s function. Even if you set the side switch for your preferred use, you can still mute the Mini or lock the screen. Just double-click the Home button, and when the panel of apps appears along the bottom edge of the screen, flick the row from left to right with your finger. Tap the icon on the far left side of the row to either lock the iPad’s screen or mute the iPad’s alerts, notifications and sound effects. Music, podcasts and video are not muted unless you turn the volume all the way down.
    iPhone: Can't hear through the receiver or speakers
    http://support.apple.com/kb/ts1630http://support.apple.com/kb/ts1630
    http://www.atreks.com/app-no-sound-on-ipad-4-%E2%80%93-what-to-do/http://www.atreks.com/app-no-sound-on-ipad-4-%E2%80%93-what-to-do/
    To solve some sound problems, just follow these simple steps
    1. Go to Settings
    2. Tap on General
    3. Tap on Reset
    4. Tap on Reset All Settings
    You may need to delete the game app and redownload (you won't be charged).
     Cheers, Tom

  • WRT160N Useable as a switch/access point but not as an internet gateway?

    Greetings,
    Can anyone tell me if it is possible to use a
    WRT160N wireless N router as just a switch and wireless LAN access point and NOT as an internet Gateway?  I have a LAN that is not connected to the internet that uses a Linksys switch and I need to get a wireless access point setup so that I can attach a computer wirelessly to this LAN.    Occassionally I connect the swich to another router that does have internet access, but in general the LAN is not connected to the internet router.
    Thanks! 

    You can use WRT160N as a switch...Connect the LAN to the Ethernet port of the router and change the ip address of the linksys router in the range of the LAN ip.

  • WRT 54G conected to access point but not internet

    Hi There
    The wireless router is working an can get to the internet on PC
    My other PC see's the access point but
    will not connect to the internet
    Signal strengh andLink quality are good, looking at the
    PCI Linksys adapter box
    any thoughts?
    Thanks

    Whats the OS installed on your computer. In the system tray you will find the linksys monitor...right click on it and select "Use windiws XP configuration" ... once its done ... next to that you will find "Wireless Network Connection" icon ... Right click on it and select "View Available Wireless Network".... select your network... when prompted for "Network key" type in your security key and click on 'Connect' ... After this see if you are able to go online or not.

  • II've been looking for an app that allows me to send over 150 sms at a time. so far, all group apps that i've tried send the texts but not to all recepients. any ideas how to fix this?

    I have downloaded and tried a few group message apps to send sms text to over 150 group contacts. i created a group and have tried a few apps, but for some unknown reason the texts aren't received by all recipients. any idea how to deal with this?

    I have downloaded and tried a few group message apps to send sms text to over 150 group contacts. i created a group and have tried a few apps, but for some unknown reason the texts aren't received by all recipients. any idea how to deal with this?

  • My iPod Touch 4G connects to access point, but not the internet.

    I'm stuck for ideas, so any help is appreciated! I've gone through the troubleshooting guide, and none of that helped. I've reset my network settings, forgetting the specific network, resetting the router, resetting the iPod, restoring it to factory settings, upgrading to the latest firmware, and nothing has worked.
    Sometimes, if I forget the network and reset my iPod, it may (but not always) work for that session. Whenever I try again, I have to repeat this process and HOPE it works.
    I can't try on another network because that's not available to me and won't be for a while.
    This happened really randomly. Nothing changed, and it's driving me mad. Any help is appreciated a lot!

    Does it connect to the internet with other networks?
    - If so that indicates a problem with your router. Likely time for a new router.
    - If not that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • Trying to access website but it says Adobe Flash Player not installed

    www.caesars.com/thelinq  live webcam
    I have Windows 7, 64 bit with IE 1,0 32 bit.  Flash Player 11.9.900.170.
    Have been through the troubleshooting list several times but can't get this website to access Flash Player. FP seems to work everywhere else.   Any help would be appreciated!

    Apple has built-in malware protection in OS X. This malware protection was just updated by Apple to exclude all earlier versions of Adobe Flashplayer. The current version is 12.0.0.44.
    You should not be downloading Adobe Flash Player from anywhere but Adobe's official download site.
    Once you download it, it will go into your logindir/Downloads folder. Quit all browsers, and System Preferences (if it is open). Next to your Trash icon in the Dock is an alias to your Downloads folder. Click once, and the bottom item will be the just downloaded Flash Player installer. Single-click this installer. The Adobe Flash Player Installer will mount to your Desktop and open a window. Double-click on Install Adobe Flash Player. When done, right-click on the mounted Adobe Flash Player Installer Desktop icon and select Eject...
    In the future, use the Flash Player preference from System Preferences to update itself. Once the installer mounts on the Desktop, close System Preferences, or Flash preference panel will not get updated correctly.

  • I tried using Apple TV on a TV in another house. After connecting to the Wi-Fi, I can access iTunes but not my iTunes library. Any ideas how to fix?

    I can't stream from my iTunes when on another TV in a different house. Any solutions?

    Alley_Cat wrote:
    Actually it's quite a logical query when you think about it.  People are used to Slingbox type devices now.
    Without arguing about it, I don't think Slingbox works with iTunes material.  Regardless, it's a piece of hardware that I suspect has very few users due to the cost of the box and really, who needs TV garbage that much that you need to beam it to another location?  If streaming iTunes material over the internet were possible, I think a vast number of more people would be doing it and in doing so, would be "hogging" throughput. 
    *** you pointed out, most providers I've used limit uploading speed to less than 0.7Mbps . So, it would be a NO-GO right from the start.
    What amazes me about this thread is that someone would even think up the scenario.  Definitely thinking "outside the box".  Keep it up and you might come up with an idea that FaceBook will pay a billion for.

  • SQL query works in access 2000 but not through JDBC

    Hello to all as my first posted message, I have a bit of a pickle on my hands. I have a query which is critical to for my application to function.
    In Access 2000
    SELECT sb.SeatName
    FROM SeatBooking sb, Movie m, MovieSession ms, Booking b
    WHERE m.MovieId = ms.MovieId
    AND ms.MovieSessionId = b.MovieSessionId
    AND b.BookingId = sb.BookingId
    AND ms.DateOfSession = #2003/04/16 07:15:00 PM#;
    This query works fine. When I insert it into my code
    String query = "SELECT sb.SeatName \n" +
    "FROM SeatBooking sb, Movie m, MovieSession ms, Booking b \n" +
    "WHERE m.MovieId = ms.MovieId \n" +
    "AND ms.MovieSessionId = b.MovieSessionId \n" +
    "AND b.BookingId = sb.BookingId \n" +
    "AND ms.DateOfSession = #" +
    cp.getMovieSessionAt(i).getTrueTimeOfSession() + "#;";
    The last line of code returns #2003/04/16 07:15:00 PM#; Which is the exact same as in Access.
    To rule out some possibilities
    - there are other less complicated queries which access the same database but work fine. so my code seems to be ok
    - I have tried to use Format() on ms.DateOfSession to match the return value of the java statement (Which is a general date in Access in the format of 16/04/2003 7:15:00 PM)
    Any suggestions would be appreciated!

    Hi Simon,
    On my Windows XP system with J2SE SDK version 1.4.1_02 and Micro$oft Access 2002, I have the following table:
    column name    column type
    id             Number
    name           Text
    updated        Date/TimeUsing the JDBC-ODBC bridge driver (that is part of the J2SE distribution), the following code uses the JDBC "escape" syntax -- and it works.
    import java.sql.*;
    public class JdbcOdbc {
      public static void main(String[] args) {
        Connection dbConn = null;
        ResultSet rs = null;
        Statement stmt = null;
        String sql =
          "SELECT * FROM Table1 WHERE updated = {ts '2003-04-13 07:53:23'}";
        try {
          Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
          dbConn = DriverManager.getConnection("jdbc:odbc:db1");
          stmt = dbConn.createStatement();
          rs = stmt.executeQuery(sql);
          if (rs.next()) {
            System.out.println("id      = " + rs.getInt(1));
            System.out.println("name    = " + rs.getString(2));
            System.out.println("updated = " + rs.getTimestamp(3));
        catch (SQLException sqlEx) {
          System.err.println("Database operation failed.");
          sqlEx.printStackTrace();
        catch (ClassNotFoundException cnfEx) {
          System.err.println("JDBC driver class not found");
          cnfEx.printStackTrace();
        finally {
          if (rs != null) {
            try {
              rs.close();
            catch (SQLException sqlEx) {
              System.err.println("ERROR: Failed to close result set");
              sqlEx.printStackTrace();
          if (stmt != null) {
            try {
              stmt.close();
            catch (SQLException sqlEx) {
              System.err.println("ERROR: Failed to close statement");
              sqlEx.printStackTrace();
          if (dbConn != null) {
            try {
              dbConn.close();
            catch (SQLException sqlEx) {
              System.err.println("ERROR: Failed to close DB connection");
              sqlEx.printStackTrace();
    }More details about the JDBC escape syntax are available here:
    http://java.sun.com/j2se/1.4.1/docs/guide/jdbc/getstart/statement.html#999472
    Hope this helps you.
    Good Luck,
    Avi.

Maybe you are looking for

  • How to use oracle nlssort function in order by clause?

    If I need to use linguistic sort feature in Oracle, I can write a SQL like that: Select product_name from product order by NLSSORT(product_name, 'NLS_SORT=GENERIC_M'); How can I generate a SQL like this by Toplink?

  • Photoshop Elements 5.0 are not able to open Catalog.psa

    I have used Photoshop Elements for a while now, and have 13657 picture registered here. But for a few days ago, Photoshop Elemets freeze during startup. I tried to install Photoshop Elements 7.0 (trial version) and got a fault message when this tried

  • Flash Builder 4.6  differences between debug version and apk release version

    I've been struggling for several days now.  I have a simple swf file that just says 'hello world' on a green background. It is written in Flash 8 actionscript 2. I've used the Flash Builder  actionscript mobile project and flex mobile project in both

  • Load/download photos and videos from iMessage

    Hi! Is it possible to load/download all sent and received photos and videos from iMessage during the time, from for example one person? Thank you.

  • Page conscious PDF

    HELP! Does anybody know how to make PDFs which are "page conscious"? I need a system/program that would generate pdf documents which would include texts and photos. At the same time, they need to be sorted in a certain way, so that they will be pagin