Data weirdness

I've run into a very strange problem. I'm developing an app using SQLExpress using VC 2010. I also have SQL Management Studio installed. If I add information to the db with the application I am writing it shows up in vc2010 but not SQL Management Studio.
At first I thought I had 2 different SQLExpress instances on the machine, but that is not the case.
I first noticed the problem when doing a simple COUNT(*) on one of the tables. Got a different count from Management Studio than VC 2010. I shut down SQL Management Studio, then restarted it running it as Administrator. Ran the same Count(*) query again
and the counts matched between SQL Management studio and VC 2010. Shut it down, ran as a normal user again, did the same query and the counts again did not match. Run again as Administrator and the counts match.
That's not all.....I've since been running SQL Management Studio exclusively as Administrator and am now running into the same sort of problem. Records added and visible in VC 2010, but not visible in SQL Management Studio. I've sanity-checked myself with
Toad for SQL server.....it sees the same database with the same records as Visual Studio.
I've checked the disk and there is only one .mdf file corresponding to the database so I am totally at a loss with this. Googling was no help.
Anybody run into this before? Any clues?
Thanks in advance.

Hi bobulusk,
I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
Thank you for your understanding and support.
Regards,
Sofiya Li
Sofiya Li
TechNet Community Support

Similar Messages

  • Arch linux time and date weirdness

    A while back I unplugged my arch linux hard drive for a certain reason, and that froze the time on it, so I had to reset the time when i booted it back up.  Now, whenever I boot up I get an error message about "the last session is in the future" and I can't boot.  I adjusted the bios clock to a few months a ahead and that fixed it, but of course that's not a permanent solution.  because of this time error some secure sites like gmail and my online banking site are inaccessible because of invalid certificates.
    How do i fix this problem?

    k_ibou wrote:
    when you receive that message you will be prompt to enter you root password to solve the problem. And it give you the command.
    So I recommend you:
    1)  to set up the bios with the right date and hour.
    2) boot to archlinux and do as I said above. You must read carefully the text, you will see a comand.
    3) If you have more than one partition if probably that you must do it again for the partition that is set in future. Just copy the command and change / for that you need to repair.
    4) when you boot to your DE do this in console: # date --set "Y/M/D h:m"
    I think with that should be ok, you can check your rc.conf in the option of hardwareclock
    I tried both k_ibou's and Mardoct's solutions and neither worked.  I still get the the "...in the future" error upon booting.  I also tried one other solution, but apparently hwclock is not the same as BIOS clock.  I need to boot into Arch with the CORRECT time in the BIOS, so that I don't get that "future" error when I reboot.  I saw no command outside of "mount -o -n remount,rw /", which doesn't seem to actually do anything.

  • I'm trying to resolve a battery usage problem

    I'm trying to resolve a battery usage problem on my iPhone 5S ...
    Have been working with an Apple agent via chat and I'm 99% certain it's a software problem, but I can't isolate wish software ...
    So, I'm going to set up my iPhone up as new (when I did this as part of identifying where the problem is, it help its charge for 24 hours) but I have a problem with photos ...
    I can see photos on my iPhone (restored from an iCloud backup) up to date, but on my iMac/iPhoto with my iPhone attached i) I can only see photos on my iPhone up to a date in the past (mid October 2014) and ii) iPhoto says all photos have already been imported ...
    How can I (can I) get the more recent photos onto my iMac e.g. into a folder and then import them from there into iPhoto?
    Also, why is the restore from an iCloud backup taking so long (it's been 14 hours now) when I'm pretty certain everything's now there that should be?

    Just to add ... my real problem is that I can see photos on my iPhone, but in iPhoto with the iPhone connected, I can only see photos up to a certain date - weird?!!!

  • E90 connection to Ford Galaxy

    When we try to connect our E90 Communicators to the new Ford Galaxy company car, all the contacts are transferred and the phone comes up on the screen, but when we try to make or receive calls in doesn't come through the speakers. I have tried my old N95 handset and that works perfectly. Can somebody help? We have deleted the profiles and bluetooth settings. We have put all settings back to factory settings and yet still nothing happens. My N95 worked first time with no changes to settings.
    Thanks, in advance

    hi. Try http://www.ford-mobile-connectivity.com/home
    Sorry, it doesn't help, just lets you know you're not mad. Shows that up to wk 36 2008 the E90 and my N96 worked ok, but on cars made after wk 36 2008 neither phones are fully functional and likely to drop out or fail to connect.
    though the N95 works bothsides of that date, Weird.
    keep pushing Ford to update thier software

  • Can't purchase, no secure connection

    Seems like I am not the only one with trouble. I have made no changes either to anything and for the last two days I am unable to purchase music. I get a window that says "no secure connection, try updating your time and date". weird.

    Did you get one of the error codes mentioned here?
    iTunes: Music Store - Incorrect Date on Mac May Cause -9800, -9815, or -9814 Error
    M
    17' iMac fp 800 MHz 768 MB RAM   Mac OS X (10.3.9)   Several ext. HD (backup and data)

  • Crystal Report Viewer 2008, postback causes a weird QueryString for dates

    HI,
    I'm having a weird problem that was masked with the error "".
    What is happening to me is that i have an ASPX page where the QueryString passed in is used as parameters to the report (straightforward).  When the page first loads, this is all fine the QuerySTring is properly parsed and the report is properly displayed.  Now, the problem comes when i click on the PRINT Button it performs a postback, and during that postback the querystring is read so that it can rebuild the report on the postback.  (In previous versions of crystal, this has always worked).  The issue here is that the version 12 of the report viewer here now appears to also append some information to the query string that was not previously there (like this:  ServletTask=Print&cmd=get_pg&page=1)  So the problem here for me is this is what my original QueryString looks like:
    tokenid=b2817081-6b52-43c7-8e2c-d6209af2ed98&Type=Appointment&Val=12%3b1%3b1%3b06%2f10%2f2000
    THat query string is generated by the following code (pre-encoded)
    "PrintPage.aspx?tokenid=" & Guid.NewGuid.ToString & "&Type=Appointment&Val=" & "12" & ";" & "1" & ";" & "1" & ";" & "1/1/2000"  (NOTE the date here, i'll get to that in a second)
    Then, what the problem is on the postback the Query String looks like this:
    tokenid=2a4f42de-bd90-48b5-ac82-bd34b503afd3&Type=Appointment&Type=Appointment&Val=12%3b1%3b1%3b1%2f1%2fPrintPage.aspx%3ftokenid%3d2a4f42de-bd90-48b5-ac82-bd34b503afd3&Val=12%3b1%3b1%3b1%2f1%2f2000&ServletTask=Print&cmd=get_pg&page=1
    As you can see here it's all messed up.
    So, what i found here is that the underlying cause is that we are passing a "date" in the original QueryString and it seems on the postback the Crystal Reports Viewer is having some issue with that and basically messes up the query string...
    I have Crystal Reports 2008/SP3 installed.
    Any help would be greatly appreciated.
    Thanks

    Cleaning up these forums I came across this unanswered thread.
    Very weird behavior that I have seen maybe 3 or 4 years ago - I think it was with opendocument.aspx...
    In this case, we appear to be re-adding the querystring with the aspx name and question mark (u2026.parentagesu2026).  Having two question marks (%3f) is essentially a malformed URL since this indicates where the querystring starts.
    The duplicate querystring may have been a coding error(?) where it gets added again on a postback.
    Were you able to resolve the issue?
    Ludek

  • My Mac refuses to open certain pages e.g. google/facebook for a weird reason "Your flash player may be out of date and you need to update it", but my flash player is up to date.

    My Mac refuses to open certain pages e.g. google/facebook for a weird reason "Your flash player may be out of date and you need to update it", but my flash player is up to date. I tried to install a new flash player version "setup.exe" but it said the file cannot be opened because the application is not supported on MAC OS X, does anyone have same problem? please help.
    Thanks

    i dont use google chrome,

  • My trash bin has one item that refuses to be deleted. Under name, it says, 0. date; dec. 31, 1903. size; 0 kb. I have no idea where it came from. When I click, info. the info. window starts to appear, then goes away. Weird or what? Hope someone can help?

    my trash bin has one item that refuses to be deleted. Under name, it says, 0. date; dec. 31, 1903. size; 0 kb. I have no idea where it came from. When I click, info. the info. window starts to appear, then goes away. Weird or what? Hope someone can help?

    sorry i forgot that... i use php5 so i guessed at the module name... upon looking closer at the conf its mod_php4.c
    <pre>
    <IfModule mod_php4.c>
    AddType application/x-httpd-php .php
    </IfModule>
    </pre>

  • Weird "date change" glitch...?

    I had a bunch of pictures with the wrong dates, but only off by a couple of days... so, thinking I was smart I tried to "merge" the events. Obviously, that didn't change the dates.
    So, in the new events I tried to select all the pics and changed the date. Only, it didn't work. The change actually PUSHED or PULLED the dates by a set number of days, based (I guess) in the first photo in the event) so only a couple of the pictures ended up with the correct date. Very weird.
    I've used both "change date and time" and "batch change"... but still the same result.
    This makes no sense... and is really frustrating. Any ideas?
    tia,
    e

    So, in the new events I tried to select all the pics and changed the date. Only, it didn't work.
    Of course it worked - you said to change the date on all the photos and it did
    What you want to do is select the photos with the incorrect dates and (assuming that they all or off by the same amount) use the adjust date and time command in the iPhoto Photo menu - it will modify the dates for the selected photos by the delta between the first photo's date and time and the new one you select.
    Batch change either sets all selected photos to the exact date and time or sets the first one to the selected date and time and then adds a fixed increment to that for each successive photo depending on the option you choose
    LN

  • Weird Date Problem in SQL Query

    Dear Members,
    Iam using the following query:
    SQL>select api.attribute2 PO_NO,
    substr(api.attribute4, 10, 5) REL_NO,
    api.invoice_num,
    SUM(T.ACCOUNTED_DR) DR,
    SUM(T.ACCOUNTED_CR) CR
    from gl.gl_je_lines t, GL_CODE_COMBINATIONS GCC, ap_invoices_all api
    WHERE T.SET_OF_BOOKS_ID IN (7)
    AND TO_DATE(TO_DATE(t.PERIOD_NAME, 'MON-YY'), 'DD-MON-YY') =
    TO_DATE(TO_DATE('&P_PERIOD_FROM', 'MON-YY'), 'DD-MON-YY')
    AND TO_DATE(TO_DATE(t.PERIOD_NAME, 'MON-YY'), 'DD-MON-YY') <=
    TO_DATE(TO_DATE('&P_PERIOD_TO', 'MON-YY'), 'DD-MON-YY')
    AND T.CODE_COMBINATION_ID = GCC.CODE_COMBINATION_ID
    AND GCC.SEGMENT5 = '&P_ACCOUNT'
    and t.reference_2 = api.invoice_id
    GROUP BY api.attribute2, substr(api.attribute4, 10, 5), api.invoice_num
    order by api.attribute2, substr(api.attribute4, 10, 5), api.invoice_num
    In the above query iam giving two types of parameters:
    Type1:
    Account:=17400650
    P_PERIOD_FROM:='JAN-07'
    P_PERIOD_to:='DEC-07'
    For the above type of parameters the query is running fine and giving desired results.
    Type2:
    Account:=36210040
    P_PERIOD_FROM:='JAN-07'
    P_PERIOD_to:='DEC-07'
    For the above type of parameters it is giving me the error: ora-01843 not a valid month_
    Can any one please tell me what is the reason for this weird problem.
    Your inputs will be of great help to me.
    Thanks in advance.
    Best Regards,
    Arun Reddy

    Please review Note:338832.1
    How to debug ORA-01843: not a valid month, ORA-01821: date format not recognized, ORA-1801

  • T410 - weird S.M.A.R.T. data - Hard drive failing?

    Hello,
    when I chcked S.M.A.R.T. attribtues of my hard drive (Seagate ST9500420AS) with smartctl (popular S.M.A.R.T. reporting tool used in Linux), I got results like this
    === START OF INFORMATION SECTION ===
    Model Family:     Seagate Momentus 7200.4 series
    Device Model:     ST9500420AS
    Serial Number:    (...)
    Firmware Version: 0003LVM1
    User Capacity:    500,107,862,016 bytes
    Device is:        In smartctl database [for details use: -P show]
    ATA Version is:   8
    ATA Standard is:  ATA-8-ACS revision 4
    Local Time is:    Sat May 14 17:42:20 2011 UTC
    SMART support is: Available - device has SMART capability.
    SMART support is: Enabled
    === START OF READ SMART DATA SECTION ===
    SMART overall-health self-assessment test result: PASSED
    (smart capability info cut to save space)
    SMART Attributes Data Structure revision number: 10
    Vendor Specific SMART Attributes with Thresholds:
    ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
      1 Raw_Read_Error_Rate     0x000f   114   099   034    Pre-fail  Always       -       63705793
      3 Spin_Up_Time            0x0003   100   100   000    Pre-fail  Always       -       0
      4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       74
      5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       0
      7 Seek_Error_Rate         0x000f   065   060   030    Pre-fail  Always       -       3607676
      9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       130442451746921
     10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
     12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       73
    184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
    187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
    188 Command_Timeout         0x0032   100   098   000    Old_age   Always       -       14
    189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
    190 Airflow_Temperature_Cel 0x0022   062   053   045    Old_age   Always       -       38 (Lifetime Min/Max 37/38)
    191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       1
    192 Power-Off_Retract_Count 0x0032   098   098   000    Old_age   Always       -       5565
    193 Load_Cycle_Count        0x0032   097   097   000    Old_age   Always       -       7443
    194 Temperature_Celsius     0x0022   038   047   000    Old_age   Always       -       38 (0 17 0 0)
    195 Hardware_ECC_Recovered  0x001a   051   043   000    Old_age   Always       -       63705793
    196 Reallocated_Event_Count 0x000f   100   100   030    Pre-fail  Always       -       40 (3679, 0)
    197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
    198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
    199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
    254 Free_Fall_Sensor        0x0032   100   100   000    Old_age   Always       -       0
    SMART Error Log Version: 1
    No Errors Logged
    SMART Self-test log structure revision number 1
    Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
    # 1  Short offline       Completed without error       00%       102         -
    # 2  Vendor offline      Completed without error       00%         0         
    The attribute Reallocated_Event_Count is the one which worries me. As You can see the value is non-zero and is still increasing. Does it mean that my hard drive is gaining more and more reallocated sectors due to some surdace problem? I wonder if smartctl is parsing the data in the right way. Is it possible that hard drives shipped by Lenovo as a part of ThinkPad use non-standard firmware and write some value unrelated to reallocation events.
    GSmartMon utiliy (a Linux graphical front-end for smartmon/smartctl) parses this value as alarming, S.M.A.R.T. applications for Windows give ambiguous advices - some say my hard drive is failing, some say it doesn't.
    The basic question is - is my hard drive starting to fail or weird value of mentioned attribute is some non-standard feature added by laptop manufacturer?

    Backup was the first thing that I did So... Your opinion seems to support my concerns about this drive. In addition - trial version of HD Tune Pro parses mentioned S.M.A.R.T. data as "warning".
    I'm wondering why Reallocated_Sector_Ctvalue is not growing at all? Failed reallocaton attempts?

  • Weird SSRS Format Date Output in Matrix report Header

    For one of my Matrix reports, the column headers are Dates which I am trying to format in the form of 'Mon 07' i.e. short date name followed by date value.
    For this I am using the expression - =Format(CDate(Fields!WorkedOnDate.Value),"ddd") I then wanted to trim the right 3 letters.
    I am getting weird output. Here is what I am getting for one week- Tue, We2, T12u,ri,SaA,Sun,7on
    Any idea what is going wrong? This was asked in this link but that answer didn't help - The
    date formats do not seem to work in SSRS
    Regards,
    Karthik
    Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread.

    Hey Visakh, I realize my mistake now. I was adding the expression as part of Number-> Format property of text box instead of directly on the text box property. Thank you.
    Regards,
    Karthik
    Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread.

  • Date handling weirdness in SQLServer hsodbc

    Folks, I am getting some weird stuff happening while using hsodbc for sqlserver, pulling from a view, with sqlserver columns of type datetime.
    Using sqlserver tools I can see that the source data in some instances is for year 1900 (default) and in other cases year 2100 (our future enddate). In both of these cases though a very simple mapping to store the data in Oracle results in getting the year 2000 for both of them. What are my options? What is the reason for this condition?
    Thanks in advance.
    Regards,
    ak

    Could be related to the NLS_DATE_FORMAT setting.
    Just inserted dates with year 1900 and 2100 into a SQL Server demo table.
    At the ODBC driver manager make sure MS SQL Server ODBC driver does NOT have the use regional setting for outputting currency, numbers, dates and times checked.
    SQL> alter session set nls_date_format='dd.mm.yyyy';
    SQL> select * from "datetest"@sqlserver where "col1" < to_date('10.02.2005','dd.mm.yyyy');
    col1
    30.01.1900
    10.01.1900
    10.12.1900
    SQL> select * from "datetest"@sqlserver where "col1" > to_date('10.02.2008','dd.mm.yyyy');
    col1
    10.02.2100
    10.01.2100
    30.01.2100
    BUT:
    SQL> alter session set nls_date_format='dd-mon-rr';
    Session altered.
    SQL> select * from "datetest"@sqlserver where "col1" > to_date('10.02.2008','dd.mm.yyyy');
    col1
    10-feb-00
    10-jan-00
    30-jan-00
    SQL> select * from "datetest"@sqlserver where "col1" < to_date('10.02.2005','dd.mm.yyyy');
    col1
    30-jan-00
    10-jan-00
    10-dec-00
    So please make sure the NLS_DATE_FORMAT is properly set AND the option in the ODBC driver is unchecked.
    A couple of issues are also mentioned in:
    Article-ID: Note 69029.1
    Title: Implicit DATE Conversions - Issues to be aware of

  • Weird data reached in text files

    Hi all,
    I am seeking for some opinions about a problem I encouter in an
    experiment. I would very much appreciate your thoughts. There are the
    well-known programs in the Example Finder:
    1. Write binary file - which takes inputs from a sinus wave generator.
    2. Cont Acq& Graph Voltage - which in my case takes the input from a channel of a DAQ NI 6255
    So with these two I get two binary files from which I want to extract the information by means of a conversion to a text file.
    When I convert the bin files to text, I use the same VI program (which
    I attached) to do that. The conversion for the 1st VI looks as
    expected, but for the 2nd is really weird!.
    For the data in the 1st text file see textFile.txt file attached.(One would get the same result if it runs the VI):
    For the data in the second text file, see textmydaq2.txt file
    attached.(The data should normally record values ranging from 4.XX to
    8.XX):
    Should I constraint the data with some data format to avoid such strange values? Or is it something else I should do?
    Thank you very much for any kind of support.
    Dana
    Attachments:
    myRead Binary File8.vi ‏28 KB

    I can see there is a problem for the server to upload maybe other files(like txt files) different than VIs.
    As I cannot attach the txt files, I will provide you with samples:
    Here is a sample for the 1st text file(One would get the same result if it runs the VI):
    0.00    376.74    752.00    1124.29    1492.14    1854.10    2208.75    2554.68    2890.52    3214.96    3526.71    3824.54    4107.28    4373.81    4623.08    4854.10    5065.97    5257.84    5428.96    5578.66    5706.34    5811.50    5893.72    5952.69    5988.16    6000.00    5988.16  
    Here is the result in the second text file(The data should normally record values ranging from 4.XX to 8.XX):
    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    73333305348950320900000000000000000000000000000000000000000000000000000000000000000000000000.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    633318785695744.00    0.00    0.00    0.00    9663677760.25    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  
    Best!
    Dana

  • Date of film roll is weird when using the camera connector

    I use my 60GB iPod Video also as backup disk for photos when shooting abroad. Everything works fine except one thing: althoug the date/time of camera, iPod and Mac Mini is set properly, the imported film roll shows in iPhoto always the same date/time: 2001-01-01, 00:00. The date/time of the photos is - weird enough - ok.
    I can correct that manually but it seems to be a bug. Is there a workaround to fix that?

    Okay I just solved the problem myself..
    For anyone that may have the same issue:
    The microphone used when recording video, is the little dot next to the jack on top of the iPhone 4S (maybe also iPhone 4, don't know). There was some dirt in this tiny little hole, and I simply just removed it with a very thin needle, and now it works great!

Maybe you are looking for