Error.htm page on first time running

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.
12/26/2010 2:03:33 PM
Gravatar
Total Posts 21

Error.htm page on first time running

Hi,

I upload mojoportal 2.3.5.8 to the server, and in the first time when I go to the site, its referred me to Error.htm file.

The System did not run the setup file ,just straight go to the error file.

And when I try to write the exact path to /setup.default.aspx  its referred me again to Error.htm file.

My server supports .Net framework 4 and mssql 2008.

Thanks to all who help me,

Oran.

 

12/26/2010 3:14:43 PM
Gravatar
Total Posts 21

Re: Error.htm page on first time running

I change in the web.config , so I can see the message:

 

 

Security Exception

Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: System.Security.Permissions.SecurityPermission

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[SecurityException: System.Security.Permissions.SecurityPermission]
Brettle.Web.NeatUpload.UploadHttpModule.GetCurrentWorkerRequest() +40
Brettle.Web.NeatUpload.UploadHttpModule.Application_BeginRequest(Object sender, EventArgs e) +403
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75 

12/26/2010 3:23:14 PM
Gravatar
Total Posts 21

Re: Error.htm page on first time running

I change the web.config to the medium trust and now its running.

Is it okay if it's running in medium trust?

12/26/2010 4:42:23 PM
Gravatar
Total Posts 21

Re: Error.htm page on first time running

Another problem :)

Now I have problem with the connection string:

-----------------------------------------------------------------------------------------

Probing system...
File system permissions ok.
The system cannot connect to the MSSQL database. Please check your connection string.

System.Data.SqlClient.SqlException (0x80131904): Login failed for user 'kitornet'. at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.SqlClient.SqlConnection.Open() at mojoPortal.Data.DBPortal.DatabaseHelperGetConnectionError(String overrideConnectionInfo)

------------------------------------------------------------------------------------------

 

I copy the connection string from the server information:

value="Data Source=62.219.7.21;Initial Catalog=*****;Integrated Security=False;User ID=*****;Connect Timeout=45;Encrypt=False;Packet Size=4096"

Does anyone know what could be the problem with this string?

12/27/2010 9:59:57 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Error.htm page on first time running

If you're running in a hosted environment, you may need a database password in your connect string. I believe MSSQL will try to use Windows authentication if you don't specify a password, but I don't know if that works under shared hosting.

If you are running on your own server, you definitely shouldn't need to use medium trust.

12/27/2010 12:16:51 PM
Gravatar
Total Posts 21

Re: Error.htm page on first time running

Hi Jamie,

Thanks for your help.

You're right, the problem was the password, I fixed it and installation was completed.

Oran.

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