Cameyo

Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: Excel Launched From Within Packaged Application Won't Open File
Al


Member

Status: Offline
Posts: 12
Date:
Excel Launched From Within Packaged Application Won't Open File
Permalink   
 


I have an application that creates an XML file and then launches Excel to edit that file.  I have created a packaged version of this application and it works fine except when it gets to this point.  It creates the XML file properly and it launches Excel, but I get the following error message:

   "Microsoft Excel cannot open or save any more documents because there is not enough available memory or disk space."

(image of full error message attached)

This feature works perfectly in the non-packaged version of my application.  And I'm quite positive it has nothing to do with actual memory or disk space as the file I am trying to open is tiny (less than 15KB).

Any help would be appreciated.



Attachments
__________________


Guru

Status: Offline
Posts: 912
Date:
Permalink   
 

Hello Al,

Please upload your Troubleshoot log to a file-hosting site, e.g. wetransfer.com and post the url where it can be downloaded.  You can find documentation here.  If you would rather not post the log publicly, you can PM me with the url.



__________________
Al


Member

Status: Offline
Posts: 12
Date:
Permalink   
 

Thanks for your help.

I downloaded the CameyoTracer.exe and followed the instructions on the page you mentioned.

I will send you the url to the log file in a private message.

__________________


Guru

Status: Offline
Posts: 912
Date:
Permalink   
 

Log downloaded, thanks.  Let's rule out an isolation problem first.

1. Using Package Editor, please change your package's Isolation mode to Full access under the General tab.

2. Before running the edited package, please use -Remove parameter to delete the package's repository.



__________________
Al


Member

Status: Offline
Posts: 12
Date:
Permalink   
 

I made the change using the Package Editor and it now works.

Is it okay to just leave the Isolation mode set to Full Access permanently?

Thanks.

__________________
Al


Member

Status: Offline
Posts: 12
Date:
Permalink   
 

And how do I make the same change to a package that is running through a browser?

The package is in my dropbox account, so I downloaded it to my PC and used the Package Editor to set the Isolation mode to "Full". Then I uploaded it back to my dropbox.

But when I run it I still get the same error. I'm not sure though if it's running the updated package or if the old package is stored somewhere on my HTML5 server and that is the one being run.

Thanks.

__________________


Guru

Status: Offline
Posts: 912
Date:
Permalink   
 

The package that needs to be edited is on your HTML5 server itself in C:\RemoteAppPilot\DownloadsCache.  This will be a temporary solution because files are re-downloaded every few days.  If it works, it will tell us that Isolation is the problem.  We are currently working on another solution, as well.



__________________
Al


Member

Status: Offline
Posts: 12
Date:
Permalink   
 

It sort of works. It now allows Excel to open. But it tells me that the XML file that I am trying to open is corrupt....even though it definitely is not. Any suggestions?

__________________


Guru

Status: Offline
Posts: 912
Date:
Permalink   
 

I want to make sure I understand correctly.  Does your "I made the change using the Package Editor and it now works" post refer to when you run the package locally and your "It sort of works. It now allows Excel to open. But it tells me that the XML file that I am trying to open is corrupt....even though it definitely is not" post refer to when it is played on your HTML5 server?



__________________
Al


Member

Status: Offline
Posts: 12
Date:
Permalink   
 

Yes, when I run the package locally it opens Excel and Excel opens the XML file that it is being told to open when it is launched.

But when I edit the package on my HTML5 server and then ran it using a browser I now get that Excel opens but complains that the XML file is corrupt.

__________________


Guru

Status: Offline
Posts: 912
Date:
Permalink   
 

You can use our new command line feature to allow HTML5 users to execute the package.  Log in to Cameyo Online, go to Online Packager, choose Publish a server command line, and fill in the rest, e.g. C:\packages\appname.cameyo.exe



__________________


Newbie

Status: Offline
Posts: 3
Date:
Permalink   
 

I have another problem to launch excel from another applikation within the package.
The applikation try to read data from an *.xls file by using excel, but it fails.
The cameyo trace log show the error see the attached Image file.

can provide the full log if necessary

Any help would be appreciated

 

BTW: both packaged application works fine started by cameyo



-- Edited by Sven on Saturday 28th of November 2015 07:51:09 AM

Attachments
__________________


Guru

Status: Offline
Posts: 912
Date:
Permalink   
 

Sven, please export the registry key {00024500-0000-0000-C000-000000000046} and paste the text in your post or upload the .reg somewhere and advise the url.



__________________


Newbie

Status: Offline
Posts: 3
Date:
Permalink   
 

the reg key is:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{00024500-0000-0000-C000-000000000046}]
@="Microsoft Excel-Anwendung"

[HKEY_CLASSES_ROOT\CLSID\{00024500-0000-0000-C000-000000000046}\Implemented Categories]
@=""

[HKEY_CLASSES_ROOT\CLSID\{00024500-0000-0000-C000-000000000046}\Implemented Categories\{000C0118-0000-0000-C000-000000000046}]
@=""

[HKEY_CLASSES_ROOT\CLSID\{00024500-0000-0000-C000-000000000046}\InprocHandler32]
@="ole32.dll"

[HKEY_CLASSES_ROOT\CLSID\{00024500-0000-0000-C000-000000000046}\LocalServer]
@="C:\\PROGRA~1\\MICROS~2\\Office10\\EXCEL.EXE /automation"
"LocalServer"=hex(7):41,00,38,00,34,00,44,00,56,00,6e,00,2d,00,7d,00,66,00,28,\
  00,59,00,52,00,5d,00,65,00,41,00,52,00,36,00,2e,00,6a,00,69,00,45,00,58,00,\
  43,00,45,00,4c,00,46,00,69,00,6c,00,65,00,73,00,3e,00,45,00,55,00,46,00,4f,\
  00,43,00,3d,00,4d,00,26,00,67,00,28,00,70,00,4b,00,65,00,71,00,46,00,72,00,\
  73,00,46,00,2a,00,6d,00,20,00,2f,00,61,00,75,00,74,00,6f,00,6d,00,61,00,74,\
  00,69,00,6f,00,6e,00,00,00,00,00

[HKEY_CLASSES_ROOT\CLSID\{00024500-0000-0000-C000-000000000046}\LocalServer32]
@="C:\\PROGRA~1\\MICROS~2\\Office10\\EXCEL.EXE /automation"
"LocalServer32"=hex(7):41,00,38,00,34,00,44,00,56,00,6e,00,2d,00,7d,00,66,00,\
  28,00,59,00,52,00,5d,00,65,00,41,00,52,00,36,00,2e,00,6a,00,69,00,45,00,58,\
  00,43,00,45,00,4c,00,46,00,69,00,6c,00,65,00,73,00,3e,00,45,00,55,00,46,00,\
  4f,00,43,00,3d,00,4d,00,26,00,67,00,28,00,70,00,4b,00,65,00,71,00,46,00,72,\
  00,73,00,46,00,2a,00,6d,00,20,00,2f,00,61,00,75,00,74,00,6f,00,6d,00,61,00,\
  74,00,69,00,6f,00,6e,00,00,00,00,00

[HKEY_CLASSES_ROOT\CLSID\{00024500-0000-0000-C000-000000000046}\ProgID]
@="Excel.Application.10"

[HKEY_CLASSES_ROOT\CLSID\{00024500-0000-0000-C000-000000000046}\VersionIndependentProgID]
@="Excel.Application"

thanks and regards

sven

 



__________________


Guru

Status: Offline
Posts: 912
Date:
Permalink   
 

Sven, thanks for your reg key.

  1. Please download this Cameyo build.
  2. Drag and drop Cameyo-3.0.1418 to your package.  It will create appname.cameyo.new.exe
  3. Run appname.cameyo.new.exe

If the problem remains, please use -Remove parameter to delete the package's repository and try appname.cameyo.new.exe again.

 



__________________


Newbie

Status: Offline
Posts: 3
Date:
Permalink   
 

hi thx for the new patch exe. Looks better now but i need to do additional test

regards

sven



__________________
Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.



Create your own FREE Forum
Report Abuse
Powered by ActiveBoard