Sign Up |  Live StatsLive Stats    Articles 34,880| Comments 154,875| Members 17,231, Newest 1stmanjeet| Online 279
Home Contact
 (Forgotten?): 
    Sikhism

   
                                                                     Your Banner Here!    

 
 
  
  
Sikh Philosophy Network » Members Lounge » Information Technology » Re: Continuous corruption of database

Re: Continuous corruption of database

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 400 USD, Received: 25 USD (6%)
Please Donate...
Related Topics...
Thread Thread Starter Forum Replies Last Post
Database corruption problem advance scout Information Technology 9 28-Jul-2006 08:27 AM
Database corruption steve p Information Technology 1 28-Jul-2006 08:18 AM
line# in continuous subform whitesnow Information Technology 1 28-Jul-2006 08:17 AM
Database corruption Network or Program? Jody K Information Technology 5 28-Jul-2006 08:16 AM
Help: database corruption Veli Izzet Information Technology 3 30-Oct-2005 12:47 PM


Tags
continuous, corruption, database
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 02-Nov-2005, 11:47 AM
Keeler's Avatar Keeler
Guest
 
Posts: n/a
   
   
Re: Continuous corruption of database

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
Hi Tom,
I'm back, unfortunately without happy results. I'm about at my wits ends
with this database and am very frustrated. I've tried about everything and
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/6352-re-continuous-corruption-of-database.html
it's still getting corrupted. My latest attemps have been that I've had one
desktop reimaged back to original thinking it could be a corrupted OS file
that was causing the mouse to corrupt the database. I thought maybe a
wireless laptop was disconnecting from the network and causing the database
to corrupt. I hardwired the laptop and it still got corrupted. This morning
I created a new database from scratch AGAIN and imported in the files as you
suggested earlier. This time I did not bring the main data back into it, I
only imported the structure, thinking that old data may be causing a problem.
I then did the best I could to follow your latest instructions. History on
this database, this was not my original database in the beginning, but I took
the original tables and created my own forms, queres, reports, macros, etc.
so I'm not sure if it was created in Access 97 or not. Data goes back to
2003, that's all I know. Because of that, I did your instructions on adding
the DAO 3.6 to the VBE. I got a little lost with your instructions from that
point. I couldn't compile the code, the selection seemed grayed out. I also
don't have any modules, so I think your suggestion on adding Option Explicit
doesn't fit for my situation. As for the Uniform Naming Convention, I'm just
pointing to the BE using the linking in Access, I do not have drive letters
hard coded. I did not make the front end a .mde file. I don't feel real
confident, after everything else I've done, that this will make the
difference for me.

Again, I'm very frustrated and am about to tell them to go back to paper and
pencil because this database going down once a day is making me look real bad
right about now and they're getting frustrated with the system and as a
result, me. Any other suggestions to try would be greatly appreciated. I
really don't know where to go from here with the exception of punting.
Should I start messing with the record locking? I currently have it set to
the defaults. Thanks.

"Tom Wickerath" wrote:

> Hi Keeler,
>
> > The only part I didn't get was the "set the checked references to match
> > the source database". I guessed that you were referring to me pointing
> > the front end back to the back end, but am not positive.

>
> No, that part would have been covered with the statement "Recreate any
> linked tables from scratch." Remember, I gave general instructions for an
> *unsplit* database. You shouldn't need to worry about any references for the
> back-end (BE) database. Setting the checked references to match the source
> database is applicable to the front-end (FE) database only. You use ALT F11
> to open the Visual Basic Editor (VBE). While in the VBE, you click on Tools >
> References. This should reveal a list of checked library references. The best
> thing to do is to set the same order, or priority, of the references. The
> reason I say this is that it is very common for me to find code that uses
> ambiguous declarations. For more on this topic, please refer to the link
> shown below:
>
> ADO and DAO Library References in Access Databases
> http://www.access.qbuilt.com/html/gem_tips1.html
>
> After verifying that the checked references match the source database, you
> should attempt to compile the code in the new database, using Debug > Compile
> ProjectName.
>
> A couple of points that I missed:
> 1.) If you are missing Option Explicit as the second line of code in your
> modules, then you should add this one module at a time. Do a Debug > Compile
> each time you add this statement, and fix any compile errors that result
> before moving on to the next module. For more information on this, please see
> the following link:
>
> Always Use Option Explicit
> http://www.access.qbuilt.com/html/ge...tml#VBEOptions
>
> 2.) When linking tables in a multi-user database, it is best to use the UNC
> (Uniform Naming Convention) path to the BE database, instead of using a path
> that includes a mapped drive letter. UNC paths look like this: \\Server\Share
>
> 3.) Create a .mde version of your FE database prior to distributing it to
> your users. Make sure to retain the .mdb version of the database, because
> that's what you'll need to make any design changes to forms, reports or
> modules in the FE. If you have problems creating an .mde, please see the
> following link:
>
> Cannot make .MDE
> http://www.access.qbuilt.com/html/co...#CannotMakeMDE
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=6352
>
> Note that there is no need to convert the BE database to a .mde format. This
> doesn't buy you anything.
>
> Good Luck, and please do report your results back.
>
> Tom
>
> http://www.access.qbuilt.com/html/ex...tributors.html
> __________________________________________
>
> "Keeler" wrote:
>
> Tom,
> Thanks for the input, it was very useful. I was able to get everyone off
> the system and did it last night, so I will write back what the results are
> after a week. The only part I didn't get was the "set the checked references
> to match the source database". I guessed that you were referring to me
> pointing the front end back to the back end, but am not positive. Thanks
> again for your help, I hope this does it.






 
Do share your immediate thoughts or reactions on this issue? We value your views! Login Now! or Sign Up Today! to share your views with us.. Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-Nov-2005, 11:47 AM
Tom Wickerath's Avatar Tom Wickerath
Guest
 
Posts: n/a
   
   
Re: Continuous corruption of database

Hi Jeff,

> I've tried about everything and it's still getting corrupted.

Have you looked into possible hardware issues. The last part of the reply I
wrote on 10/14 includes the following:

"If corruption continues, especially from one individual, then it's time to
start checking out their personal practices (ie. proper exiting of the DB),
along with thier hardware. They may have a bad network interface card, or
some other problem in the network (network cable, router, etc.)."

Is the file server on a UPS (Uninterruptable Power Supply)? If you are in
an industrial environment, with motors that draw a lot of current when they
start, you could be getting voltage line sags that are enough to account for
this type of corruption. This would apply to your users as well. I know of
one case where a PC was plugged into the same circuit as a vending machine.
The database would get corrupted every time break time came around. As
employees were purchasing cans of pop from the vending machine, the voltage
sagged just enough to cause corruption in the JET database.

> I thought maybe a wireless laptop was disconnecting from the network
> and causing the database to corrupt.

You need to ask, beg, demand, etc. that people *never* open your database
with a wireless connection. This is an inherantly unstable setup. JET
databases are just not suitable in such an environment. If your users insist
on using wireless connectivity, then you need to insist on migrating the BE
database to SQL Server.

> I hardwired the laptop and it still got corrupted.

It might have already been corrupted from the wireless activity.

> I couldn't compile the code, the selection seemed grayed out. I also
> don't have any modules, so I think your suggestion on adding Option Explicit
> doesn't fit for my situation.

The selection will be greyed out if the code is already compiled. Are you
sure that you have absolutely no code behind any forms and reports? If you,
or someone previous, ever used the command button wizard to add a command
button to a form, then you more than likely have some VBA code in your
project. Create a new stand-alone module. While in the VBE (Visual Basic
Editor) environment, click on View > Project Explorer. Do you see any forms
or reports displayed? If so, these forms and reports have code modules
associated with them. They may very well be empty modules, in which case they
can be deleted.

> As for the Uniform Naming Convention, I'm just pointing to the BE using
> the linking in Access, I do not have drive letters hard coded.

The linked table manager uses hard-coded drive letters unless you navigate
through My Network Places. If you click on Tools > Database Utilities >
Linked Table Manager, and you see a drive letter specified at the beginning
of the path, then you are indeed using hard-coded drive letters.

> Should I start messing with the record locking?

Not at this time. I would solve the corruption problem first.

If you can compact and zip a copy of your front-end and back-end files, and
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=6352
send them to me, I will take a look at them for you. A slightly obfuscated
form of my e-mail address is shown below. It should have 18 characters total,
after you remove the indicated characters. Whatever you do, please do not
post your real e-mail address to any newsgroup message.


Tom
QWaos168@XScom cast. Dnet (<--Remove all capitalized letters and spaces).
http://www.access.qbuilt.com/html/ex...tributors.html
__________________________________________

"Keeler" wrote:

Hi Tom,
I'm back, unfortunately without happy results. I'm about at my wits ends
with this database and am very frustrated. I've tried about everything and
it's still getting corrupted. My latest attemps have been that I've had one
desktop reimaged back to original thinking it could be a corrupted OS file
that was causing the mouse to corrupt the database. I thought maybe a
wireless laptop was disconnecting from the network and causing the database
to corrupt. I hardwired the laptop and it still got corrupted. This morning
I created a new database from scratch AGAIN and imported in the files as you
suggested earlier. This time I did not bring the main data back into it, I
only imported the structure, thinking that old data may be causing a problem.
I then did the best I could to follow your latest instructions. History on
this database, this was not my original database in the beginning, but I took
the original tables and created my own forms, queres, reports, macros, etc.
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=6352
so I'm not sure if it was created in Access 97 or not. Data goes back to
2003, that's all I know. Because of that, I did your instructions on adding
the DAO 3.6 to the VBE. I got a little lost with your instructions from that
point. I couldn't compile the code, the selection seemed grayed out. I also
don't have any modules, so I think your suggestion on adding Option Explicit
doesn't fit for my situation. As for the Uniform Naming Convention, I'm just
pointing to the BE using the linking in Access, I do not have drive letters
hard coded. I did not make the front end a .mde file. I don't feel real
confident, after everything else I've done, that this will make the
difference for me.

Again, I'm very frustrated and am about to tell them to go back to paper and
pencil because this database going down once a day is making me look real bad
right about now and they're getting frustrated with the system and as a
result, me. Any other suggestions to try would be greatly appreciated. I
really don't know where to go from here with the exception of punting.
Should I start messing with the record locking? I currently have it set to
the defaults. Thanks.

Reply With Quote
  #3 (permalink)  
Old 02-Nov-2005, 11:47 AM
Keeler's Avatar Keeler
Guest
 
Posts: n/a
   
   
Re: Continuous corruption of database

  Donate Today!  
Tom,
Your advice has been wonderful and I greatly appreciate you sticking with me
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=6352
on this. I will work on sending you an e-mail later with the database.
Thank you for that offer, you've gone above and beyond with your help. I
need to clean up the data a little bit because I work in a hospital and due
to HIPAA regulations, I'll need to get out the patient information before
sending it to you.

It's hard to tell if it's one PC that is causing the problem. When it goes
down, it goes down for all. I've reimage one potential problem PC and today
I'm cutting them off completely and am having them go back to paper for a few
days to see if it makes a difference.

Because I work in a large hospital, yes, the servers are on UPS. There are
no laptops on wireless right now. After I hardwired the laptop, I created a
new database and didn't import in any data (I am archiving all old and
starting a new one from this day on), so the wireless would not have
corrupted the database.

Since we were strictly working on the BE, I assumed that was the part that
you wanted compiled. I just ran it on the front end and it had one error,
but it was in code that wasn't being used, it was from the old program and I
eliminated those fields.

Got another corruption after I made all the changes this morning and wrote
the last e-mail. I have since cut off a main user and seeing if that
eliminates the corruption. Thanks Tom, I'll work on getting you the file
next.

Keeler

"Tom Wickerath" wrote:

> Hi Jeff,
>
> > I've tried about everything and it's still getting corrupted.

Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=6352
> Have you looked into possible hardware issues. The last part of the reply I
> wrote on 10/14 includes the following:
>
> "If corruption continues, especially from one individual, then it's time to
> start checking out their personal practices (ie. proper exiting of the DB),
> along with thier hardware. They may have a bad network interface card, or
> some other problem in the network (network cable, router, etc.)."
>
> Is the file server on a UPS (Uninterruptable Power Supply)? If you are in
> an industrial environment, with motors that draw a lot of current when they
> start, you could be getting voltage line sags that are enough to account for
> this type of corruption. This would apply to your users as well. I know of
> one case where a PC was plugged into the same circuit as a vending machine.
> The database would get corrupted every time break time came around. As
> employees were purchasing cans of pop from the vending machine, the voltage
> sagged just enough to cause corruption in the JET database.
>
> > I thought maybe a wireless laptop was disconnecting from the network
> > and causing the database to corrupt.

> You need to ask, beg, demand, etc. that people *never* open your database
> with a wireless connection. This is an inherantly unstable setup. JET
> databases are just not suitable in such an environment. If your users insist
> on using wireless connectivity, then you need to insist on migrating the BE
> database to SQL Server.
>
> > I hardwired the laptop and it still got corrupted.

> It might have already been corrupted from the wireless activity.
>
> > I couldn't compile the code, the selection seemed grayed out. I also
> > don't have any modules, so I think your suggestion on adding Option Explicit
> > doesn't fit for my situation.

> The selection will be greyed out if the code is already compiled. Are you
> sure that you have absolutely no code behind any forms and reports? If you,
> or someone previous, ever used the command button wizard to add a command
> button to a form, then you more than likely have some VBA code in your
> project. Create a new stand-alone module. While in the VBE (Visual Basic
> Editor) environment, click on View > Project Explorer. Do you see any forms
> or reports displayed? If so, these forms and reports have code modules
> associated with them. They may very well be empty modules, in which case they
> can be deleted.
>
> > As for the Uniform Naming Convention, I'm just pointing to the BE using
> > the linking in Access, I do not have drive letters hard coded.

> The linked table manager uses hard-coded drive letters unless you navigate
> through My Network Places. If you click on Tools > Database Utilities >
> Linked Table Manager, and you see a drive letter specified at the beginning
> of the path, then you are indeed using hard-coded drive letters.
>
> > Should I start messing with the record locking?

> Not at this time. I would solve the corruption problem first.
>
> If you can compact and zip a copy of your front-end and back-end files, and
> send them to me, I will take a look at them for you. A slightly obfuscated
> form of my e-mail address is shown below. It should have 18 characters total,
> after you remove the indicated characters. Whatever you do, please do not
> post your real e-mail address to any newsgroup message.
>
>
> Tom
> QWaos168@XScom cast. Dnet (<--Remove all capitalized letters and spaces).
> http://www.access.qbuilt.com/html/ex...tributors.html
> __________________________________________
>
> "Keeler" wrote:
>
> Hi Tom,
> I'm back, unfortunately without happy results. I'm about at my wits ends
> with this database and am very frustrated. I've tried about everything and
> it's still getting corrupted. My latest attemps have been that I've had one
> desktop reimaged back to original thinking it could be a corrupted OS file
> that was causing the mouse to corrupt the database. I thought maybe a
> wireless laptop was disconnecting from the network and causing the database
> to corrupt. I hardwired the laptop and it still got corrupted. This morning
> I created a new database from scratch AGAIN and imported in the files as you
> suggested earlier. This time I did not bring the main data back into it, I
> only imported the structure, thinking that old data may be causing a problem.
> I then did the best I could to follow your latest instructions. History on
> this database, this was not my original database in the beginning, but I took
> the original tables and created my own forms, queres, reports, macros, etc.
> so I'm not sure if it was created in Access 97 or not. Data goes back to
> 2003, that's all I know. Because of that, I did your instructions on adding
> the DAO 3.6 to the VBE. I got a little lost with your instructions from that
> point. I couldn't compile the code, the selection seemed grayed out. I also
> don't have any modules, so I think your suggestion on adding Option Explicit
> doesn't fit for my situation. As for the Uniform Naming Convention, I'm just
> pointing to the BE using the linking in Access, I do not have drive letters
> hard coded. I did not make the front end a .mde file. I don't feel real
> confident, after everything else I've done, that this will make the
> difference for me.
>
> Again, I'm very frustrated and am about to tell them to go back to paper and
> pencil because this database going down once a day is making me look real bad
> right about now and they're getting frustrated with the system and as a
> result, me. Any other suggestions to try would be greatly appreciated. I
> really don't know where to go from here with the exception of punting.
> Should I start messing with the record locking? I currently have it set to
> the defaults. Thanks.
>

Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Gurbani Jukebox
Listen to Gurbani while surfing SPN!
» Recent Discussions
sikhism Benti Chaupai - Keertan...
Today 14:06 PM
18 Replies, 283 Views
sikhism Undercover Mosque
Today 13:14 PM
1 Replies, 57 Views
sikhism Eighteen Super-Natural...
Today 13:11 PM
31 Replies, 3,474 Views
sikhism Mysticism In Religion:...
Today 12:57 PM
3 Replies, 1,002 Views
sikhism What Prayer Does to Your...
Today 12:21 PM
3 Replies, 281 Views
sikhism Four Steps To God
Today 12:11 PM
2 Replies, 236 Views
sikhism Fools Who Wrangle Over...
Today 11:46 AM
917 Replies, 77,948 Views
sikhism Incidental Happiness...
Today 10:24 AM
1 Replies, 80 Views
sikhism Meditate - How, What,...
Today 08:30 AM
41 Replies, 1,193 Views
sikhism Are Nihangs: A Legacy...
Today 08:12 AM
15 Replies, 271 Views
sikhism Sukhmani Sahib Astpadi 8...
Today 06:38 AM
0 Replies, 28 Views
sikhism Is Hindu/Sikh a Valid...
Today 02:20 AM
82 Replies, 1,483 Views
sikhism Amazing truth!
Yesterday 22:20 PM
0 Replies, 74 Views
sikhism Black money: Indians...
Yesterday 21:40 PM
1 Replies, 62 Views
sikhism Sikh temple brawl a...
Yesterday 20:33 PM
0 Replies, 70 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.2

All times are GMT +6.5. The time now is 14:46 PM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.5.2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.56132 seconds with 30 queries