473,407 Members | 2,312 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,407 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
13 958
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
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 #9
"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 #10
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 #11
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 #12
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 #13
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 #14

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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.