.NET Framework Configuration Issue

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi all,
I'm new to the .NET environment, and have run into an issue configuring the
..NET environment and deploying my code onto our production server. Everything
runs fine on our development box, but go figure, it's completely different!

I am trying to migrate a VB 6.0 DLL, ASP based web site over to .NET, and
decided to start with the DB and middle tiers first, thus leaving the
presentation layer in ASP. I have no problem with that specifically, my issue
lies in my system security settings somewhere. I have .NET DLLs (created with
COM Interop), ASP pages, and a few .NET Web Services.

When callinging the WebServices directly from my ASP page via the
MSSOAPClient, I have no issues. (Namespaces start with
"http://localhost/webservices/...";, tried the site's main address, but the
DNS cannot be resolved locally)

When calling my DLLs (which access the webservice) from a .NET EXE and a VB
6.0 EXE (late bound), I have no issues

When calling my DLLs from the ASP pages, I get the following error trying to
access the web services:
File or assembly name h6v-a4my.dll, or one of its dependencies, was not
found.
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String
codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean
throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef,
Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)
at System.Reflection.Assembly.Load(AssemblyName assemblyRef, Evidence
assemblySecurity)
at System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly()
at System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly()
at System.Xml.Serialization.Compiler.Compile()
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings)
at System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[]
mappings)
at System.Web.Services.Protocols.SoapClientType..ctor(Type type)
at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor()
at wc3Object.wcCommonUtility.CommonUtility..ctor()
at wc3Object.WC3Object..ctor()

This leads me to believe that the DLLHost.exe cannot access a folder
involved with the instantiation of my web services, but I have no idea where,
I just opened my "Temporary ASP .NET Files" folder to Everyone, but will have
to wait for a good window to restart IIS.

I have my .NET DLLs installed in a folder on the webserver (same drive as
the website itself) with the following accounts granted full-access to the
folders:
ASP.NET, BATCH, Everyone, INTERACTIVE, NETWORK, SERVICE, SYSTEM,
WebSiteAnonymousUser (just added this one)

I have my web services installed in a folder under the website's root folder
with the same user access authorities as the one above.

I have allowed full access to the
WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP .NET Files to the same
users listed above (just added the Everyone account)

Any help, advice, etc. Would be greatly appreciated. Thanks!
-Brian-
.



Relevant Pages

  • Re: Access97 DB locks up the asp code at times
    ... of these users created the query off the asp and that's the problem. ... but I could never see the employee.ldb on the folder ... I'll chat with our IT group about setting the proper permissions. ... All database users, including the IUSR_MachineName account, need ...
    (microsoft.public.inetserver.asp.general)
  • Re: Drop down is not displaying over frames
    ... This will work with all your pages, no matter which folder they are in, so you only have the single copy of ADOVBS.INC to edit. ... dwt pages instead of frames) I would have to move ADOVBS.INC to the root ... subfolders - does that mean that if I wanted to always include the asp footer ...
    (microsoft.public.frontpage.programming)
  • Re: File System Object Lockdown...possible?
    ... What I don't understand is that when I look at the folder he ... the anonymous user is NOT listed as having any security rights. ... Now, for some ASP events, a request is NOT ... This leads to apparently both IUSR and IWAM ...
    (microsoft.public.inetserver.iis.security)
  • Re: Windows Only Authentication
    ... access an ASP page in the secured folder. ... > At this point the logs show they are logged into IIS. ... It takes accessing another HTM file ...
    (microsoft.public.sqlserver.security)
  • Re: Could not load file or assembly or one of its dependencies. Access
    ... StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean ... Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean ... I've started getting an access denied error on the ... Permission on the website folder ...
    (microsoft.public.dotnet.framework.aspnet)