2.3.4.2 in medium trust issues (on godaddy)

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
4/14/2010 1:58:08 PM
Gravatar
Total Posts 34

2.3.4.2 in medium trust issues (on godaddy)

Hi

I've deployed several mojo sites on goddady with no issues however I'm having one right now trying to deploy 2.3.4.2. I'm getting Security exception thrown when running an install. Followed usual installation steps only to see a security exception thrown (after setting custom errors to "Off" to see whats the issue).

I removed the files and did a clean install again with the same result. Subsequenlty I got the 2.3.3.9 from codeplex  and was able to bring up the site with no problems. Did I miss a post or something?

4/15/2010 6:25:16 AM
Gravatar
Total Posts 18439

Re: 2.3.4.2 in medium trust issues (on godaddy)

Hi,

Thanks for letting me know about this. I had made a small change that I did not realize was an issue under medium trust. I tested on my local machine this morning with medium trust and was able to produce the error and fix the problem with a very small change.

I've patched the 2.3.4.2 mssql and sqlazure files with the fix. If you download the package again, the only file that changed is /bin/mojoPortal.Web.dll

Hope it helps,

Joe

5/4/2010 7:25:31 PM
Gravatar
Total Posts 9

Re: 2.3.4.2 in medium trust issues (on godaddy)

I'm having the same issue as above on godaddy.  I downloaded the source code package for 2.3.4.2 on 4/26... Did that package not get updated?  Maybe that is my issue?

5/5/2010 1:59:41 PM
Gravatar
Total Posts 18439

Re: 2.3.4.2 in medium trust issues (on godaddy)

Hi,

No I did not update the source package so that is likely the problem. I generally recommend people get the code from our svn trunk repository to get the most up to date code.

Alternatively, you could get the 2.3.4.3 source code package or you could patch your existing code by commenting out or removing this from /Web/global.asax.cs:

AppDomain.CurrentDomain.SetData("SQLServerCompactEditionUnderWebHosting", true);

Hope it helps,

Joe

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