Cannot invoke methods in the web server.

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

    Cannot invoke methods in the web server.

    I have created a simple ASP.NET web server. I expose a methos helloWorld().
    when I invoke this method I receive the following error message. I
    definitely seems like a setting issue. Would really appreciate a solution for
    this..

    System.IO.FileN otFoundExceptio n: File or assembly name ktqipm75.dll, or one
    of its dependencies, was not found.
    File name: "ktqipm75.d ll"
    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. XmlReturn.GetIn itializers(Logi calMethodInfo[]
    methodInfos)
    at
    System.Web.Serv ices.Protocols. XmlReturnWriter .GetInitializer s(LogicalMethod Info[] methodInfos)
    at System.Web.Serv ices.Protocols. MimeFormatter.G etInitializers( Type type,
    LogicalMethodIn fo[] methodInfos)
    at System.Web.Serv ices.Protocols. HttpServerType. .ctor(Type type)
    at System.Web.Serv ices.Protocols. HttpServerProto col.Initialize( )
    at System.Web.Serv ices.Protocols. ServerProtocolF actory.Create(T ype type,
    HttpContext context, HttpRequest request, HttpResponse response, Boolean&
    abortProcessing )

    === Pre-bind state information ===
    LOG: Where-ref bind. Location = C:\WINNT\TEMP\k tqipm75.dll
    LOG: Appbase = file:///C:/Inetpub/wwwroot/FaultInjector
    LOG: Initial PrivatePath = bin
    Calling assembly : (Unknown).
    ===

    LOG: Policy not being applied to reference at this time (private, custom,
    partial, or location-based assembly bind).
    LOG: Attempting download of new URL file:///C:/WINNT/TEMP/ktqipm75.dll.

  • erymuzuan

    #2
    Re: Cannot invoke methods in the web server.

    Try to re-register asp.net by running aspnet_regiis.e xe -i then reset
    iis using iisreset

    regards
    erymuzuan

    Subbu wrote:[color=blue]
    > I have created a simple ASP.NET web server. I expose a methos helloWorld().
    > when I invoke this method I receive the following error message. I
    > definitely seems like a setting issue. Would really appreciate a solution for
    > this..
    >
    > System.IO.FileN otFoundExceptio n: File or assembly name ktqipm75.dll, or one
    > of its dependencies, was not found.
    > File name: "ktqipm75.d ll"
    > 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. XmlReturn.GetIn itializers(Logi calMethodInfo[]
    > methodInfos)
    > at
    > System.Web.Serv ices.Protocols. XmlReturnWriter .GetInitializer s(LogicalMethod Info[] methodInfos)
    > at System.Web.Serv ices.Protocols. MimeFormatter.G etInitializers( Type type,
    > LogicalMethodIn fo[] methodInfos)
    > at System.Web.Serv ices.Protocols. HttpServerType. .ctor(Type type)
    > at System.Web.Serv ices.Protocols. HttpServerProto col.Initialize( )
    > at System.Web.Serv ices.Protocols. ServerProtocolF actory.Create(T ype type,
    > HttpContext context, HttpRequest request, HttpResponse response, Boolean&
    > abortProcessing )
    >
    > === Pre-bind state information ===
    > LOG: Where-ref bind. Location = C:\WINNT\TEMP\k tqipm75.dll
    > LOG: Appbase = file:///C:/Inetpub/wwwroot/FaultInjector
    > LOG: Initial PrivatePath = bin
    > Calling assembly : (Unknown).
    > ===
    >
    > LOG: Policy not being applied to reference at this time (private, custom,
    > partial, or location-based assembly bind).
    > LOG: Attempting download of new URL file:///C:/WINNT/TEMP/ktqipm75.dll.
    >[/color]

    Comment

    • Subbu

      #3
      Re: Cannot invoke methods in the web server.

      Thanks erymuzuan. I tried it, but that did not help either.

      "erymuzuan" wrote:
      [color=blue]
      > Try to re-register asp.net by running aspnet_regiis.e xe -i then reset
      > iis using iisreset
      >
      > regards
      > erymuzuan
      >
      > Subbu wrote:[color=green]
      > > I have created a simple ASP.NET web server. I expose a methos helloWorld().
      > > when I invoke this method I receive the following error message. I
      > > definitely seems like a setting issue. Would really appreciate a solution for
      > > this..
      > >
      > > System.IO.FileN otFoundExceptio n: File or assembly name ktqipm75.dll, or one
      > > of its dependencies, was not found.
      > > File name: "ktqipm75.d ll"
      > > 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. XmlReturn.GetIn itializers(Logi calMethodInfo[]
      > > methodInfos)
      > > at
      > > System.Web.Serv ices.Protocols. XmlReturnWriter .GetInitializer s(LogicalMethod Info[] methodInfos)
      > > at System.Web.Serv ices.Protocols. MimeFormatter.G etInitializers( Type type,
      > > LogicalMethodIn fo[] methodInfos)
      > > at System.Web.Serv ices.Protocols. HttpServerType. .ctor(Type type)
      > > at System.Web.Serv ices.Protocols. HttpServerProto col.Initialize( )
      > > at System.Web.Serv ices.Protocols. ServerProtocolF actory.Create(T ype type,
      > > HttpContext context, HttpRequest request, HttpResponse response, Boolean&
      > > abortProcessing )
      > >
      > > === Pre-bind state information ===
      > > LOG: Where-ref bind. Location = C:\WINNT\TEMP\k tqipm75.dll
      > > LOG: Appbase = file:///C:/Inetpub/wwwroot/FaultInjector
      > > LOG: Initial PrivatePath = bin
      > > Calling assembly : (Unknown).
      > > ===
      > >
      > > LOG: Policy not being applied to reference at this time (private, custom,
      > > partial, or location-based assembly bind).
      > > LOG: Attempting download of new URL file:///C:/WINNT/TEMP/ktqipm75.dll.
      > >[/color]
      >[/color]

      Comment

      • Kiran

        #4
        Re: Cannot invoke methods in the web server.

        hi subbu,
        try to give all access to c:\windows\temp folder
        give complete access to aspnet user for c:\windows\temp folder
        try thiss
        take care
        kiran

        "Subbu" wrote:
        [color=blue]
        > Thanks erymuzuan. I tried it, but that did not help either.
        >
        > "erymuzuan" wrote:
        >[color=green]
        > > Try to re-register asp.net by running aspnet_regiis.e xe -i then reset
        > > iis using iisreset
        > >
        > > regards
        > > erymuzuan
        > >
        > > Subbu wrote:[color=darkred]
        > > > I have created a simple ASP.NET web server. I expose a methos helloWorld().
        > > > when I invoke this method I receive the following error message. I
        > > > definitely seems like a setting issue. Would really appreciate a solution for
        > > > this..
        > > >
        > > > System.IO.FileN otFoundExceptio n: File or assembly name ktqipm75.dll, or one
        > > > of its dependencies, was not found.
        > > > File name: "ktqipm75.d ll"
        > > > 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. XmlReturn.GetIn itializers(Logi calMethodInfo[]
        > > > methodInfos)
        > > > at
        > > > System.Web.Serv ices.Protocols. XmlReturnWriter .GetInitializer s(LogicalMethod Info[] methodInfos)
        > > > at System.Web.Serv ices.Protocols. MimeFormatter.G etInitializers( Type type,
        > > > LogicalMethodIn fo[] methodInfos)
        > > > at System.Web.Serv ices.Protocols. HttpServerType. .ctor(Type type)
        > > > at System.Web.Serv ices.Protocols. HttpServerProto col.Initialize( )
        > > > at System.Web.Serv ices.Protocols. ServerProtocolF actory.Create(T ype type,
        > > > HttpContext context, HttpRequest request, HttpResponse response, Boolean&
        > > > abortProcessing )
        > > >
        > > > === Pre-bind state information ===
        > > > LOG: Where-ref bind. Location = C:\WINNT\TEMP\k tqipm75.dll
        > > > LOG: Appbase = file:///C:/Inetpub/wwwroot/FaultInjector
        > > > LOG: Initial PrivatePath = bin
        > > > Calling assembly : (Unknown).
        > > > ===
        > > >
        > > > LOG: Policy not being applied to reference at this time (private, custom,
        > > > partial, or location-based assembly bind).
        > > > LOG: Attempting download of new URL file:///C:/WINNT/TEMP/ktqipm75.dll.
        > > >[/color]
        > >[/color][/color]

        Comment

        Working...