Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Upload Problem
Rgober
#1 Posted : Wednesday, 1 September 2010 11:47:01 AM(UTC)
Rank: Newbie

Joined: 1/09/2010(UTC)
Posts: 3
Location: Alabama

We really like this program and want to make a donation!! for what we hoped would be a wonderful program to use on our local cub scout website

However

After I have installed GSP on a asp.net 4.0 website "http://pack184slapout.net" everything went great.
But when we try to upload an object nothing happens and we get a blank screen
without even giving me an error. Without any direction to figure out the problem I really need help.. pleae help.
Roger Martin
#2 Posted : Wednesday, 1 September 2010 12:24:09 PM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,167
Location: Fort Atkinson, WI

Can you give me a username / password with permission to upload objects? I'll take a look.

You can email it to roger*at*techinfosystems*dot*com.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Roger Martin
#3 Posted : Wednesday, 1 September 2010 1:55:47 PM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,167
Location: Fort Atkinson, WI

Is your site on a server farm? I noticed I could upload with browsers *other* than Firefox and IE, but the resulting pages did not always contain the latest data. That can happen on a server farm, because each server has its own cached copy of gallery objects.

The next version of GSP (2.4) will contain a configuration setting to disable caching to help in scenarios like this, but there aren't any good options for now (short of editing the code to purge the cache on every page load, which is what one person did). 2.4 will be out by the end of the year.

I can't say for sure the upload problem is related to the server farm, but it is a good bet. The caching issue will probably be your biggest problem, but there is a workaround to get uploading working: Change the site to work in medium trust, which forces GSP to use a standard ASP.NET FileUpload control. To do this, open web.config in a text editor and look for this line:

Code:
<!-- <trust level="Full" /> -->


Change it to this:

Code:
<trust level="Medium" />
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Rgober
#4 Posted : Thursday, 2 September 2010 4:46:19 AM(UTC)
Rank: Newbie

Joined: 1/09/2010(UTC)
Posts: 3
Location: Alabama

There is no trust level setting?

I need to now what section of the web config this belongs in, so I can add it.
Roger Martin
#5 Posted : Thursday, 2 September 2010 5:02:18 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,167
Location: Fort Atkinson, WI

It goes under <system.web>.

But why isn't it there? It should be in all versions of web.config that come with GSP.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Rgober
#6 Posted : Thursday, 2 September 2010 12:58:20 PM(UTC)
Rank: Newbie

Joined: 1/09/2010(UTC)
Posts: 3
Location: Alabama

Hummm

I don't no why it wasn't there.

I did add it and now I'm getting this error "Unable to read the security policy file for trust level 'medium'."

I not sure I am going to have time to run this down right now..

Anyway

Thankyou for your help!!!
Rss Feed  Atom Feed
Users browsing this topic
Guest
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.