Me too: Medium trust on godaddy

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

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.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
7/15/2010 5:22:11 PM
wes
Gravatar
Total Posts 5

Me too: Medium trust on godaddy

 

I get the following error after copying all files over, updating user.config with db string and such, finally changing to medium trust we.config:

 

Server Error in '/' Application.


Runtime Error

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

				<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>


Notes: The current error pa ....bla bla

I did read some previous posts, but couldn't find anything that might help:

db: mysql 5.0

windows

iis6

mojo 2.3.4.5

did not install DSN (whatever that is) on the database

7/15/2010 5:30:38 PM
wes
Gravatar
Total Posts 5

Re: Me too: Medium trust on godaddy

What I forgot to say:

I did not copy the dlls from the MySql data layer download into the /bin folder overwriting any files by the same name. You should also copy the contents of the Setup folder in the MySql Data Layer package into the /Setup folder beneath your site, as I could not install mysql-connector-net-1.0.10.1 as it errors with message: it depends on .Net framework 1.1.10.1, which I apparently do not have installed on my PC?

Wes

7/15/2010 9:12:30 PM
wes
Gravatar
Total Posts 5

Re: Me too: Medium trust on godaddy, post 3

I finally got it. downloaded the MySql_datalayer file. Copied the dlls to /bin and /setup content to /Setup/...

No difference?

7/15/2010 10:12:26 PM
Gravatar
Total Posts 2254

Re: Me too: Medium trust on godaddy

Hi Wes,

I am very confused by your posts. You first state that you using mojoPortal on Medium Trust on GoDaddy, you then state that you did not copy the contents of the /bin directory in the MySQL datalayer zip to the /bin of the site but that "you should" copy the contents of the /Setup directory in the MySQL datalayer zip and that you couldn't install the mysql-connector because you don't have .NET 1.1 on your PC. You don't need to install the mysql-connector and having .NET 1.1 on your PC is not of any concern as you are using GoDaddy for your hosting.

Finally, you state you "got it" but then say there is "No difference."

If you clarify whether or not you have your site working and if you do not what problems you are having and what steps you have followed, I may be able to help.

Thanks,
Joe D.

7/16/2010 11:51:47 AM
wes
Gravatar
Total Posts 5

Re: JOe's response: Me too: Medium trust on godaddy

Hi Joe,

thanks for your response.  And yes, I am confused too. I should have been clearer. So, here we go:

It is not working. I get the error as stated above. I uploaded the MSsql files (from mojoportal-2-3-4-5-mssql-net35-deploymentfiles) to a subdirectory (/New) on my site for a new starting point, as I am currently hosting a site from the root. Then I uploaded the MySQL files to /bin and /setup (I downloaded these from the mojo site: mojoportal 2-3-4-5-mysqldatalayer-GPL) , as stated on the mojoposrtal website. I did update the user.config to include the database connect string and changed the web.config to the content of web.mediumtrust. config.

Still confusing?

Many thanks again for your help,

Wes

7/16/2010 12:31:13 PM
Gravatar
Total Posts 2254

Re: Me too: Medium trust on godaddy

Is your subdirectory configured as an application (Virtual Directory). If it isn't, mojoPortal is not going to run. If it is, you need to check out this page: http://www.mojoportal.com/developer-faq.aspx for information on running multiple .NET apps in a single site.

Keep in mind that if you install your site and get it running in a Virtual Directory, you will not be able to easily move the site to the root of the domain.

If you can, create a Sub-Domain and install your site there. If you have the same issues, let us know.

HTH,
Joe Davis

7/16/2010 1:04:21 PM
wes
Gravatar
Total Posts 5

Re: Me too: Medium trust on godaddy

I'll try to create a sub-domain and try again.

thanks

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