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(AssemblyNa me assemblyRef,
Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)
at System.Reflection.Assembly.Load(AssemblyName assemblyRef, Evidence
assemblySecurity)
at System.CodeDom.Compiler.CompilerResults.get_Compil edAssembly()
at System.CodeDom.Compiler.CompilerResults.get_Compil edAssembly()
at System.Xml.Serialization.Compiler.Compile()
at System.Xml.Serialization.TempAssembly..ctor(XmlMap ping[] xmlMappings)
at System.Xml.Serialization.XmlSerializer.FromMapping s(XmlMapping[]
mappings)
at System.Web.Services.Protocols.SoapClientType..ctor (Type type)
at System.Web.Services.Protocols.SoapHttpClientProtoc ol..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-