MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Monox Error on Load First Time  (Mono Support )

Viewed 44068 time(s), 6 post(s) 6/19/2015 3:15:42 PMby jagh1987
jagh1987

jagh1987

6/19/2015 3:19:19 PM
Hello everyone

sorry if I am reporting an error previously discussed again. But I was looking for a topic related to the problem that I have not found any reference to my problem. I have a web project based on Monox v4.9.40.4906 in Visual Studio 2010, SQL Server 2012.

The project compiles fine without any error. But when I publish the project and upload it to the server, I get an error message, but this error only appears the first time that the browser loads the page.


"Error
An error has occured in the application. "

"This event has-been logged and will be addressed by the maintenance department. We appreciate your patience.
To continue Working with the application please click here "

When I press click on the word "here", the page loads fine without any error. And I can navigate the site without problems. But when I publish the project again. The error occur again.

Has anyone had a similar problem? or, could someone please tell me how to solve this problem?

Please and thank you for the help.
This content has not been rated yet. 
55 Reputation 7 Total posts
kpeulic

kpeulic

6/22/2015 8:26:54 AM
Did you check logs?
This content has not been rated yet. 
1849 Reputation 181 Total posts
jagh1987

jagh1987

6/22/2015 7:58:04 PM
Yes i did, but in the log's directory... No log is generated... I need configure something to activate the logs?...
This content has not been rated yet. 
55 Reputation 7 Total posts
kpeulic

kpeulic

6/23/2015 9:53:29 AM
You probably need to set appropriate write permissions to that folder. 
This content has not been rated yet. 
1849 Reputation 181 Total posts
mzilic

mzilic

6/23/2015 9:58:31 AM
Hello,

Depending on how you setup the APP Pool either running it under network service or under ApplicationPoolIdentity you need to set write permissions for MonoX upload folder and application data folders.

Regards
This content has not been rated yet. 
2218 Reputation 300 Total posts
jagh1987

jagh1987

6/26/2015 3:43:02 PM
Thanks for the help ...

Sorry for responding so late, but had been unable to work on the server until today. But according to your comments, this is what I did ...

I assigned write privileges for the user APPPOOL Identity in the directory "..\MonoX\ApplicationData\Logs"

I also checked the application group settings, was set up as a network service and I change to APPPOOL Identity ...

Finally, I installed on the server .NETFramework 4.5... Although APPPOOL sincerely  is using .NETFramework 4.0 ... So I do not think this last step has influenced ...

With this. I published the web site again and have tried several times to load the page. and the error no longer appears.

So I guess the error is solved. So thank you very much kpeulic and mzilic ... I'll be alert to any eventuality

regards
This content has not been rated yet. 
55 Reputation 7 Total posts