473,387 Members | 1,517 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Storing Data Locally

I am developing a program that keeps track of manufacturing defects and
deviances. When a product is being developed, if there is a deviance from
the standard, we have to put the part on hold and create a deviation notice
(EPN). I am going to use sharepoint for the EPN notification workflow and
store the EPN data in SQL Server 2005. I am using VB 2008 to do the front
end development. It is critical that the EPN be generated and the part put
on hold regardless if Sharepoint or SQL Server is available (due to a
network outage, or hardware fault in the PC). So I check for network
connection first, and if the network is available, I create the EPN. If the
network is not available, I was thinking of storing the data locally
creating a temp EPN number and allow the operator to put the piece on hold.

The questions I have are:

1. Is there a way for SQL Server 2005 to send a notification when it comes
back online so my program can receive the event and upload the locally saved
data?
2. Can I do an automatic sync with SQL Server 2005 when it comes back
online?
3. What is the best way to store the data locally for processing? Access
Database, text file, etc.
This code has not been written, but I need to architect a solution so any
pointers would be helpful.

Thanks.

John
Aug 28 '08 #1
5 1295
GS
what about using async connection?

Sorry, I don't know about the details

"John Wright" <ri**********@hotmail.comwrote in message
news:eu**************@TK2MSFTNGP02.phx.gbl...
I am developing a program that keeps track of manufacturing defects and
deviances. When a product is being developed, if there is a deviance from
the standard, we have to put the part on hold and create a deviation
notice
(EPN). I am going to use sharepoint for the EPN notification workflow and
store the EPN data in SQL Server 2005. I am using VB 2008 to do the front
end development. It is critical that the EPN be generated and the part put
on hold regardless if Sharepoint or SQL Server is available (due to a
network outage, or hardware fault in the PC). So I check for network
connection first, and if the network is available, I create the EPN. If
the
network is not available, I was thinking of storing the data locally
creating a temp EPN number and allow the operator to put the piece on
hold.
>
The questions I have are:

1. Is there a way for SQL Server 2005 to send a notification when it comes
back online so my program can receive the event and upload the locally
saved
data?
2. Can I do an automatic sync with SQL Server 2005 when it comes back
online?
3. What is the best way to store the data locally for processing? Access
Database, text file, etc.
This code has not been written, but I need to architect a solution so any
pointers would be helpful.

Thanks.

John


Aug 29 '08 #2
John,

As a PC goes down, you cannot store anything anymore.

In other cases isolated storage

http://msdn.microsoft.com/en-us/library/bdts8hk0.aspx

Cor

"John Wright" <ri**********@hotmail.comschreef in bericht
news:eu**************@TK2MSFTNGP02.phx.gbl...
>I am developing a program that keeps track of manufacturing defects and
deviances. When a product is being developed, if there is a deviance from
the standard, we have to put the part on hold and create a deviation notice
(EPN). I am going to use sharepoint for the EPN notification workflow and
store the EPN data in SQL Server 2005. I am using VB 2008 to do the front
end development. It is critical that the EPN be generated and the part put
on hold regardless if Sharepoint or SQL Server is available (due to a
network outage, or hardware fault in the PC). So I check for network
connection first, and if the network is available, I create the EPN. If
the network is not available, I was thinking of storing the data locally
creating a temp EPN number and allow the operator to put the piece on hold.

The questions I have are:

1. Is there a way for SQL Server 2005 to send a notification when it comes
back online so my program can receive the event and upload the locally
saved data?
2. Can I do an automatic sync with SQL Server 2005 when it comes back
online?
3. What is the best way to store the data locally for processing? Access
Database, text file, etc.
This code has not been written, but I need to architect a solution so any
pointers would be helpful.

Thanks.

John

Aug 29 '08 #3
If i understand your requirments correctly then i would go for

Local data storage SQL server Compact edition ( free and exists of only
One Xcopy deployable dll )
For the synchronization part i would go for the synchronization framework
( free downloadable and MS examples availlable )

There are lots of examples for CE devices however you can use it just as
easily for "normal" desktop applications

HTH

Michel Posseth


"John Wright" <ri**********@hotmail.comschreef in bericht
news:eu**************@TK2MSFTNGP02.phx.gbl...
>I am developing a program that keeps track of manufacturing defects and
deviances. When a product is being developed, if there is a deviance from
the standard, we have to put the part on hold and create a deviation notice
(EPN). I am going to use sharepoint for the EPN notification workflow and
store the EPN data in SQL Server 2005. I am using VB 2008 to do the front
end development. It is critical that the EPN be generated and the part put
on hold regardless if Sharepoint or SQL Server is available (due to a
network outage, or hardware fault in the PC). So I check for network
connection first, and if the network is available, I create the EPN. If
the network is not available, I was thinking of storing the data locally
creating a temp EPN number and allow the operator to put the piece on hold.

The questions I have are:

1. Is there a way for SQL Server 2005 to send a notification when it comes
back online so my program can receive the event and upload the locally
saved data?
2. Can I do an automatic sync with SQL Server 2005 when it comes back
online?
3. What is the best way to store the data locally for processing? Access
Database, text file, etc.
This code has not been written, but I need to architect a solution so any
pointers would be helpful.

Thanks.

John

Aug 29 '08 #4
John Wright wrote:
If the network is not available, I was thinking of storing the data
locally creating a temp EPN number and allow the operator to put the
piece on hold.
Why? No one else would know that it had been put on hold. It would create an
artifical sense of having completed a task that actually hadn't been completed .

Assuming that "network not available" does not happen very often, I think it
makes much more sense to say no, you can't put it on hold until the network is
back up.
Aug 29 '08 #5
JDS
On Aug 28, 8:41*pm, "John Wright" <riley_wri...@hotmail.comwrote:
I am developing a program that keeps track of manufacturing defects and
deviances. *When a product is being developed, if there is a deviance from
the standard, we have to put the part on hold and create a deviation notice
(EPN). *I am going to use sharepoint for the EPN notification workflow and
store the EPN data in SQL Server 2005. *I am using VB 2008 to do the front
end development. It is critical that the EPN be generated and the part put
on hold regardless if Sharepoint or SQL Server is available (due to a
network outage, or hardware fault in the PC). *So I check for network
connection first, and if the network is available, I create the EPN. *If the
network is not available, I was thinking of storing the data locally
creating a temp EPN number and allow the operator to put the piece on hold.

The questions I have are:

1. Is there a way for SQL Server 2005 to send a notification when it comes
back online so my program can receive the event and upload the locally saved
data?
2. *Can I do an automatic sync with SQL Server 2005 when it comes back
online?
3. *What is the best way to store the data locally for processing? *Access
Database, text file, etc.

This code has not been written, but I need to architect a solution so any
pointers would be helpful.

Thanks.

John
Have you considered using SQL Server (either full version or Express)
for the local data and SQL replication for managing the
synchronisation? It sounds like this would be ideal. However, as
pointed out elsewhere in this thread, it would be worth considering
that you could be creating a false sense of security - you may need to
monitor the state of the synchronisation and alert if there is a
network failure and you are relying on temporary local data.
Aug 30 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Francisco | last post by:
I have this problem: I have a database with information about games, and users are able to vote for them. Everytime a user votes for a game I store the unique game name into a session variable (an...
1
by: Kay | last post by:
A linked list is storing several names. I want to make a queue if I input a name that is same as the linked list. How to make each node of a linked list storing a queue that are different with each...
7
by: Dave | last post by:
I have a system that basically stores a database within a database (I'm sure lots have you have done this before in some form or another). At the end of the day, I'm storing the actual data...
6
by: bissatch | last post by:
Hi, I am currently writing a news admin system. I would like to add the ability to add images to each article. What I have always done in the past is uploaded (using a form) the image to a...
0
by: Harry | last post by:
Folks I would like to enter data into several textboxes and on button_click enter them into a data grid. After several sets are recorded in the datagrid they would be entered into a database. I...
5
by: rogsonl | last post by:
My computer was moved last week, and the company changed the network groups we work on. As a result, one of the main benefits from Whidbey (database connectivity) no longer works. Situation: 1....
6
by: Kyle Teague | last post by:
What would give better performance, serializing a multidimensional array and storing it in a single entry in a table or storing each element of the array in a separate table and associating the...
6
by: (PeteCresswell) | last post by:
User wants to go this route instead of storing pointers in the DB and the documents outside. Only time I tried it was with only MS Word docs - and that was a loooong time ago - and it seemed to...
4
by: Falcolas | last post by:
I personally feel that it's a bad idea. I've got to convince managerial types of this. Would some of you mind posting comments for and against the concept of storing data in XML attributes? If...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.