XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Sven MeyerSubject: Exception FODC0004: file or directory does not exist
Author: Sven Meyer
Date: 28 May 2009 07:40 AM
Hi,

I am currently testing Stylus Studio 2009 to do some exports from MS SQL Server to a xml file.
Testing the XQuery in Stylus Studio works fine but after generating C# code and trying to run it from Visual Studio 2005 I get the following exception:

Error on line 2 of Untitled1.xquery:
FODC0004: The file or directory file:///c:/Database.dbo.Table does
not exist
The file or directory file:///c:/Database.dbo.Table does not exist

Do I have to make some changes to get the code working or what is wrong?

regards

Sven

Posttop
Ivan PedruzziSubject: Exception FODC0004: file or directory does not exist
Author: Ivan Pedruzzi
Date: 28 May 2009 11:40 AM
Hi Sven,

Support for relation data sources is only available with the DataDirect XQuery Engine.

You will need to generate Java code to run the such queries pragmatically.

... and yes we agree, Stylus Studio should warn before generating C# code from an XQuery that has database connections defined.

Hope this helps
Ivan Pedruzzi
Stylus Studio Team

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.