>I am developing a .NET web service using Windows Server 2003 and IIS 6.0
> which consumes customer information and then attempts to create a new
[quoted text clipped - 12 lines]
> user
> intervention.
First, post the complete exception, don't just describe it. Surely it's
possible that our answer would be different depending on which exact
exception you received? Please post the result of ex.ToString() so that any
InnerException chain is included.
Second, where do you expect the dialog box to display? The web service does
not have a display device associated with it. How were you planning on
filling in the fields of the dialog box? There is no keyboard associated
with the web service.
Finally, you should really ask the QuickBooks developers this question, as
this is probably not a generic "how do I run any Windows application from a
web service" question, but rather "how do I run this particular QuickBooks
command from a web service"?

Signature
--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer
David Lloyd - 31 Dec 2007 15:41 GMT
Thank you for your response. The error message is QuickBooks specific and
pretty much as described, but here is the exact text: "This application is
not allowed to log into this QuickBooks company data file automatically. The
QuickBooks administrator can grant permission for an automatic login through
the Integrated Application preferences."
The exception dialog box is launced from the QuickBooks application the
first time the "integrated application" (in this case the web service) tries
to access the QuickBooks file. The idea is to have QuickBooks open on the
web server, call the web service, have the open QuickBooks application
display the execption dialog box (a QuickBooks form), fill in the dialog box
for the exception, and click OK. Subsequent calls from the Web Service will
see the previously granted exception and be allowed access automatically.
This is similar to how MAPILabs Outlook Security Add-In functions for
granting security exceptions to Outlook from third-party applications.
Regarding point number three, I have traversed the QuickBooks developer
information and newsgroups exhaustively prior to this post. I am not the
first to blaze this trail according to the QuickBooks newgroups, but there
are really no comprehensive replies that one can use to discern the
appropriate configuration. Windows Server 2003 is not considered a
supported QuickBooks operating system although shared QuickBooks files
routinely reside on servers with this O/S.
Given the lack of QuckBooks related information, I decided to try and
approach the issue from a more general IIS configuration standpoint. From
what I have read in the IIS/Web Service newsgroups, others have tried similar
configurations but there solutions (see first post) have not worked in my
particular instance.
Thanks again.
> >I am developing a .NET web service using Windows Server 2003 and IIS 6.0
> > which consumes customer information and then attempts to create a new
[quoted text clipped - 27 lines]
> web service" question, but rather "how do I run this particular QuickBooks
> command from a web service"?