.NET Framework Configuration Issue

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Brian Riley

    .NET Framework Configuration Issue

    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.Reflecti on.Assembly.nLo ad(AssemblyName fileName, String
    codeBase, Boolean isStringized, Evidence assemblySecurit y, Boolean
    throwOnFileNotF ound, Assembly locationHint, StackCrawlMark& stackMark)
    at System.Reflecti on.Assembly.Int ernalLoad(Assem blyName assemblyRef,
    Boolean stringized, Evidence assemblySecurit y, StackCrawlMark& stackMark)
    at System.Reflecti on.Assembly.Loa d(AssemblyName assemblyRef, Evidence
    assemblySecurit y)
    at System.CodeDom. Compiler.Compil erResults.get_C ompiledAssembly ()
    at System.CodeDom. Compiler.Compil erResults.get_C ompiledAssembly ()
    at System.Xml.Seri alization.Compi ler.Compile()
    at System.Xml.Seri alization.TempA ssembly..ctor(X mlMapping[] xmlMappings)
    at System.Xml.Seri alization.XmlSe rializer.FromMa ppings(XmlMappi ng[]
    mappings)
    at System.Web.Serv ices.Protocols. SoapClientType. .ctor(Type type)
    at System.Web.Serv ices.Protocols. SoapHttpClientP rotocol..ctor()
    at wc3Object.wcCom monUtility.Comm onUtility..ctor ()
    at wc3Object.WC3Ob ject..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,
    WebSiteAnonymou sUser (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\Tempo rary ASP .NET Files to the same
    users listed above (just added the Everyone account)

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