473,586 Members | 2,491 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 1360

<ab*****@google mail.comwrote in message
news:11******** *************@m 7g2000cwm.googl egroups.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*****@google mail.comwrote in message
news:11******** **************@ j44g2000cwa.goo glegroups.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
4737
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, but once per week, the oracle server is brought down for backup. At that time, I get an error that looks like I have the wrong credentials for the...
0
5365
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 I'm experiencing is that when many users are hitting the site at once, occasionaly I will see errors. The 3 most common ones are: "The SqlCommand is...
1
3217
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 max number of connections. Obviously, we need to find the place(s) in our code where connections are not closed correctly (espcially in loops),...
4
2755
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 make the SQL connection string global throughout the application I created a .vb file within the application project and declared a public...
26
16496
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 Win2K3/IIS6.0), do we still need this patch? 2) Does it specifically solve only this error: The underlying connection was closed. An unexpected error
0
2173
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 project, and load that project under IIS6/ASP/2003 using COM, it fails with the folowing error on the FIRST request only: > Timeout expired. The...
29
7027
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 current state is connecting. I'm very puzzled since I'm not calling "ExecuteNonQuery" and I am calling "Open", which I've always assumed was...
1
6050
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 during the runtime, the user can click on a button and change the connection string without exiting the application. I would really appreciate...
20
3257
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 many connection has been used ? 2. If the maximum pool size has been reached, what happens when I call the method Open to open the connection ? Will I...
4
1505
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 OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data & _ Source=" & Server.MapPath("~/App_Data/Lowes.mdb") & ";" & _ "Initial Catalog=Assets;Integrated Security=SSPI")...
0
8204
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8339
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7965
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8220
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6617
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3838
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2345
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 we have to send another system
1
1452
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1184
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.