Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Accessing an Access database on a Novell server from a Win..

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  Getting Server Variables on SF_NOTIFY_END_OF_NET_..  
Author Message
danny1968

External


Since: Dec 28, 2003
Posts: 2



(Msg. 1) Posted: Sun Dec 28, 2003 3:14 pm
Post subject: Accessing an Access database on a Novell server from a Windows 2000 server
Archived from groups: microsoft>public>inetserver>iis, others (more info?)

Hi,
I've a problem and I guess it has something to do with IIS security.

I've created an ASP which connects (from a win2k server) to an Access
database on a NOVELL server.
Every time the script results in an 80004005 Disk or Network error on the
line where the connection is opened (cn.Open).

I've tried the same from within Visual Basic (on the same server, connecting
to the same database) and that works fine.
The only thing I had to change in VB is the line 'Set cn =
CreateObject("ADODB.Connection")' instead of '...Server.CreateObject...'

I use Gateway Service for Novell. The Novell user had all the necessary
rights.
The windows user on the windows server is Administrator.
I assume that IIS uses a special user/method to access the Novell server but
I can't figure it out.

Can anybody help me?

Dany


The code:
<body>
<%
Dim cn
Dim rs
Dim SQL
Set cn = Server.CreateObject("ADODB.Connection")
cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=p:\tasks.mdb;Mode=Read"
SQL = "SELECT * FROM tblGraphConfig"
Set rs = cn.Execute(SQL)

 >> Stay informed about: Accessing an Access database on a Novell server from a Win.. 
Back to top
Login to vote
user675

External


Since: Aug 28, 2003
Posts: 617



(Msg. 2) Posted: Sun Dec 28, 2003 4:18 pm
Post subject: Re: Accessing an Access database on a Novell server from a Windows 2000 server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sun, 28 Dec 2003 12:14:05 GMT, "dH" <danny1968.DeleteThis@pandora.be> wrote:

Replies inline :

 >I've created an ASP which connects (from a win2k server) to an Access
 >database on a NOVELL server.
 >Every time the script results in an 80004005 Disk or Network error on the
 >line where the connection is opened (cn.Open).

Read these KB articles for an explanation of how to connect to
resources on a Novell server :

How to Create Virtual Directories to a Remote Novell NetWare Share
<a style='text-decoration: underline;' href="http://support.microsoft.com/?id=285159" target="_blank">http://support.microsoft.com/?id=285159</a>

HOWTO: Configure ASP to Read Data File on a Novell Server
<a style='text-decoration: underline;' href="http://support.microsoft.com/?id=178045" target="_blank">http://support.microsoft.com/?id=178045</a>

 >The code:
 ><body>
 ><%
 >Dim cn
 >Dim rs
 >Dim SQL
 >Set cn = Server.CreateObject("ADODB.Connection")
 >cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data
 >Source=p:\tasks.mdb;Mode=Read"
 >SQL = "SELECT * FROM tblGraphConfig"
 >Set rs = cn.Execute(SQL)
 >

Your code references a file on a mapped drive (p:\tasks.mdb) - this
isn't a good idea. Read this KB article for an explanation :

Using Mapped Drives with IIS
<a style='text-decoration: underline;' href="http://support.microsoft.com/?id=257174" target="_blank">http://support.microsoft.com/?id=257174</a>


Regards,

Paul Lynch
MCSE<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Accessing an Access database on a Novell server from a Win.. 
Back to top
Login to vote
qbernard1

External


Since: Dec 23, 2003
Posts: 905



(Msg. 3) Posted: Mon Dec 29, 2003 2:16 pm
Post subject: Re: Accessing an Access database on a Novell server from a Windows 2000 server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

--
Regards,
Bernard Cheah
<a style='text-decoration: underline;' href="http://support.microsoft.com/" target="_blank">http://support.microsoft.com/</a>
Please respond to newsgroups only ...



"Paul Lynch" <paul.lynch.TakeThisOut@nospam.com> ????
news:5nltuv4bou4f828v6jql7ouetarkl8qr93@4ax.com...
 > On Sun, 28 Dec 2003 12:14:05 GMT, "dH" <danny1968.TakeThisOut@pandora.be> wrote:
 >
 > Replies inline :
 >
  > >I've created an ASP which connects (from a win2k server) to an Access
  > >database on a NOVELL server.
  > >Every time the script results in an 80004005 Disk or Network error on the
  > >line where the connection is opened (cn.Open).
 >
 > Read these KB articles for an explanation of how to connect to
 > resources on a Novell server :
 >
 > How to Create Virtual Directories to a Remote Novell NetWare Share
<font color=purple> > <a style='text-decoration: underline;' href="http://support.microsoft.com/?id=285159</font" target="_blank">http://support.microsoft.com/?id=285159</font</a>>
 >
 > HOWTO: Configure ASP to Read Data File on a Novell Server
<font color=purple> > <a style='text-decoration: underline;' href="http://support.microsoft.com/?id=178045</font" target="_blank">http://support.microsoft.com/?id=178045</font</a>>
 >
  > >The code:
  > ><body>
  > ><%
  > >Dim cn
  > >Dim rs
  > >Dim SQL
  > >Set cn = Server.CreateObject("ADODB.Connection")
  > >cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data
  > >Source=p:\tasks.mdb;Mode=Read"
  > >SQL = "SELECT * FROM tblGraphConfig"
  > >Set rs = cn.Execute(SQL)
  > >
 >
 > Your code references a file on a mapped drive (p:\tasks.mdb) - this
 > isn't a good idea. Read this KB article for an explanation :
 >
 > Using Mapped Drives with IIS
<font color=purple> > <a style='text-decoration: underline;' href="http://support.microsoft.com/?id=257174</font" target="_blank">http://support.microsoft.com/?id=257174</font</a>>
 >
 >
 > Regards,
 >
 > Paul Lynch
 > MCSE<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Accessing an Access database on a Novell server from a Win.. 
Back to top
Login to vote
qbernard1

External


Since: Dec 23, 2003
Posts: 905



(Msg. 4) Posted: Mon Dec 29, 2003 2:16 pm
Post subject: Re: Accessing an Access database on a Novell server from a Windows 2000 server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

and this -
PRB: "Disk or Network Error" or "Unspecified Error" Returned when Using Jet
<a style='text-decoration: underline;' href="http://support.microsoft.com/?id=251254" target="_blank">http://support.microsoft.com/?id=251254</a>

--
Regards,
Bernard Cheah
<a style='text-decoration: underline;' href="http://support.microsoft.com/" target="_blank">http://support.microsoft.com/</a>
Please respond to newsgroups only ...



"Paul Lynch" <paul.lynch RemoveThis @nospam.com> ????
news:5nltuv4bou4f828v6jql7ouetarkl8qr93@4ax.com...
 > On Sun, 28 Dec 2003 12:14:05 GMT, "dH" <danny1968 RemoveThis @pandora.be> wrote:
 >
 > Replies inline :
 >
  > >I've created an ASP which connects (from a win2k server) to an Access
  > >database on a NOVELL server.
  > >Every time the script results in an 80004005 Disk or Network error on the
  > >line where the connection is opened (cn.Open).
 >
 > Read these KB articles for an explanation of how to connect to
 > resources on a Novell server :
 >
 > How to Create Virtual Directories to a Remote Novell NetWare Share
<font color=purple> > <a style='text-decoration: underline;' href="http://support.microsoft.com/?id=285159</font" target="_blank">http://support.microsoft.com/?id=285159</font</a>>
 >
 > HOWTO: Configure ASP to Read Data File on a Novell Server
<font color=purple> > <a style='text-decoration: underline;' href="http://support.microsoft.com/?id=178045</font" target="_blank">http://support.microsoft.com/?id=178045</font</a>>
 >
  > >The code:
  > ><body>
  > ><%
  > >Dim cn
  > >Dim rs
  > >Dim SQL
  > >Set cn = Server.CreateObject("ADODB.Connection")
  > >cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data
  > >Source=p:\tasks.mdb;Mode=Read"
  > >SQL = "SELECT * FROM tblGraphConfig"
  > >Set rs = cn.Execute(SQL)
  > >
 >
 > Your code references a file on a mapped drive (p:\tasks.mdb) - this
 > isn't a good idea. Read this KB article for an explanation :
 >
 > Using Mapped Drives with IIS
<font color=purple> > <a style='text-decoration: underline;' href="http://support.microsoft.com/?id=257174</font" target="_blank">http://support.microsoft.com/?id=257174</font</a>>
 >
 >
 > Regards,
 >
 > Paul Lynch
 > MCSE<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Accessing an Access database on a Novell server from a Win.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Hot to access a database residing on Novell server - W2K3, IIS 6.0; ASP script need to access MS Access database on a Novell 6 server. Works with CSNW using the Guest account on the Novell side. I can't achieve what is described in MS TechNet article 271228. Any help with Novell interoperability is much..

Database Access - We are using IIS 5.0 on the dmz port of our firewall. Our data via odbc (visual foxpro) is on the trusted side of the firewall. We are unable to access our data . We get an error "ODBC Visual FoxPro Driver]Cannot open file" Thanks, Gary...

cannot access database - i am having truoble with the asp page when i try to access the database which i have accessed many times before. the database is access 97 and i am using the jet 4 engine to access it, but for some reason it is now giving me an error message when i....

Writing to an Access database - Hi I am trying to write info to an access database (I have done it using visual basic now I'm trying ASP)and have 2 files. First is user_append.html and the second is user_append.asp. When I click on ADD RECORD I get the code from user_append.asp..

SSL stopped database access - Hi I installed a ssl certificate on my computer, and now i cannot access my database from my website, i get this error: The Microsoft Jet database engine cannot open the file 'C:\Inetpub\wwwroot\clogin\data\webjobs.mdb'. It is already opened exclusivel...
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]