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 )

46815 put(a) pogledan, 6 odgovor(a) 19.6.2015. 15:15:42Kreirao(la) jagh1987
jagh1987

jagh1987

19.6.2015. 15:19:19
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.
Ovaj sadržaj još nije ocijenjen. 
55 Reputacija 7 Ukupno objava
kpeulic

kpeulic

22.6.2015. 8:26:54
Did you check logs?
Ovaj sadržaj još nije ocijenjen. 
1849 Reputacija 181 Ukupno objava
jagh1987

jagh1987

22.6.2015. 19:58:04
Yes i did, but in the log's directory... No log is generated... I need configure something to activate the logs?...
Ovaj sadržaj još nije ocijenjen. 
55 Reputacija 7 Ukupno objava
kpeulic

kpeulic

23.6.2015. 9:53:29
You probably need to set appropriate write permissions to that folder. 
Ovaj sadržaj još nije ocijenjen. 
1849 Reputacija 181 Ukupno objava
mzilic

mzilic

23.6.2015. 9:58:31
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
Ovaj sadržaj još nije ocijenjen. 
2218 Reputacija 300 Ukupno objava
jagh1987

jagh1987

26.6.2015. 15:43:02
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
Ovaj sadržaj još nije ocijenjen. 
55 Reputacija 7 Ukupno objava