473,466 Members | 1,354 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

XPost: Problem with IIS 7 and DB's

Ok, I wrote test (ASP, ASP.Net & PHP) all of them hitting the same database.

This is the first time I try to connect to a DB under Vista/II7 and it seems
that I'm missing setting some type of security but don't know what.

When test the ODBC connection everything works fine, when executed from
inside ASP, I get this error:

Unable to establish connection to database.
Error information:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Sybase][ODBC Driver][Adaptive Server Anywhere]Unable to start database
server
Other possible cause of this problem:
The database cannot be opened, most likely due to incorrect connection
settings or insufficient security set on your database folder or file.
For more details please refer to
http://support.microsoft.com/default...;en-us;Q306518
The link does not help me. I have seem many reference to IIS 7 having lots
of problems connecting with DB's (BTW, I'm using Sybase ASA 9.x)

Any help will be appreciated.

Aug 8 '07 #1
2 4771
On Aug 7, 9:32 pm, "Jan K. van Dalen" <va...@windmilltechnology.com>
wrote:
Ok, I wrote test (ASP, ASP.Net & PHP) all of them hitting the same database.

This is the first time I try to connect to a DB under Vista/II7 and it seems
that I'm missing setting some type of security but don't know what.

When test the ODBC connection everything works fine, when executed from
inside ASP, I get this error:

Unable to establish connection to database.
Error information:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Sybase][ODBC Driver][Adaptive Server Anywhere]Unable to start database
server
Other possible cause of this problem:
The database cannot be opened, most likely due to incorrect connection
settings or insufficient security set on your database folder or file.
For more details please refer tohttp://support.microsoft.com/default.aspx?scid=kb;en-us;Q306518

The link does not help me. I have seem many reference to IIS 7 having lots
of problems connecting with DB's (BTW, I'm using Sybase ASA 9.x)

Any help will be appreciated.


IIS does not connect with databases. It runs applications that connect
with databases.

I suspect you are seeing a variant of this:
http://blogs.iis.net/bills/archive/2...-failures.aspx

It really illustrates a hidden weakness within the database being
used.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//

Aug 8 '07 #2
David, first, thanks.

I was able to get it working doing in part what the link recomended but also
had to turn on ASP.Net impersonation and set it to my own user/password.
"David Wang" <w3*****@gmail.comwrote in message
news:11********************@j4g2000prf.googlegroup s.com...
On Aug 7, 9:32 pm, "Jan K. van Dalen" <va...@windmilltechnology.com>
wrote:
>Ok, I wrote test (ASP, ASP.Net & PHP) all of them hitting the same
database.

This is the first time I try to connect to a DB under Vista/II7 and it
seems
that I'm missing setting some type of security but don't know what.

When test the ODBC connection everything works fine, when executed from
inside ASP, I get this error:

Unable to establish connection to database.
Error information:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Sybase][ODBC Driver][Adaptive Server Anywhere]Unable to start database
server
Other possible cause of this problem:
The database cannot be opened, most likely due to incorrect connection
settings or insufficient security set on your database folder or file.
For more details please refer
tohttp://support.microsoft.com/default.aspx?scid=kb;en-us;Q306518

The link does not help me. I have seem many reference to IIS 7 having
lots
of problems connecting with DB's (BTW, I'm using Sybase ASA 9.x)

Any help will be appreciated.

IIS does not connect with databases. It runs applications that connect
with databases.

I suspect you are seeing a variant of this:
http://blogs.iis.net/bills/archive/2...-failures.aspx

It really illustrates a hidden weakness within the database being
used.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
Aug 8 '07 #3

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

Similar topics

3
by: laurie | last post by:
Hi all, I'm trying to help out a friend who has inherited a client with a PHP shopping cart application. Neither of us know PHP, but I've been muddling my way through, trying to get these old...
7
by: Chris | last post by:
Hi I am posting this on both the perl and python groups My intention is not to start a war or anything else, I would just like some pragmatic advice. My apologies to the python group I am...
12
by: stefanogaburri | last post by:
This is crossposted to comp.lang.python & comp.multimedia; if there is a better place to go please tell me :) I've been asked to build a quick-and-dirty prototype of a simple computer-based...
1
by: Michael Conroy | last post by:
Hi... Synposis... Throws exception: "Specified argument was out of the range of valid values." Read on for the juicy tidbits. MySimpleClassCol mscc=new MySimpleClassCol(); private void...
0
by: Bill J. | last post by:
I have to update a PostgreSQL linked server through MSSQL2K. I first configured the connection with ODBC as follows and I can do queries with no problem: EXEC sp_droplinkedsrvlogin @rmtsrvname...
5
by: Ale | last post by:
Ciao a tutti. Ho eliminato il database di esempio SAMPLE(non cancellato). Ora lo voglio reinstallare ma durante l'installazione mi da il seguente errore: nella finestra con scritto SQL1005N c'č...
4
by: Il Prof | last post by:
Hi to everyone! ;) In C language on Linux, what string access method is faster? 1) Puntatori char str="hello"; char* pstr; pstr = str; // access such as "*pstr"
2
by: Sam Shaw | last post by:
I have been looking after an MS Access database, using table links to access data in a back-end MDB database. We have recently micrated to a SQL Server 2000 back-end atabase, once again accessing...
11
by: walterbyrd | last post by:
With PHP, libraries, apps, etc. to do basic CRUD are everywhere. Ajax and non-Ajax solutions abound. With Python, finding such library, or apps. seems to be much more difficult to find. I...
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
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,...
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,...
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
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
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.