Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Chris Herrington  
#1 Posted : Wednesday, September 19, 2007 9:47:39 PM(UTC)
Chris Herrington

Rank: Advanced Member

Groups: Member
Joined: 9/6/2005(UTC)
Posts: 106

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  
#2 Posted : Thursday, September 20, 2007 7:25:26 PM(UTC)
Alex Kon

Rank: Advanced Member

Groups: Member
Joined: 1/31/2005(UTC)
Posts: 458

Was thanked: 5 time(s) in 5 post(s)
Hello Chris,

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

Chris Herrington  
#3 Posted : Wednesday, September 26, 2007 1:21:54 AM(UTC)
Chris Herrington

Rank: Advanced Member

Groups: Member
Joined: 9/6/2005(UTC)
Posts: 106

Yep I am sure...
Sergey Peshekhonov  
#4 Posted : Sunday, September 30, 2007 7:02:20 PM(UTC)
Sergey Peshekhonov

Rank: Advanced Member

Groups: Member
Joined: 6/5/2007(UTC)
Posts: 57

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.

Edited by user Thursday, May 22, 2008 9:09:24 PM(UTC)  | Reason: Not specified

Sincerely yours,

Sergey Peshekhonov.

Aurigma Technical Support Team.

Chris Herrington  
#5 Posted : Wednesday, November 28, 2007 4:33:16 AM(UTC)
Chris Herrington

Rank: Advanced Member

Groups: Member
Joined: 9/6/2005(UTC)
Posts: 106

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  
#6 Posted : Wednesday, November 28, 2007 4:50:38 AM(UTC)
Chris Herrington

Rank: Advanced Member

Groups: Member
Joined: 9/6/2005(UTC)
Posts: 106

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  
#7 Posted : Wednesday, November 28, 2007 5:31:57 AM(UTC)
Chris Herrington

Rank: Advanced Member

Groups: Member
Joined: 9/6/2005(UTC)
Posts: 106

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  
#8 Posted : Wednesday, November 28, 2007 11:41:08 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
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 21 time(s).
4_0_0.zip (20kb) downloaded 18 time(s).
Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

Chris Herrington  
#9 Posted : Thursday, November 29, 2007 3:40:01 AM(UTC)
Chris Herrington

Rank: Advanced Member

Groups: Member
Joined: 9/6/2005(UTC)
Posts: 106

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  
#10 Posted : Thursday, November 29, 2007 4:17:07 AM(UTC)
Chris Herrington

Rank: Advanced Member

Groups: Member
Joined: 9/6/2005(UTC)
Posts: 106

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  
#11 Posted : Thursday, November 29, 2007 8:17:00 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello Chris,

I have answered you by email.

Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

Dmitry  
#12 Posted : Thursday, December 6, 2007 9:01:06 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
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>

Edited by user Saturday, December 15, 2007 6:19:32 AM(UTC)  | Reason: Not specified

Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

Users browsing this topic
Similar Topics
Red X (Discussions – Graphics Mill)
by Chris Herrington 8/23/2006 5:31:44 AM(UTC)
The Dreaded Red X (Discussions – ActiveX/Java Uploader)
by Demian 2/11/2005 2:00:00 AM(UTC)
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.