Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ASP / Database Access / November 2007



Tip: Looking for answers? Try searching our database.

XPost: Problem with IIS 7 and DB's

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jan K. van Dalen - 08 Aug 2007 05:32 GMT
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.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.
David Wang - 08 Aug 2007 09:00 GMT
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.
>
[quoted text clipped - 18 lines]
>
> 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/2006/10/18/loadUserProfile-and-IIS7-_2D00_-un
derstanding-temporary-directory-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
//
Jan K. van Dalen - 08 Aug 2007 19:08 GMT
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.

> On Aug 7, 9:32 pm, "Jan K. van Dalen" <va...@windmilltechnology.com>
> wrote:
[quoted text clipped - 38 lines]
> http://blogs.msdn.com/David.Wang
> //
lwusssbcbw - 23 Nov 2007 00:00 GMT
Hello! Good Site! Thanks you! glfqlngvmfcnct
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.