473,396 Members | 1,816 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,396 software developers and data experts.

Urgent Help - ASP & FoxPro Db

Hi,

I have a web site that is built using FOxpro database
(free table directory) running on a Win2003 server and
IIS 6.

I am using a DSN as the connection string to the DB.

To connect to the database I am using ADODB.Record,
Cursor Type of Static, Lock Type of Readonly, command
type of adCmdText.

The site was running for 6 days OK and then suddenly the
site 'stopped working'.

By 'stopped working' I noticed that the site would dislay
static .HTM & HTML pages but not any .asp pages.

I also noticed that some of the database files
(.dbf, .cdx .fpt) were locking up and not releasing. When
trying to FTP new files across I was getting a 550
error 'File in use by another process' and the system
administrator cannot delete the files either.

THe SA said that he could not see any rogue process that
had grabed the files and was at a loss as to the next
step.

I really need help on this - so any insight as to what
might be the problem would be great.

I have tried to give as much info here but if you need
any more that might help with diagnosis please let me
know and I will and get back to you.
Jul 19 '05 #1
1 1544
First off stop using ODBC/DSN to connect to the database. The next
several links will give you more information on what your connection
string should actually look like. It might not solve the problem, but
at least your app will be faster & easier to manage.

http://www.able-consulting.com/MDAC/...orVisualFoxPro

http://www.connectionstrings.com/

http://www.aspfaq.com/show.asp?id=2126

http://msdn.microsoft.com/library/de...components.asp

You might have to reboot the server to free the files from the clutches
of the ODBC/DSN connection.

Stuart wrote:
Hi,

I have a web site that is built using FOxpro database
(free table directory) running on a Win2003 server and
IIS 6.

I am using a DSN as the connection string to the DB.

To connect to the database I am using ADODB.Record,
Cursor Type of Static, Lock Type of Readonly, command
type of adCmdText.


--
Please do not contact me directly or ask me to contact you directly for
assistance.

If your question is worth asking, it's worth posting.

If it’s not worth posting you should have done a search on
http://www.google.com/ http://www.google.com/grphp?hl=en&tab=wg&q= or
http://news.google.com/froogle?hl=en&tab=nf&ned=us&q= before wasting our
time.
Jul 19 '05 #2

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

Similar topics

0
by: Adam Haskell | last post by:
Ok heres the situation: We have a linked server from SQL 2000 to a foxpro dbf. In our test enviroment we had the Foxpro and SQL server on the same machine. The linked worked perfect. Now we are...
0
by: Adam Haskell | last post by:
I'm sorry if this is a double post. I posted an hour or so ago and it is not showing up in outlook. Ok heres the situation: We have a linked server from SQL 2000 to a foxpro dbf. In our test...
7
by: Sascha Schmidt | last post by:
Hello ! I have a little problem accessing a Visual Foxpro-database using ODBC (Driver 6.00.8167) (using System.Data.Odbc). Reading a column, defined in the Foxpro table definition as a kind of...
6
by: JimmyKoolPantz | last post by:
I have been given the task of converting a program from VFP (visual foxpro) to Visual Basic.net. My question is "Is it possible to generate a DBF file Dynamically(at runtime) using Visual...
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
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:
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
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,...

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.