Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > VS.NET 2002/2003
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 26th, 2004, 08:16 AM
Registered User
 
Join Date: Jul 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Opening MSProject in client machine using ASP.NET

Hi,
I have a problem to be solved yet. Following is the problem:
I have a MSProject saved in SQLServer using ODBC, which automatically generates tables relevant to data. My requirement is to open this project in client machine in MSProject application as read or readwrite file.
I tried using "Microsoft Project 9.0 object library" to create an instance in some button click event in server side. It gives the following error:
"Call was Rejected by Callee"
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: Call was rejected by callee.

However i could create instance of Msproject and open file from DSN .. provided if i create an instance in Application_start( ) event, that is local to event & which is irrelevant. Even this will give error when i stop application and relaunch it again. This is due to MSProject process "WINPROJ.EXE" that will be running.

Is there any other way to create a MSproject application using server side script ??

I tried in another way i.e using client side script ...
I used vbscript to create MSproject using CreateObject( ) command.
I could open a MSProject file stored in *.mpp format but not project stored in SQLServer(using SystemDSN). Ofcourse customlevel settings for security tab is required to execute script in client machine.

How to open MSProject stored in SQLServer using DSN either through server side script or client side script ??
Is it possible to open using <a href = "" /> tag..??
please post your suggestions as soon as possible..

Thanks in advance.
--
Santhosh.A.N
Bangalore


 
Old July 26th, 2004, 09:55 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Please do not cross post.

I have answer the question on this thread.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening MSProject in client machine using ASP.NET santhosh_nagendra General .NET 4 November 1st, 2006 04:46 PM
Saving file on client machine balesh ASP.NET 1.0 and 1.1 Professional 1 September 18th, 2006 07:49 AM
Storing cookies on the client machine m_soni21 ASP.NET 1.0 and 1.1 Basics 1 July 6th, 2006 05:07 PM
writing to client machine - PLEASE HELP Toran Classic ASP Databases 2 April 2nd, 2005 03:50 PM
asp.net machine.config shs BOOK: Beginning ASP.NET 1.0 0 March 25th, 2004 11:01 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.