472,378 Members | 1,257 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,378 software developers and data experts.

ASP error accessing odbc on xp from nt

We have an asp script on an NT system that is trying to access a
database on an XP server. When it gets to setting up odbc, it gives an
error on that line in a particular function but doesn't give details.
I can map the network drive by providing username, but I can't use the
odbc to access the info. Any ideas? I set up security to make sure
that I can access it.

Mar 8 '07 #1
9 2220
ki******@yahoo.com wrote:
We have an asp script on an NT system that is trying to access a
database on an XP server. When it gets to setting up odbc, it gives an
error on that line in a particular function but doesn't give details.
I can map the network drive by providing username, but I can't use the
odbc to access the info. Any ideas? I set up security to make sure
that I can access it.
Sorry, but my crystal ball is out for repair today. If you want help,
you will have to provide more details:
1. database type and version
2. actual error message
3. line of code that raises the error
4. intranet or internet? Cross-domain?

I can't guarantee that more questions won't be raised, but you need to
provide at least that much detail to get a meaningful reply.

In the meantime, these might be helpful:
http://www.aspfaq.com/show.asp?id=2126
http://www.aspfaq.com/show.asp?id=2009
http://www.aspfaq.com/show.asp?id=2168

Take a look at these before replying. They may contain your answer.

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Mar 8 '07 #2
On Mar 8, 10:31 am, "Bob Barrows [MVP]" <reb01...@NOyahoo.SPAMcom>
wrote:
kilqu...@yahoo.com wrote:
We have an asp script on an NT system that is trying to access a
database on an XP server. When it gets to setting up odbc, it gives an
error on that line in a particular function but doesn't give details.
I can map the network drive by providing username, but I can't use the
odbc to access the info. Any ideas? I set up security to make sure
that I can access it.

Sorry, but my crystal ball is out for repair today. If you want help,
you will have to provide more details:
1. database type and version
2. actual error message
3. line of code that raises the error
4. intranet or internet? Cross-domain?

I can't guarantee that more questions won't be raised, but you need to
provide at least that much detail to get a meaningful reply.

In the meantime, these might be helpful:http://www.aspfaq.com/show.asp?id=21...ow.asp?id=2168

Take a look at these before replying. They may contain your answer.

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Thanks for the response. It's an ASI ProfitPlus database. Error
follows:
Error in ActiveX Server:C:\WINNT\SYSTEM32\INETSRV\INETINFO.EXE
Object:ASIECOMCLASS Service: DEFCUSTOMERINFO error '800a03e8'
Description: VARIABLE NOT INITIALIZED Subsystem: BASE Function:
IVARGET Argument: {(0x0000)0x00000000} CLASS
/manheim/login.asp, line 139
Code: Aok = odbservermanager.defcustomerinfo(actn, custno,
sessnid)
The ASP is on an NT machine that's accessed via the internet. The code
accesses the server that holds the database. We've had the database on
98 and have been using this for years. We're trying to move the
database to an XP machine, and the code's having a problem at that
point when it tries to access it. We called the software manufacturer,
and they were unable to help us. They got a copy of the asp code to
look at it, but they haven't gotten back to us in a week. I'm figuring
that it's a security issue, but I've made all the proper settings that
I know. I can map the XP drive from NT if I provide a username.

Mar 9 '07 #3
Here's the odbc code. It works if we refer it to the database on 98 or
a copy of it on the NT machine. It just won't work when accessing the
XP.
set odbservermanager = server.createobject( "asiecom.object" )
Aok = odbservermanager.defcustomerinfo(actn, custno, sessnid)

Mar 9 '07 #4
ki******@yahoo.com wrote:
On Mar 8, 10:31 am, "Bob Barrows [MVP]" <reb01...@NOyahoo.SPAMcom>
wrote:
>kilqu...@yahoo.com wrote:
>>We have an asp script on an NT system that is trying to access a
database on an XP server. When it gets to setting up odbc, it gives
an error on that line in a particular function but doesn't give
details. I can map the network drive by providing username, but I
can't use the odbc to access the info. Any ideas? I set up security
to make sure that I can access it.
Thanks for the response. It's an ASI ProfitPlus database.
I've never heard of this database. I suspect your chances of getting
help for this will be slim.
Error
follows:
Error in ActiveX Server:C:\WINNT\SYSTEM32\INETSRV\INETINFO.EXE
Object:ASIECOMCLASS Service: DEFCUSTOMERINFO error '800a03e8'
Description: VARIABLE NOT INITIALIZED Subsystem: BASE Function:
IVARGET Argument: {(0x0000)0x00000000} CLASS
/manheim/login.asp, line 139
Code: Aok = odbservermanager.defcustomerinfo(actn, custno,
sessnid)
The ASP is on an NT machine that's accessed via the internet. The code
accesses the server that holds the database. We've had the database on
98 and have been using this for years. We're trying to move the
database to an XP machine, and the code's having a problem at that
point when it tries to access it. We called the software manufacturer,
and they were unable to help us. They got a copy of the asp code to
look at it, but they haven't gotten back to us in a week. I'm figuring
that it's a security issue, but I've made all the proper settings that
I know. I can map the XP drive from NT if I provide a username.
You need to remember that ASP is not running under your security
context, so your ability to map a drive is totally irrelevant.

I haven't a clue what security is required for this database, but
reading the articles I cited in my previous post might shed some light
for you as to what user account needs those rights.

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Mar 9 '07 #5
On Mar 8, 9:06 am, kilqu...@yahoo.com wrote:
We have an asp script on an NT system that is trying to access a
database on an XP server. When it gets to setting up odbc, it gives an
error on that line in a particular function but doesn't give details.
I can map the network drive by providing username, but I can't use the
odbc to access the info. Any ideas? I set up security to make sure
that I can access it.
A couple of comments:
Are you using an system ODBC dsn. It has to be a system dsn or else
your web can't use it.

If you put the Access db on the web server and changed your odbc dsn
to point to that location, would the web work then. It doesn't really
matter that the USER logged into the server can access it. Can
IUSR_servername access it?

Mar 9 '07 #6
>
I've never heard of this database. I suspect your chances of getting
help for this will be slim.
That's what I figured, but I figured that it wouldn't hurt to ask. The
vendor's having a hard time with it.
Thanks.

Mar 12 '07 #7
On Mar 9, 3:01 pm, "lmlaster" <lmlas...@yahoo.comwrote:
>
A couple of comments:
Are you using an system ODBC dsn. It has to be a system dsn or else
your web can't use it.
Doesn't appear to be using one.
>
If you put the Access db on the web server and changed your odbc dsn
to point to that location, would the web work then. It doesn't really
matter that the USER logged into the server can access it. Can
IUSR_servername access it?
I set permission for Everyone to access.
Thanks.

Mar 12 '07 #8

<ki******@yahoo.comwrote in message
news:11**********************@v33g2000cwv.googlegr oups.com...
On Mar 9, 3:01 pm, "lmlaster" <lmlas...@yahoo.comwrote:
>>
A couple of comments:
Are you using an system ODBC dsn. It has to be a system dsn or else
your web can't use it.
Doesn't appear to be using one.
>>
If you put the Access db on the web server and changed your odbc dsn
to point to that location, would the web work then. It doesn't really
matter that the USER logged into the server can access it. Can
IUSR_servername access it?
I set permission for Everyone to access.
Thanks.

Everyone <IUSR_servername

--
John Blessing

http://www.LbeHelpdesk.com - Help Desk software priced to suit all
businesses
http://www.room-booking-software.com - Schedule rooms & equipment bookings
for your meeting/class over the web.
http://www.lbetoolbox.com - Remove Duplicates from MS Outlook, find/replace,
send newsletters
Mar 13 '07 #9
>
Everyone <IUSR_servername
I setup IUSR_servername, and that didn't do it, either. I found the
NETWORK item in the list of groups/users, and that let me through. It
works now.

Thanks again for the responses.

Mar 13 '07 #10

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

Similar topics

12
by: Robert Stearns | last post by:
Note: deliberately xposted to the two newsgroups which seem applicable, after reading several hundred messages from various php groups. Randomly my application gets the message: Warning:...
15
by: M P | last post by:
What does this mean? I am accessing an ASP page that queries Access Database thru fileDSN. I'm using IIS 5.0 Win2K SP4 Microsoft OLE DB Provider for ODBC Drivers error '80004005' General...
3
by: James Bird | last post by:
Hello In order to perform a hetrogeneous join (I think that's what they're called) between MySQL and another database, I've created an Access database containing linked tables from each...
11
by: Shane Suebsahakarn | last post by:
Hi all, This might be one of those things for which there is no workaround. I'm using A2K2, and using it to perform a very large batch ouput. Both the front and back ends are MDB files, so no...
0
by: user_5701 | last post by:
I have an Access 97 database front end (with some lookup tables there too) which also has a MS SQL Server 2000 back end, where all the rest of the larger tables are. I recently had some problems...
0
by: bazzer | last post by:
hey, i am using visual basic.net 2003 and have an ASP.NET webform application thats accessing a microsoft access 2003 database. i kept getting the following error when i tried to run it: ERROR ...
7
by: Mathew Butler | last post by:
I'm investigating an issue I have when pulling data back from MS access I'm retrieving all rows from a column in a table of 5000 rows - accessing a column of type "memo" ( can be 65353 character...
4
by: alegria4ever | last post by:
I have an Access 2000 database that links several tables from Oracle 9. For some reason or another, one of our user repeatedly gets the following error when accessing queries within this database:...
19
by: cj | last post by:
I'm getting terrible response times trying to pull data from VFP tables using .net--like 2 minutes! Can someone help? f:\arcust01 currently contains 187,728 records and is indexed on CUSTNO...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
2
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...
0
by: jack2019x | last post by:
hello, Is there code or static lib for hook swapchain present? I wanna hook dxgi swapchain present for dx11 and dx9.
0
by: F22F35 | last post by:
I am a newbie to Access (most programming for that matter). I need help in creating an Access database that keeps the history of each user in a database. For example, a user might have lesson 1 sent...

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.