473,396 Members | 2,139 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

create web service accessing paradox

Hello all, I've tried posting this same question on other newsgroups
with no luck. This group seems to have a lot more activity so I
apologize if you have seen it before.

I'm trying to create a web service in c# using paradox data. The data
is stored locally on my development machine with IIS also installed.
Web services are working to the point where I can return strings and
ints using Access2000 data but whenever I try and access paradox I get
an unspecified error 11265.

System.Data.OleDb.OleDbException: Unexpected error from external
database driver (11265). at
System.Data.OleDb.OleDbCommand.ExecuteCommandTextE rrorHandling(Int32 hr)
at
System.Data.OleDb.OleDbCommand.ExecuteCommandTextF orSingleResult(tagDBPA
RAMS dbParams, Object& executeResult) at
System.Data.OleDb.OleDbCommand.ExecuteCommandText( Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommand(Comm andBehavior
behavior, Object& executeResult) at
System.Data.OleDb.OleDbCommand.ExecuteReaderIntern al(CommandBehavior
behavior, String method) at
System.Data.OleDb.OleDbCommand.ExecuteReader(Comma ndBehavior behavior)
at
System.Data.OleDb.OleDbCommand.System.Data.IDbComm and.ExecuteReader(Comm
andBehavior behavior) at
System.Data.Common.DbDataAdapter.FillFromCommand(O bject data, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior) at
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior) at
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) at
JobMaintenance.JobView.GetCustomerName(String id) in c:\mycode\retail
systems projects\application\web
services\calllogging\jobmaintenance\jobview.asmx.c s:line 74

I can access the same paradox data through a console application but the
web service is giving me no joy. I'm using standard OleDbConnection
objects. Any help would be appreciated.


Nov 17 '05 #1
4 4850
First of all, check your Paradox documentation for the meaning of error
11265. That will probably point you in the right direction.
"Eugen Walcher" <eu***@westnet.com.au> wrote in message
news:42********@quokka.wn.com.au...
Hello all, I've tried posting this same question on other newsgroups with
no luck. This group seems to have a lot more activity so I apologize if you
have seen it before.

I'm trying to create a web service in c# using paradox data. The data is
stored locally on my development machine with IIS also installed. Web
services are working to the point where I can return strings and ints using
Access2000 data but whenever I try and access paradox I get an unspecified
error 11265.

System.Data.OleDb.OleDbException: Unexpected error from external database
driver (11265). at
System.Data.OleDb.OleDbCommand.ExecuteCommandTextE rrorHandling(Int32 hr) at
System.Data.OleDb.OleDbCommand.ExecuteCommandTextF orSingleResult(tagDBPARAMS
dbParams, Object& executeResult) at
System.Data.OleDb.OleDbCommand.ExecuteCommandText( Object& executeResult) at
System.Data.OleDb.OleDbCommand.ExecuteCommand(Comm andBehavior behavior,
Object& executeResult) at
System.Data.OleDb.OleDbCommand.ExecuteReaderIntern al(CommandBehavior
behavior, String method) at
System.Data.OleDb.OleDbCommand.ExecuteReader(Comma ndBehavior behavior) at
System.Data.OleDb.OleDbCommand.System.Data.IDbComm and.ExecuteReader(CommandBehavior
behavior) at System.Data.Common.DbDataAdapter.FillFromCommand(O bject data,
Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataSet
dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand
command, CommandBehavior behavior) at
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) at
JobMaintenance.JobView.GetCustomerName(String id) in c:\mycode\retail
systems projects\application\web
services\calllogging\jobmaintenance\jobview.asmx.c s:line 74

I can access the same paradox data through a console application but the web
service is giving me no joy. I'm using standard OleDbConnection objects.
Any help would be appreciated.

Nov 17 '05 #2
I dont know how paradox works but If its working through a console app, its usually an access permissions problem to where your paradox db resides.

You might get some tips here on other important information:
http://carlprothman.net/Default.aspx...iverForParadox

Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Eugen Walcher" <eu***@westnet.com.au> wrote in message news:42********@quokka.wn.com.au...
Hello all, I've tried posting this same question on other newsgroups with no luck. This group seems to have a lot more activity so I apologize if you have seen it before.



I'm trying to create a web service in c# using paradox data. The data is stored locally on my development machine with IIS also installed. Web services are working to the point where I can return strings and ints using Access2000 data but whenever I try and access paradox I get an unspecified error 11265.



System.Data.OleDb.OleDbException: Unexpected error from external database driver (11265). at System.Data.OleDb.OleDbCommand.ExecuteCommandTextE rrorHandling(Int32 hr) at System.Data.OleDb.OleDbCommand.ExecuteCommandTextF orSingleResult(tagDBPARAMS dbParams, Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteCommandText( Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteCommand(Comm andBehavior behavior, Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteReaderIntern al(CommandBehavior behavior, String method) at System.Data.OleDb.OleDbCommand.ExecuteReader(Comma ndBehavior behavior) at System.Data.OleDb.OleDbCommand.System.Data.IDbComm and.ExecuteReader(CommandBehavior behavior) at System.Data.Common.DbDataAdapter.FillFromCommand(O bject data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) at JobMaintenance.JobView.GetCustomerName(String id) in c:\mycode\retail systems projects\application\web services\calllogging\jobmaintenance\jobview.asmx.c s:line 74



I can access the same paradox data through a console application but the web service is giving me no joy. I'm using standard OleDbConnection objects. Any help would be appreciated.



Nov 17 '05 #3
Thanks for the quick reply.

Error 11265 relates to 'Network initialization failed'. My IIS->Default
Web Site is using Guest Account IUSR_<machine_name>. I've shared the
data directory where my paradox data resides to everyone and
IUSR_<machine name> account Full Access. Are there any other permission
settings to change?

_____

From: John Timney (ASP.NET MVP) [mailto:ti*****@despammed.com]
Posted At: Monday, 18 April 2005 4:47 PM
Posted To: microsoft.public.dotnet.languages.csharp
Conversation: create web service accessing paradox
Subject: Re: create web service accessing paradox
I dont know how paradox works but If its working through a console app,
its usually an access permissions problem to where your paradox db
resides.

You might get some tips here on other important information:

http://carlprothman.net/Default.aspx...iverForParadox
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Eugen Walcher" <eu***@westnet.com.au> wrote in message
news:42********@quokka.wn.com.au...

Hello all, I've tried posting this same question on other newsgroups
with no luck. This group seems to have a lot more activity so I
apologize if you have seen it before.

I'm trying to create a web service in c# using paradox data. The data
is stored locally on my development machine with IIS also installed.
Web services are working to the point where I can return strings and
ints using Access2000 data but whenever I try and access paradox I get
an unspecified error 11265.

System.Data.OleDb.OleDbException: Unexpected error from external
database driver (11265). at
System.Data.OleDb.OleDbCommand.ExecuteCommandTextE rrorHandling(Int32 hr)
at
System.Data.OleDb.OleDbCommand.ExecuteCommandTextF orSingleResult(tagDBPA
RAMS dbParams, Object& executeResult) at
System.Data.OleDb.OleDbCommand.ExecuteCommandText( Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommand(Comm andBehavior
behavior, Object& executeResult) at
System.Data.OleDb.OleDbCommand.ExecuteReaderIntern al(CommandBehavior
behavior, String method) at
System.Data.OleDb.OleDbCommand.ExecuteReader(Comma ndBehavior behavior)
at
System.Data.OleDb.OleDbCommand.System.Data.IDbComm and.ExecuteReader(Comm
andBehavior behavior) at
System.Data.Common.DbDataAdapter.FillFromCommand(O bject data, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior) at
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior) at
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) at
JobMaintenance.JobView.GetCustomerName(String id) in c:\mycode\retail
systems projects\application\web
services\calllogging\jobmaintenance\jobview.asmx.c s:line 74

I can access the same paradox data through a console application but the
web service is giving me no joy. I'm using standard OleDbConnection
objects. Any help would be appreciated.


Nov 17 '05 #4
The web service is running under asp.net. On IIS5 (win2000 or xp) this means that by default it will run under the ASPNET account and on IIS6 (Win2003) it will run by default under the NetworkService account. So unless you have changed something in the ASP.NET configuration the webservice will not be running under the IUSR_<machine_name>

Regards

Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk

v\:* { BEHAVIOR: url(#default#VML) } o\:* { BEHAVIOR: url(#default#VML) } w\:* { BEHAVIOR: url(#default#VML) } .shape { BEHAVIOR: url(#default#VML) } Thanks for the quick reply.

Error 11265 relates to &lsquo;Network initialization failed'. My IIS->Default Web Site is using Guest Account IUSR_<machine_name>. I've shared the data directory where my paradox data resides to everyone and IUSR_<machine name> account Full Access. Are there any other permission settings to change?
Nov 17 '05 #5

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

Similar topics

2
by: Vilmar Brazão de Oliveira | last post by:
Hi all, What can be wrong in the database connection bellow to connect paradox? What is missing?? ----------------------------------------------------------------------------...
4
by: TonyMontana | last post by:
Hello, I've the following problem. I've to read out the data of a custom application. I think (I'm not sure) this application is using a Paradox DB to store it's information. I don't know it...
0
by: Steve Barker | last post by:
I am trying to access Paradox through a .NET Windows application I am writing. I have added a Data Connection to the Paradox table in the Server Explorer of Visual Studio .NET. I have used the...
1
by: otto | last post by:
I have a technical question about WebServices. I have a solution with several projects (.exe and .dll). Each project have references to several webservices. I want to know if is possible to create...
4
by: eselk | last post by:
I've never really setup or used MS SQL Server (just a couple hours, one day, several months ago). I think MS SQL Server has the ability to use "linked tables", like MS Access does. Is this...
2
by: John Navratil | last post by:
Anyone having any success with the paradox extension? 'pear install paradox' doesn't work. 'pecl install paradox' seem to do something, but none of the px_??? wrapper functions are found. I do...
7
by: Jimakos Bilakis | last post by:
Hi guys! I'm using the C++ Builder 6 Enterprise Edition where I create some tables in Paradox and with the help of a structure i pass my data from the form (Edit boxes) to the Paradox table with...
1
by: drk.kumar | last post by:
I have an implementation issue with WMI scripts to check the user machine processor. The implementation is working fine in the local machine (Windows XP operating system). It is throwing script...
5
by: Willson | last post by:
Ok, first off I am learning C++ for the first time. I know Java very well, but a new class of mine requires C++. So bare with me please. I have 2 classes, Birthday.cpp and BirthdayParadox.cpp ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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...
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,...

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.