473,387 Members | 1,890 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.

Problems with SQL server

I have some program in VB6 (I can make new in .NET if it is necessary). This
program is working with SQL Server 2000 database from long distance
(computers are in agencies and is connected to DSL and VPN connection).
Every few days some of computers can not connect to sql server, but other
computer works. He can not find sql server or access denied. It is down
until I reinstall windows (fresh copy of windows). Than it works. I supose
that it is because of viruses, spywares, trojans... Sometimes Kaspersky
don't find anything. Network is working, I can use internet (web, email...)
but I can not connect to sql server. Do I really need to reinstal windows or
I can make some changes on windows, network, sql server...?
Apr 23 '07 #1
14 1575
On Apr 23, 9:07 am, "Toni" <n...@maila.hrwrote:
I have some program in VB6 (I can make new in .NET if it is necessary). This
program is working with SQL Server 2000 database from long distance
(computers are in agencies and is connected to DSL and VPN connection).
Every few days some of computers can not connect to sql server, but other
computer works. He can not find sql server or access denied. It is down
until I reinstall windows (fresh copy of windows). Than it works. I supose
that it is because of viruses, spywares, trojans... Sometimes Kaspersky
don't find anything. Network is working, I can use internet (web, email...)
but I can not connect to sql server. Do I really need to reinstal windows or
I can make some changes on windows, network, sql server...?
This group is about ASP.NET. Do not spam

Apr 23 '07 #2
"Toni" <ne**@maila.hrwrote in message
news:f0**********@magcargo.vodatel.hr...
>I have some program in VB6 (I can make new in .NET if it is necessary).
This program is working with SQL Server 2000 database from long distance
(computers are in agencies and is connected to DSL and VPN connection).
Every few days some of computers can not connect to sql server, but other
computer works. He can not find sql server or access denied. It is down
until I reinstall windows (fresh copy of windows). Than it works. I supose
that it is because of viruses, spywares, trojans... Sometimes Kaspersky
don't find anything. Network is working, I can use internet (web, email...)
but I can not connect to sql server. Do I really need to reinstal windows
or I can make some changes on windows, network, sql server...?
Did you really need to send this to so many groups?
>

Apr 23 '07 #3
This group is about ASP.NET. Do not spam

Can I solve this problem with asp.net. If I can not make sql server to work
beter from long distance via VPN, maybe I can send data to some xml web
service and maky asp.net application for reports. Can I send data to web
service and check if it database record is realy written to sql server
database on web server?
Apr 23 '07 #4
Did you really need to send this to so many groups?

I am in trouble. My bosses want's that I fix this problem immediately, but I
don't know how. Please help!!!
Apr 23 '07 #5
On Apr 23, 9:30 am, "Toni" <n...@maila.hrwrote:
This group is about ASP.NET. Do not spam

Can I solve this problem with asp.net.
Yes, you can. As the ASP.net resides on the server, it cannot be
infected by a local virus. Are you going to develop that on
ASP.NET? :-)

Apr 23 '07 #6
>Can I solve this problem with asp.net.
>
Yes, you can. As the ASP.net resides on the server, it cannot be
infected by a local virus. Are you going to develop that on
ASP.NET? :-)
Maybe. I need to fic this problem on temporary program, but in future I will
develop this like asp.net application. Can I work with POS printer (printer
for printing bills, boat and bus tickets...) in asp.net application? Is it
possible or I need to make windows application which works with XML web
service instead connecting to SQL Server by VPN connection?
Apr 23 '07 #7
On Apr 23, 9:46 am, "Toni" <n...@maila.hrwrote:
Can I work with POS printer (printer
for printing bills, boat and bus tickets...) in asp.net application? Is it
possible
It is possible as with any other output:

File -Print

Look at this thread (Mark Rae's reply)
http://groups.google.com/group/micro...c46171df5e40ec

Apr 23 '07 #8
On 23 Apr, 08:46, "Toni" <n...@maila.hrwrote:
Can I solve this problem with asp.net.
Yes, you can. As the ASP.net resides on the server, it cannot be
infected by a local virus. Are you going to develop that on
ASP.NET? :-)

Maybe. I need to fic this problem on temporary program, but in future I will
develop this like asp.net application. Can I work with POS printer (printer
for printing bills, boat and bus tickets...) in asp.net application? Is it
possible or I need to make windows application which works with XML web
service instead connecting to SQL Server by VPN connection?
Have you considered using a Queue?

Tightening up the antivirus on the machines is an obvious first step.
Better firewalling...
This sort of problem is often more to do with how the remote users are
managed.
Some people will spend all day downloading non-wrok stuff if they get
half a chance.
The solution in large offices is usually to route them via some server
which limits sites they can go to.
If these agencies are little remote offices you have no control over
then management issuing dire threats about firing the next person goes
out and gets themselves a virus might be another approach.
What;d hapen if someone got a keylogger on one of these machines?
Would they be able to capture billing details? Credit card details?

Apr 23 '07 #9
you should do this:

a) always connect via SQL Server Security
Windows Authentication isn't reliable enough for real world use
b) always use IP Addresses and not machine names
c) keep your data and your sql statements as small as possible

give some more examples
On Apr 23, 12:07 am, "Toni" <n...@maila.hrwrote:
I have some program in VB6 (I can make new in .NET if it is necessary). This
program is working with SQL Server 2000 database from long distance
(computers are in agencies and is connected to DSL and VPN connection).
Every few days some of computers can not connect to sql server, but other
computer works. He can not find sql server or access denied. It is down
until I reinstall windows (fresh copy of windows). Than it works. I supose
that it is because of viruses, spywares, trojans... Sometimes Kaspersky
don't find anything. Network is working, I can use internet (web, email...)
but I can not connect to sql server. Do I really need to reinstal windows or
I can make some changes on windows, network, sql server...?

Apr 23 '07 #10
"Toni" <ne**@maila.hrwrote in message
news:f0**********@magcargo.vodatel.hr...
>Did you really need to send this to so many groups?

I am in trouble. My bosses want's that I fix this problem immediately, but
I don't know how. Please help!!!
People might be more inclined to help if you show some etiquette. You
haven't really got much of an answer despite to multitute of groups this was
posted to. I can't see how this can be that urgent though, it's a major
change to your app, possibly a re-write. You did specify moving from vb6 to
..net so I guess it IS a re-write. They can't be expecting this in 1 day.

Michael
Apr 23 '07 #11
And yet you didn't post it to any SQLServer groups.

Robin S.
---------------
"Toni" <ne**@maila.hrwrote in message
news:f0**********@magcargo.vodatel.hr...
>Did you really need to send this to so many groups?

I am in trouble. My bosses want's that I fix this problem immediately,
but I don't know how. Please help!!!

Apr 24 '07 #12
BTW, watch out for the susie dba person. He's a troll that uses many
aliases, and does not work for Microsoft. ANy advice he gives is suspect.

Robin S.
--------------------------------
"Toni" <ne**@maila.hrwrote in message
news:f0**********@magcargo.vodatel.hr...
>Did you really need to send this to so many groups?

I am in trouble. My bosses want's that I fix this problem immediately,
but I don't know how. Please help!!!

Apr 24 '07 #13
here is your solution ...

Low risk ...

n = number of sites that connect remotely ...

- go purchase n + 1 new machines.
- install your software on all the machines.
- ship a new machine to each site.
- tell them to only use it once they are infected and can not operate.
- as machines go off-line and do not work ... introduce these new machines
- bad machines are sent back to you, so you can re-install the os and
software.
- send machine back to user.

this will fix you problem but it is not a solution!

Higher risk ...

Same as above, but only purchase n * .25 computers and keep them on hand and
ship them out to impacted sites ASAP.

Either of these approaches should fix your problem and should reduce the
downtime due to your problem.

Thanks
Jeff


"Toni" <ne**@maila.hrwrote in message
news:f0**********@magcargo.vodatel.hr...
>Did you really need to send this to so many groups?

I am in trouble. My bosses want's that I fix this problem immediately, but
I don't know how. Please help!!!

Apr 24 '07 #14
now if this does not fly ... investigate the following ...

- how are you creating you VPN trusted connection / what software are you
using?

- how are users athenicated on the VPN?

- when the user can not connect to the database, can the 'SEE' the sql
server machine - ping it, map a shared folder, anything?

if user can see it ...

- what type of authenication does your vb application use to connect ...
secure or username password?

- Does the user security credential expire???

if user cannot see the machine ...

- can the user see other machines on the VPN?

....and so on....

there are too many unkowns for ANYBODY to give a solution. This should be
an easy problem to fix ... you just need to isolate and find the problem,
before you can ask for advice.... OTherwise, we can only tell you what to
check ...
The VPN connection is the first place I would investigate ... it can not be
the software, you are not having to re-install the database and rebuild the
dataset...other users at not impacted when a site goes 'off-line'...

I think it is a communication problem ... We have 14 offices all
interconnected with Cisco hardware and Cisco VPN clients (for remote users).
We have about 25 applications that use a common MSSQL database server
'farm' - 5 servers, each hosting 5 applications. When users 'lose' database
connection and their programs no longer work, it is mostly due to their
machine not being authenicated on the network and the server blocking its
access. SOmetimes a machine will use cached network security creditials,
giving them temporary access. BUt once this runs out, they will lose
connection to the database ... they can ping it, they can see it, but
regardless of the connection method, MSSQL will not allow the machine to
connect unless it has the proper security creditentials from the DSN Server.

If you are reinstalling the OS .... you are not solving the problem ... you
are avoiding issue. and, to avoid downtime, please see previous post.

Jeff.




- when it fails, can the user connection to the VPN

"jeff" <jhersey at allnorth dottt comwrote in message
news:OR**************@TK2MSFTNGP02.phx.gbl...
here is your solution ...

Low risk ...

n = number of sites that connect remotely ...

- go purchase n + 1 new machines.
- install your software on all the machines.
- ship a new machine to each site.
- tell them to only use it once they are infected and can not operate.
- as machines go off-line and do not work ... introduce these new machines
- bad machines are sent back to you, so you can re-install the os and
software.
- send machine back to user.

this will fix you problem but it is not a solution!

Higher risk ...

Same as above, but only purchase n * .25 computers and keep them on hand
and ship them out to impacted sites ASAP.

Either of these approaches should fix your problem and should reduce the
downtime due to your problem.

Thanks
Jeff


"Toni" <ne**@maila.hrwrote in message
news:f0**********@magcargo.vodatel.hr...
>>Did you really need to send this to so many groups?

I am in trouble. My bosses want's that I fix this problem immediately,
but I don't know how. Please help!!!


Apr 24 '07 #15

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

Similar topics

5
by: Justice | last post by:
Currently I'm doing some experimenting with the XMLHTTP object in Javascript. Now, the XMLHttp object is asynchronous (at least in this case), and the following code causes a significant memory...
1
by: 3f | last post by:
Hello; We have made a web application that people can download from our web site and installed on: Windows XP Windows 2000 Professional Windows 2003 Server Windows 2000 Server
32
by: jp29 | last post by:
My take on problems composing, serving and rendering XHTML documents/web pages: 1. Typical conscientious web authors are producing XHTML documents (Web pages) that feature valid Markup and with...
26
by: jamesbeswick | last post by:
I've been using Access since version 97 and I've migrated to 2003. I've noticed a substantial number of strange ActiveX/OLE and code corruption problems when writing databases. The only solution...
17
by: Lloyd Sheen | last post by:
This IDE is driving me nuts. I needed another button so I copied an existing one, changed the Text and the id and position by drag and drop. Well then I run and get the following: Control...
2
by: Brian | last post by:
NOTE ALSO POSTED IN microsoft.public.dotnet.framework.aspnet.buildingcontrols I have solved most of my Server Control Collection property issues. I wrote an HTML page that describes all of the...
0
by: Peter R. Vermilye | last post by:
I am involved on a web application that is using a third party set of APIs for remote database access (middleware). I've been brought in because of my background in programming, thus I'm new to...
21
by: matvdl | last post by:
I have a system that was originally developed in asp - the pages are saved in SQL (there are over 10,000 pages) and saved to a temp directory in the server when requested by a client. I have...
16
by: pamelafluente | last post by:
I am still working with no success on that client/server problem. I need your help. I will submit simplified versions of my problem so we can see clearly what is going on. My model: A client...
9
by: =?Utf-8?B?SG93YXJkIFNtaXRo?= | last post by:
I am using VC++ 6.0 (with SP5 installed). When using WinXP this is with SP2 installed. I am developing an instrumentation system comprising a set of networked PCs connected using TCP/IP TCP links....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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: 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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.