|
|
 |
BOOK: Beginning InfoPath 2003  | This is the forum to discuss the Wrox book Beginning InfoPath 2003 by F. Scott Barker; ISBN: 9780764579486 | ISBN: 0-7645-7948-7 |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning InfoPath 2003 section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

March 23rd, 2009, 08:22 PM
|
|
Registered User
|
|
Join Date: Mar 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Infopath 2003 book exercise files
I am not able to use the files in Chapters 6 and 7. I get a message stating that the security on my computer will not let me open them. I am using Vista. I turned off all security on my computer and still cannot open the files. It keeps referring to a path C:\\books/infopath/samples/chapter?
I created directories with those parameters and have still not been able to open the exercise files. I was told Wrox does not support code. Even though this is the corresponding code to the book.
I am an instructor and was not able to fully study this because of those problems. Does anyone know how I can get these files to open and connect to their data source. I spent hours trying to figure this out and am out of ideas.
Thanks
|

March 23rd, 2009, 08:49 PM
|
 |
Wrox Staff
|
|
Join Date: May 2003
Location: Indianapolis, IN, USA.
Posts: 1,347
Thanks: 27
Thanked 49 Times in 40 Posts
|
|
What is it that you are opening the files with in Vista? WinZip or the built in file decompressor in Vista? The book was written before Vista but I can't imagine that's really the problem.
What I'm confused by is, what exactly is referring you to "C:\\books/infopath/samples/chapter"?
When I unzip these files, the paths look like this:
..\557130\ch5
..\557130\ch6
so depending on where you unzip them you should see:
C:\557130\ch5\Lookups.xsn
C:\557130\ch5\manifest.xsf
C:\557130\ch5\myschema.xsd
C:\557130\ch5\Products XML.xsd
C:\557130\ch5\Products.xml
C:\557130\ch5\Products.xsd
C:\557130\ch5\Products1.xsd
C:\557130\ch5\Products2.xsd
C:\557130\ch5\readme.txt
C:\557130\ch5\sampledata.xml
C:\557130\ch5\template.xml
C:\557130\ch5\upgrade.xsl
C:\557130\ch5\view1.xsl
and:
C:\557130\ch6\readme.txt
C:\557130\ch6\SimpleTypes
C:\557130\ch6\SupportedTypes
C:\557130\ch6\XMLSchemaValidation
C:\557130\ch6\XMLTypeSystem
C:\557130\ch6\SimpleTypes\simpleTypes.xsd
C:\557130\ch6\SimpleTypes\simpleTypes.xsx
C:\557130\ch6\SupportedTypes\BuiltInDataTypes.xsd
C:\557130\ch6\SupportedTypes\BuiltInDataTypes.xsx
C:\557130\ch6\SupportedTypes\manifest.xsf
C:\557130\ch6\SupportedTypes\sampledata.xml
C:\557130\ch6\SupportedTypes\SupportedTypes.xsn
C:\557130\ch6\SupportedTypes\template.xml
C:\557130\ch6\SupportedTypes\view1.xsl
C:\557130\ch6\XMLSchemaValidation\Contact.xsd
C:\557130\ch6\XMLSchemaValidation\manifest.xsf
C:\557130\ch6\XMLSchemaValidation\sampledata.xml
C:\557130\ch6\XMLSchemaValidation\template.xml
C:\557130\ch6\XMLSchemaValidation\view1.xsl
C:\557130\ch6\XMLSchemaValidation\XMLSchemaValidat ion1.xsn
C:\557130\ch6\XMLTypeSystem\EMailsData.xsd
C:\557130\ch6\XMLTypeSystem\EMailsData.xsx
C:\557130\ch6\XMLTypeSystem\EMailValidationSample. xsn
C:\557130\ch6\XMLTypeSystem\manifest.xsf
C:\557130\ch6\XMLTypeSystem\sampledata.xml
C:\557130\ch6\XMLTypeSystem\template.xml
C:\557130\ch6\XMLTypeSystem\view1.xsl
Last, who told you Wrox doesn't support code?
|

March 24th, 2009, 09:35 AM
|
|
Registered User
|
|
Join Date: Mar 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Code
Thanks for answering so promptly. The files are decompressed using the Vista utility. They do unzip to the directories you have mentioned. When I open a files the path I mentioned is part of the error message.
Level 1 and 2 support said they do not support code.
This is one of the error messages:
[code] :///C:\Books\Infopath\Samples\Chapter%207\Chapter%207% 20Intro.xsn The following DataObject either cannot be created or cannot be initialized: Employees Id and Name The query cannot be run for the following DataObject: Employees Id and Name InfoPath cannot run the specified query. InfoPath cannot connect to the data source. Safety settings on this computer prohibit accessing a data source on another domain. [10:21:03 PM] {/code]
I am on a standalone computer.
Thanks
|

March 24th, 2009, 09:42 AM
|
|
Registered User
|
|
Join Date: Mar 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Anoher error message
Here is the another message is see:
Code:
:///C:\Books\Infopath\Samples\Chapter%207\Chapter%207%20Intro.xsn The following DataObject either cannot be created or cannot be initialized: Employees Id and Name The query cannot be run for the following DataObject: Employees Id and Name InfoPath cannot run the specified query. InfoPath cannot connect to the data source. Safety settings on this computer prohibit accessing a data source on another domain. [10:21:03 PM]
This is when I try to view the form in Chapter 6. That is where I saw the path and figured maybe the files should be there.
Thanks
Marlene
|

March 24th, 2009, 01:01 PM
|
 |
Wrox Staff
|
|
Join Date: May 2003
Location: Indianapolis, IN, USA.
Posts: 1,347
Thanks: 27
Thanked 49 Times in 40 Posts
|
|
Based on the file named in your error message, your question is actually about the Beginning InfoPath 2003 book so I've moved the question here to that book's forum instead of it's original location in the Professional InfoPath forum. I'll take another look when I've had a chance to look at the Beginning book's code.
|

March 24th, 2009, 01:07 PM
|
 |
Wrox Staff
|
|
Join Date: May 2003
Location: Indianapolis, IN, USA.
Posts: 1,347
Thanks: 27
Thanked 49 Times in 40 Posts
|
|
OK, now that I know the right book, I see that this is a known issue and discussed here:
Sample Code is frustratingly broken
there are some workarounds and "works on my computer" type answers that have not worked for everyone but they may work for you.
|

April 30th, 2009, 05:39 PM
|
|
Registered User
|
|
Join Date: Apr 2009
Posts: 1
Thanks: 0
Thanked 2 Times in 1 Post
|
|
Chapter 6 & 7 issues
For the book Beginning InfoPath 2003 ISBN 9780764579486
Okay, I read the postings that all the frustrated people said regarding chapters 6 & 7 files. I was getting the same error message that everyone else got.  I did the steps that were suggested in the Thread posted on 06-16-05 by Ken@adler.net "Sample Code is frustratingly broken" .. it was to create the filepath and move the files to them. Still could not get the files opened properly.
Now, how may of you went straight to the file and opened the file from your explorer view? I know I did.
Once I read and followed the actual steps in the book.....the file opened up but after fixing the issue of needing to republishing the file, it worked fine. I did find that it did NOT matter where the file was located on my computer.
Hope this helps those who try this book, maybe again for the first time.
Sincerely,
Kathy
NotSoTechi
|
|
The Following 2 Users Say Thank You to NotSoTechi For This Useful Post:
|
|

April 30th, 2009, 09:43 PM
|
 |
Wrox Staff
|
|
Join Date: May 2003
Location: Indianapolis, IN, USA.
Posts: 1,347
Thanks: 27
Thanked 49 Times in 40 Posts
|
|
Thanks a TON for sharing this Kathy!
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |