473,608 Members | 1,811 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.Ole Db.OleDbExcepti on: Unexpected error from external
database driver (11265). at
System.Data.Ole Db.OleDbCommand .ExecuteCommand TextErrorHandli ng(Int32 hr)
at
System.Data.Ole Db.OleDbCommand .ExecuteCommand TextForSingleRe sult(tagDBPA
RAMS dbParams, Object& executeResult) at
System.Data.Ole Db.OleDbCommand .ExecuteCommand Text(Object& executeResult)
at System.Data.Ole Db.OleDbCommand .ExecuteCommand (CommandBehavio r
behavior, Object& executeResult) at
System.Data.Ole Db.OleDbCommand .ExecuteReaderI nternal(Command Behavior
behavior, String method) at
System.Data.Ole Db.OleDbCommand .ExecuteReader( CommandBehavior behavior)
at
System.Data.Ole Db.OleDbCommand .System.Data.ID bCommand.Execut eReader(Comm
andBehavior behavior) at
System.Data.Com mon.DbDataAdapt er.FillFromComm and(Object data, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior) at
System.Data.Com mon.DbDataAdapt er.Fill(DataSet dataSet, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior) at
System.Data.Com mon.DbDataAdapt er.Fill(DataSet dataSet) at
JobMaintenance. JobView.GetCust omerName(String id) in c:\mycode\retai l
systems projects\applic ation\web
services\calllo gging\jobmainte nance\jobview.a smx.cs: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 4866
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.Ole Db.OleDbExcepti on: Unexpected error from external database
driver (11265). at
System.Data.Ole Db.OleDbCommand .ExecuteCommand TextErrorHandli ng(Int32 hr) at
System.Data.Ole Db.OleDbCommand .ExecuteCommand TextForSingleRe sult(tagDBPARAM S
dbParams, Object& executeResult) at
System.Data.Ole Db.OleDbCommand .ExecuteCommand Text(Object& executeResult) at
System.Data.Ole Db.OleDbCommand .ExecuteCommand (CommandBehavio r behavior,
Object& executeResult) at
System.Data.Ole Db.OleDbCommand .ExecuteReaderI nternal(Command Behavior
behavior, String method) at
System.Data.Ole Db.OleDbCommand .ExecuteReader( CommandBehavior behavior) at
System.Data.Ole Db.OleDbCommand .System.Data.ID bCommand.Execut eReader(Command Behavior
behavior) at System.Data.Com mon.DbDataAdapt er.FillFromComm and(Object data,
Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior) at System.Data.Com mon.DbDataAdapt er.Fill(DataSet
dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand
command, CommandBehavior behavior) at
System.Data.Com mon.DbDataAdapt er.Fill(DataSet dataSet) at
JobMaintenance. JobView.GetCust omerName(String id) in c:\mycode\retai l
systems projects\applic ation\web
services\calllo gging\jobmainte nance\jobview.a smx.cs: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.Ole Db.OleDbExcepti on: Unexpected error from external database driver (11265). at System.Data.Ole Db.OleDbCommand .ExecuteCommand TextErrorHandli ng(Int32 hr) at System.Data.Ole Db.OleDbCommand .ExecuteCommand TextForSingleRe sult(tagDBPARAM S dbParams, Object& executeResult) at System.Data.Ole Db.OleDbCommand .ExecuteCommand Text(Object& executeResult) at System.Data.Ole Db.OleDbCommand .ExecuteCommand (CommandBehavio r behavior, Object& executeResult) at System.Data.Ole Db.OleDbCommand .ExecuteReaderI nternal(Command Behavior behavior, String method) at System.Data.Ole Db.OleDbCommand .ExecuteReader( CommandBehavior behavior) at System.Data.Ole Db.OleDbCommand .System.Data.ID bCommand.Execut eReader(Command Behavior behavior) at System.Data.Com mon.DbDataAdapt er.FillFromComm and(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Com mon.DbDataAdapt er.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Com mon.DbDataAdapt er.Fill(DataSet dataSet) at JobMaintenance. JobView.GetCust omerName(String id) in c:\mycode\retai l systems projects\applic ation\web services\calllo gging\jobmainte nance\jobview.a smx.cs: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_n ame>. 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.publi c.dotnet.langua ges.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.Ole Db.OleDbExcepti on: Unexpected error from external
database driver (11265). at
System.Data.Ole Db.OleDbCommand .ExecuteCommand TextErrorHandli ng(Int32 hr)
at
System.Data.Ole Db.OleDbCommand .ExecuteCommand TextForSingleRe sult(tagDBPA
RAMS dbParams, Object& executeResult) at
System.Data.Ole Db.OleDbCommand .ExecuteCommand Text(Object& executeResult)
at System.Data.Ole Db.OleDbCommand .ExecuteCommand (CommandBehavio r
behavior, Object& executeResult) at
System.Data.Ole Db.OleDbCommand .ExecuteReaderI nternal(Command Behavior
behavior, String method) at
System.Data.Ole Db.OleDbCommand .ExecuteReader( CommandBehavior behavior)
at
System.Data.Ole Db.OleDbCommand .System.Data.ID bCommand.Execut eReader(Comm
andBehavior behavior) at
System.Data.Com mon.DbDataAdapt er.FillFromComm and(Object data, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior) at
System.Data.Com mon.DbDataAdapt er.Fill(DataSet dataSet, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior) at
System.Data.Com mon.DbDataAdapt er.Fill(DataSet dataSet) at
JobMaintenance. JobView.GetCust omerName(String id) in c:\mycode\retai l
systems projects\applic ation\web
services\calllo gging\jobmainte nance\jobview.a smx.cs: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_n ame>

Regards

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

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

Error 11265 relates to &lsquo;Netwo rk initialization failed'. My IIS->Default Web Site is using Guest Account IUSR_<machine_n ame>. 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
7020
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?? ---------------------------------------------------------------------------- ------------------------- <% Response.Expires = -1 %> <% Dim ConParadox
4
11352
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 exactly cause I'm not familar with paradox at all, but I've found files like *.db, *.mb, *.px, *.xg*, *.yg* !!! I need the infomation from this files to combine it with other data stored in SQL 2000. I'm tried DTS to import the Data but I've got an...
0
6631
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 "Microsoft OLD DB Provider for ODBC Drivers" option to make the connection. This works fine... even though the Paradox table is password protected. I have dragged a the table from the Server Explorer to my form to make a connection object and a data...
1
1885
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 a global instance of the webservice accesible from all projects to avoid the creation of the webservice instance each time a project calls the same service. Do you know My object in Visual Basic .NET 2005? Something similar but with more than one...
4
4535
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 correct? What I want to do is have an MS SQL Server setup, which compatible applications can talk with, but I want the data to come from a Paradox database. I can use any MS SQL version, whatever would work best. I'm not sure about the Paradox...
2
5289
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 have /usr/share/pear in my include_path. Thanks, John Navratil
7
5111
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 a speedbutton. (I am also using several data modules where i keep all my tables and queries). First of all i need some "mechanism" to read the data from the tables and also to be able to change these already stored values. I tried with
1
14753
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 error in the DEV environment (Application deployed in the linux box). Following is the javascript code to detect the processor, function detectProcessor() { var locator = new ActiveXObject
5
2415
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 Birthday is a class and Birthday paradox is mainly the driver for it. I am trying to create an object of Birthday in BirthdayParadox and it is not working. I get the error: "'Birthday' undeclared (first use this function)"
0
8069
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8011
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8488
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8160
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6826
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6017
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5482
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3972
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
1611
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.