[Mono-list] how to resolve kernel32 error from mono

Bharti Mishra bharti2.m at tcs.com
Wed Jul 15 03:09:07 EDT 2009


hi,
    I am using;
    1. mono2.4.2
    2. open suse11.1
    3. existing vb.net code which uses asp.net1.1 version

when I execute my existing code with mono it creates one servererrorlog file
inside my project folder, in which I got following error message:-
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html
xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en"><head><title>Error 500</title><style type="text/css">body
{font-family:"Verdana","DejaVu
Sans",sans-serif;font-weight:normal;font-size:
.7em;color:black;background-color: white}
p {font-family:"Verdana","DejaVu
Sans",sans-serif;font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana","DejaVu
Sans",sans-serif;font-weight:bold;color:black;margin-top: -5px}
h1 { font-family:"Verdana","DejaVu
Sans",sans-serif;font-weight:normal;font-size:18pt;color:red }
h2 { font-family:"Verdana","DejaVu
Sans",sans-serif;font-weight:normal;font-size:14pt;color:maroon }
pre,code {font-family:"Lucida Console","DejaVu Sans
Mono",monospace;font-size: 0.9em,white-space: pre-line}
div.bodyText {font-family: "Verdana","DejaVu Sans",sans-serif}
table.sampleCode {width: 100%; background-color: #ffffcc; }
.errorText {color: red; font-weight: bold}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy;
cursor:pointer; }</style></head><body><h1>Server Error in '/BLa4'
Application</h1><hr style="color: silver"/><h2><em>Kernel32</em></h2>
<p><strong>Description: </strong>HTTP 500. Error processing request.</p>
<p><strong>Stack Trace: </strong></p><table summary="Stack Trace"
class="sampleCode">
<tr><td><pre>System.DllNotFoundException: Kernel32
  at (wrapper managed-to-native)
FNS.FrontEnd.Workflow.Server.BancsLinkWeb.Stopwatch:QueryPerformanceCounter
(long&amp;)
  at FNS.FrontEnd.Workflow.Server.BancsLinkWeb.Stopwatch..ctor
(System.String description) [0x00000] 
  at FNS.FrontEnd.Workflow.Server.BancsLinkWeb.Stopwatch..ctor () [0x00000] 
  at FNS.FrontEnd.Workflow.Server.BancsLinkWeb.CFNSServer.Page_Load
(System.Object sender, System.EventArgs e) [0x00000] 
  at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x00000] 
  at System.Web.UI.Control.LoadRecursive () [0x00000] 
  at System.Web.UI.Page.ProcessLoad () [0x00000] 
  at System.Web.UI.Page.ProcessPostData () [0x00000] 
  at System.Web.UI.Page.InternalProcessRequest () [0x00000] 
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x00000] </pre></td></tr>
</table>
<hr style="color: silver"/><strong>Version information: </strong> Mono
Version: 2.0.50727.1433; ASP.NET Version: 2.0.50727.1433</body></html>

<!--
[System.Web.HttpUnhandledException]: Exception of type
'System.Web.HttpUnhandledException' was thrown.

I dont know how to resolve this "System.DllNotFoundException:kernel32".
 
one more thing, before project execution it is necessary to execute one .exe
to create logs in event viewer. but I dont know how to configure eventlog
entry in mono.

when I access my project through browser it gives me "please contact to
administrator"

I am not able to recognise "for which reasion this error is coming"
so pls guide me....
-- 
View this message in context: http://www.nabble.com/how-to-resolve-kernel32-error-from-mono-tp24492962p24492962.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list