<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
What is the exception message?<br>
<br>
Perhaps the application is not trusted?<br>
<br>
Did you modify the user that the application runs under? (in IIS).<br>
<pre class="moz-signature" cols="72">Regards, Kenneth, GEOGRAF A/S
</pre>
<br>
<br>
william MGOS skrev:
<blockquote
cite="mid:1539398d0711010428n545270depc9cfadce2c92ae91@mail.gmail.com"
type="cite">
<pre wrap="">hi,
I have already tried that, all those users have full persmissions on
the folder / files.
what else could be wronh?
On Nov 1, 2007 12:19 PM, Kenneth, GEOGRAF A/S <a class="moz-txt-link-rfc2396E" href="mailto:ks@geograf.dk"><ks@geograf.dk></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">That looks like the caller (IUSR or NETWORK SERVICE) is not allowed to
open the file.
Try right clicking the file and adjust permissions for the "Everyone"
user, start with "Full control".
If it works, remove it again and ajust permissions for either
IUSR_<machinename> or NETWORK_SERVICE.
Regards, Kenneth, GEOGRAF A/S
william MGOS skrev:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
i created an IIS webapplication and created a page. In the load event
of the page I put this. The file exists, so mgInitializeWebTier is
called. Now it throws an exception. What could this be?
System.Security.SecurityException:
System.Security.Permissions.SecurityPermission
at MapGuideApi.MgInitializeWebTier(String configFile)
string filename;
filename = Server.MapPath("webconfig.ini");
try{
if (File.Exists(filename))
{
MapGuideApi.MgInitializeWebTier(filename);
}
}catch(Exception ex)
{
}
_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
<pre wrap="">_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
<pre wrap=""><!---->_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
</body>
</html>