Strange Shared Files behavior

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
5/16/2012 1:24:51 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Strange Shared Files behavior

I was notified today that in the Shared Files modules on the production site, the "Add File..." button has been replaced by a generic (unstyled) "Browse" button and edit box. In our development site the Add File button appears and works as expected. For comparison testing, I made sure that I was using an identical web.config and almost identical user.config (only difference was AllowForcingPreferredHostName is true in production and false in development).

I've never used medium trust, but is this the behavior that happens when NeatUpload is not enabled? Any idea what could cause this and what I can do to fix it?

Thanks,

Jamie

5/16/2012 1:34:12 PM
Gravatar
Total Posts 18439

Re: Strange Shared Files behavior

Hi Jamie,

The offical release packages for MS SQL are pre-configured for medium trust (a requirement for the web app gallery) so NeatUpload is disabled by default. You'll need to use the Web.fulltrust.config file to enable NeatUpload. 

Best,

Joe

5/16/2012 1:49:02 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Strange Shared Files behavior

Hey, thanks Joe. We're actually using MySQL built from source, and I verified in the web.config that all of the NeatUpload stuff is uncommented. In fact, other than merging your source repository changes into it, that file hasn't been changed by me in a very long time. Just to make absolutely sure, I took a look at System Info, and ASP.Net Info is showing " v4.0.30319 Running in Full Trust".

I looked at the Brettle.Web.Neat% DLLs, and the number of files and timestamps match in production and development.

Any other ideas?

5/16/2012 1:54:28 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Strange Shared Files behavior

Just on a hunch, I restarted the web server and did the old "space in web.config" trick, and now the button is showing correctly. Yikes.

You must sign in to post in the forums. This thread is closed to new posts.