Hi Michael,
How are you doing on this issue, have you got any progress with the WEB
host? If there're anything else we can help, please feel free to post here.
Thanks,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| X-Tomcat-ID: 108091012
| References: <
[email protected]>
<
[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: (e-mail address removed) (Steven Cheng[MSFT])
| Organization: Microsoft
| Date: Thu, 13 Oct 2005 06:43:47 GMT
| Subject: Re: LoadLibrary failing
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| Message-ID: <
[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Lines: 72
| Path: TK2MSFTNGXA01.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:131028
| NNTP-Posting-Host: TOMCATIMPORT1 10.201.218.122
|
| Thanks for Bruce's informative inputs.
|
| Hi Michael,
|
| As Bruce has mentioned, the Trust Level is the potential cause of the
| problem since only "Full" trust level for ASP.NET allow unmanaged code
| execution. And generally public web hosts won't provide this trust level.
| You can ask for your web host to confirm this. for detailed reference on
| ASP.NET trust level setting, you can follow the following msdn tech
article:
|
| #Using Code Access Security with ASP.NET
|
http://msdn.microsoft.com/library/en-us/secmod/html/secmod82.asp?frame=true
|
| Thanks,
|
| Steven Cheng
| Microsoft Online Support
|
| Get Secure!
www.microsoft.com/security
| (This posting is provided "AS IS", with no warranties, and confers no
| rights.)
|
| --------------------
| | From: "Bruce Barker" <
[email protected]>
| | References: <
[email protected]>
| | Subject: Re: LoadLibrary failing
| | Date: Wed, 12 Oct 2005 16:58:19 -0700
| | Lines: 37
| | X-Priority: 3
| | X-MSMail-Priority: Normal
| | X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| | X-RFC2646: Format=Flowed; Response
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| | Message-ID: <
[email protected]>
| | Newsgroups:
|
microsoft.public.dotnet.framework.aspnet,microsoft.public.dotnet.framework.i
| nterop
| | NNTP-Posting-Host: rdcsd1.safeco.com 12.144.134.2
| | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
| | Xref: TK2MSFTNGXA01.phx.gbl
| microsoft.public.dotnet.framework.interop:10146
| microsoft.public.dotnet.framework.aspnet:130978
| | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| |
| | have your isp check the trust level set in machine config. you need
full
| | trust, which they generally turn off.
| |
| | -- bruce (sqlwork.com)
| |
| |
| |
| | | | > I'm using LoadLibrary to import a DLL in a asp.net application.
| | >
| | > The dll was written in c++ and is located in the bin folder
| | >
| | > I have been testing the website on my development machine and our
| inhouse
| | > webserver running IIS 5.1 and it works correctly.
| | >
| | > I'm specifing a real path to LoadLibrary of the form
| | > C:\domains\...\file.dll (obtained from MapPath)
| | >
| | > I have now moved the website to a hosted environment and LoadLibrary
is
| | > returning an error of AccessDeined when I try to load it.
| | >
| | > The hosting company (hoostedasp.net) are happy to work with me to
| resolve
| | > this but I don't have a clue what I'm looking for because the ASP.NET
| dll
| | > in the bin folder can be executed without any problems.
| | >
| | > Any ideas please ?
| | >
| | > --
| | > Michael Tissington
| | >
http://www.oaklodge.com
| | >
http://www.tabtag.com
| | >
| | >
| | >
| |
| |
| |
|
|