473,508 Members | 3,688 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Connection string errors

Hello

I am a complete newcomer to ASP and I am trying to get around a few
teething problems. I would be very grateful if any of you can point me
in the right direction because I am tearing my hair out!

I am using DW8 to create a simple database-driven site using IIS and
ASP vbscript. I have created a virtual directory in IIS and I have
created the DSN, connection and appropriate recordsets. The problem is
I keep getting the following error:

Error Type:
Provider (0x80004005)
Unspecified error

The line the error refers to is always the connection string. And it
seems to be intermittent. Sometimes the page works fine, other times I
get this error - but I can't figure out why. I always make sure that I
save my files and put them to the server so I really can't work this
out.

Can anyone help?

TIA.

Nov 22 '06 #1
3 1356

<ab*****@googlemail.comwrote in message
news:11*********************@m7g2000cwm.googlegrou ps.com...
Hello

I am a complete newcomer to ASP and I am trying to get around a few
teething problems. I would be very grateful if any of you can point me
in the right direction because I am tearing my hair out!

I am using DW8 to create a simple database-driven site using IIS and
ASP vbscript. I have created a virtual directory in IIS and I have
created the DSN, connection and appropriate recordsets. The problem is
I keep getting the following error:

Error Type:
Provider (0x80004005)
Unspecified error

The line the error refers to is always the connection string. And it
seems to be intermittent. Sometimes the page works fine, other times I
get this error - but I can't figure out why. I always make sure that I
save my files and put them to the server so I really can't work this
out.

Can anyone help?
Not without seeing the line that causes the error, and other relevant lines
that contain the connection information. Can you post it?

Also, while I also use DW8 for ASP sites, I do not allow it create any ASP
code. DW is not particularly good at it. I suggest that you learn how to
produce the code manually. It will be more difficult to begin with, but you
will learn a heck of a lot more, and more quickly if you do it this way.
--
Mike Brind
Nov 22 '06 #2
Thanks for your post, Mike, and for your advice.

It seems that by simply rebooting my machine, the problem is solved. I
have done a bit of searching on lists elsewhere and it seems this is a
common problem. Seeing as the problem doesn't appear to be wholly down
to the code, is there a way to make IIS more stable?

Many thanks

Jo

Nov 22 '06 #3

<ab*****@googlemail.comwrote in message
news:11**********************@j44g2000cwa.googlegr oups.com...
Thanks for your post, Mike, and for your advice.

It seems that by simply rebooting my machine, the problem is solved. I
have done a bit of searching on lists elsewhere and it seems this is a
common problem. Seeing as the problem doesn't appear to be wholly down
to the code, is there a way to make IIS more stable?
Rebooting your machine is not solving the problem - it's recovering after
the problem has ocurred. And I don't know how you have deduced it is not
down to the code you are using. DSN connections, for example are
notoriously unstable, which is why they are not recommended practice. That
isn't an IIS stability issue, it's a code choice problem.

--
Mike Brind
Nov 22 '06 #4

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

Similar topics

0
4728
by: JWM | last post by:
I am trying to implement Oracle connection pooling for the following code, which was written by someone else. Here is my main question -- this java file creates code that is executed every hour,...
0
5355
by: Bob | last post by:
I have an ASP.NET web application that has been running without any problems for a while. I recently transferred the site to shared hosting and had multiple users start to use the site. The problem...
1
3204
by: Sean Nolan | last post by:
We have implemented unhandled error trapping at the application level and log these errors to our database. One error, however, the does not get trapped is when the connection pool has exceeded the...
4
2745
by: Mark | last post by:
OK. Here we go. I have an ASP.NET application that does many hits to a SQL Server DB on a separate server. When I first created this application (2 years ago) and was very new to ASP/ASP.NET, to...
26
16455
by: Rajeev Tipnis | last post by:
http://support.microsoft.com/default.aspx?scid=kb;en- us;819450 Questions: 1) Is this patch (fix) applicable to the .NET 1.1 Framework as well? That is, if we have Framework 1.1 (On...
0
2165
by: Christopher H. Laco | last post by:
I'm in a strange situation. I have a dataset that uses it own connection string from MySettings. All is well. This thing works in .NET just dandy. If I reference this dataset from another...
29
7010
by: Bryce K. Nielsen | last post by:
Suddenly this week, I've started getting this error message: System.Data.SqlClient.SqlConnection(GetOpenConnection)ExecuteNonQuery requires an open and available Connection. The connection's...
1
6038
by: Sankalp | last post by:
Hi, I am using VB 2005. My application has many data bound controls. The connection is stored in the app.config file. I want the application to start with a default connection string and while...
20
3243
by: fniles | last post by:
I am using VS2003 and connecting to MS Access database. When using a connection pooling (every time I open the OLEDBCONNECTION I use the exact matching connection string), 1. how can I know how...
4
1499
by: slinky | last post by:
I'm making a OLE DB connection in code and was wondering if anyone could identify what the syntax errors I have. I've tried countless combinations and all give errors. New...
0
7332
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,...
1
7058
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7502
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
5635
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
3206
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3191
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1565
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
769
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
426
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.