Welcome Guest Search | Active Topics | Members

Red X Options
Chris Herrington
Posted: Thursday, September 20, 2007 5:47:39 AM
Rank: Advanced Member
Groups: Member

Joined: 9/6/2005
Posts: 51
Points: 6
Fedor,

I upgraded our website to GM version 4. The new license key that when used says evaluation. If I use the old license key it works. The other issue I have is that when I deploy the application I can see the files created in the private and public folders and they are correct but the viewer has a red X in the top left corner. Any ideas?

Thanks in advance

Chris
Alex Kon
Posted: Friday, September 21, 2007 3:25:26 AM
Rank: Advanced Member
Groups: Administration , Member

Joined: 1/31/2005
Posts: 388
Points: 409
Hello Chris,

About red X - are you sure that you granted read permission for public cache folder?



Best wishes, Alex.
Chris Herrington
Posted: Wednesday, September 26, 2007 9:21:54 AM
Rank: Advanced Member
Groups: Member

Joined: 9/6/2005
Posts: 51
Points: 6
Yep I am sure...
Sergey Peshekhonov
Posted: Monday, October 01, 2007 3:02:20 AM
Rank: Advanced Member
Groups: Member

Joined: 6/6/2007
Posts: 57
Points: 45
Hello, Chris

Could you perform some tests? Please right-click to Red-X, choose 'properties' item and read the file name. If the file with this name does not exist in your PublicCache folder then the error may be in Cache lifetime policy (you can change PublicCacheMaxLifeTime and PublicCacheMaxFileCount parameters in your web.config).

If file with this name exists in your PublicCache folder then you may have error in RelativePublicCachePath configuration or may be you have no permissions to get this file from browser. To check permission just place into PublicCache some files and try to get them through a browser.

Or another alternative - you can submit case with your web.config file and folders tree structure of your public and private cache folders.


Sincerely yours,
Sergey Peshekhonov.

Aurigma Technical Support Team.
Chris Herrington
Posted: Wednesday, November 28, 2007 12:33:16 PM
Rank: Advanced Member
Groups: Member

Joined: 9/6/2005
Posts: 51
Points: 6
Please help with this issue. I am on a time crunch here and I have leave and will be out of town for two weeks. What should the web config have in as far as public and private cache? I can see these directories in the web app and they have the files I need to display. The only problem is that the web browser will not allow it and I have read access in IIS set. Any ideas?
Chris Herrington
Posted: Wednesday, November 28, 2007 12:50:38 PM
Rank: Advanced Member
Groups: Member

Joined: 9/6/2005
Posts: 51
Points: 6
ok I think I know what is going on if you could give me direction................... In the new version the public and private cache folders are in the app_data\GraphicMillsCache\Private and \Public. The problem is that the web browser thinks they are located somewhere else as in the root of the site. So what goes in the web.config file to let the browser know what directory?

Thanks

Chris
Chris Herrington
Posted: Wednesday, November 28, 2007 1:31:57 PM
Rank: Advanced Member
Groups: Member

Joined: 9/6/2005
Posts: 51
Points: 6
Fedor and I have had several issues with the web.config having to have relative file path for the cache. Keep in mind every time I upgrade we go through this. If you do a search on web.config you can see the issues related to this same issue. Add key does not work with the new version. I just need to know how to get the web browser to look in the correct directory. Please help soon the site is down and they are very upset.

Thanks in advance

Chris
Dmitry
Posted: Thursday, November 29, 2007 7:41:08 AM
Rank: Advanced Member
Groups: Administration , Member

Joined: 8/3/2003
Posts: 607
Points: 651
Hello Chris,

Sorry for problems you have faced. We do our best to solve this problem as soon as possible.

It seems that you have Aurigma assemblies somewhere in cache. Let us do the following:
1. Download the latest Graphics Mill 4.1 for .NET.
2. Search for all assemblies Aurigma.GraphicsMill.dll and Aurigma.GraphicsMill.WebControls.dll on your hard drive, backup and delete them.
3. Unzip 4_0_0 folder from 4_0_0.zip to wwwroot\aspnet_client\graphics_mill folder.
4. Unzip DisplayImageSample folder to wwwroot folder.
5. Go to DisplayImageSample folder and give write permissions for DisplayImageSample/PrivateCache and DisplayImageSample/PublicCache folders to aspnet user account.
6. Try to open DisplayImageSample/Default.aspx in a browser - it should display image in BitmapViewer.

If it works you should modify web.config of your project in the same way as it is in the sample project.

Please let me know about the results.

File Attachment(s):
DisplayImageSample.zip (1,705kb) downloaded 20 time(s).
4_0_0.zip (20kb) downloaded 18 time(s).




Sincerely yours,
Dmitry Sevostyanov.
Chris Herrington
Posted: Thursday, November 29, 2007 11:40:01 AM
Rank: Advanced Member
Groups: Member

Joined: 9/6/2005
Posts: 51
Points: 6
All the versions I have are the same of the dll

The zip files that you attached do not have any files to extract.

Thanks

Chris
Chris Herrington
Posted: Thursday, November 29, 2007 12:17:07 PM
Rank: Advanced Member
Groups: Member

Joined: 9/6/2005
Posts: 51
Points: 6
What I would really like is pretty simple. I just want to kow what I need to have in the web config to path the public and private cache folders. Please attach a web config sample if you could and then I can test it from there. I have all the other code that works it just can not find the file because it doesn;t know where to look for it. Again please help..................

Thanks

Chris
Dmitry
Posted: Friday, November 30, 2007 4:17:00 AM
Rank: Advanced Member
Groups: Administration , Member

Joined: 8/3/2003
Posts: 607
Points: 651
Hello Chris,

I have answered you by email.

Sincerely yours,
Dmitry Sevostyanov.
Dmitry
Posted: Friday, December 07, 2007 5:01:06 AM
Rank: Advanced Member
Groups: Administration , Member

Joined: 8/3/2003
Posts: 607
Points: 651
Here is web.config file which solves the problem:

Code:

<?xml version="1.0"?>
<configuration>
  <configSections>
    <section name="Aurigma.GraphicsMill.WebControls" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
  </configSections>
  <Aurigma.GraphicsMill.WebControls>
    <add key="RelativePublicCachePath" value="/YourWebProject/PublicCache/"/>
    <add key="RelativePrivateCachePath" value="/YourWebProject/PrivateCache/"/>
    <add key="ClientScriptsLocation" value="/aspnet_client/graphics_mill/4_1_0/"/>
  </Aurigma.GraphicsMill.WebControls>
  <appSettings/>
  <connectionStrings/>
  <system.web>
    <compilation debug="false">
      <assemblies>
        <add assembly="Microsoft.VisualC, Version=8.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
        <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
      </assemblies>
    </compilation>
  </system.web>
</configuration>


Sincerely yours,
Dmitry Sevostyanov.
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Yet Another Forum.net version 1.9.1.6 running under Cuyahoga.
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.