473,797 Members | 3,015 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.

Nov 23 '05 #1
3 4125
Try to re-register asp.net by running aspnet_regiis.e xe -i then reset
iis using iisreset

regards
erymuzuan

Subbu wrote:
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.

Nov 23 '05 #2
Thanks erymuzuan. I tried it, but that did not help either.

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

regards
erymuzuan

Subbu wrote:
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.

Nov 23 '05 #3
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:
Thanks erymuzuan. I tried it, but that did not help either.

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

regards
erymuzuan

Subbu wrote:
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.

Nov 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
1732
by: Sandro | last post by:
hello ng i know, probably i am not the first asking about this, but i am really dependent on it. i have an asp.net application (aspx/jscript with c# codebehind) and i am searching for a possibility to invoke c# funtioncalls in the jscript-code. as i know there is a possible way by using XmlHttp, but isn't there any
1
1585
by: Phil | last post by:
How do I invoke a Word method on Words' thread, instead of on my app's thread? Background: My VB.NET app automates Word (2000 and onwards). After I do some editing (successfully) on a Word.Document object, I then call the document object's Save method, but it produces the following COMException: "The Save method or property is not available because this document is in another application." I have had numerous similiar COMExceptions...
11
13570
by: JPRoot | last post by:
Hi I wish to set/get a property using System.ComponentModel.ISynchronizeInvoke.Invoke but I cannot find the exact syntax.. Any clue how to do this (right now I am making GetEnabled/SetEnabled methods when I wish to get/set Form.Enabled property. Thank JPRoo
0
3088
by: Alex Zhitlenok | last post by:
Hi, On Google, one can find a lot of statements that Invoke and InvokeMemeber work alike. However, my own experience contradicts this statement. 1. Surprisingly, Invoke and InvokeMember methods work differently! I'm working with some legacy COM. The COM object (CMyCOM) implements an interface that is not dual. The interface has a method, let say, HRESULT Foo(); The corresponded coclass defines an interface
3
6314
by: Manfred Braun | last post by:
Hi All, I am able to invoke some methods from an instance of a loaded assembly, but I am not able to invoke the loaded assemblie's "Main" method. I try it this way: Assembly assembly = Assembly.LoadFrom(config.exec.assemblyName); tRunnable = assembly.GetType(config.exec.typeName); object runner = assembly.CreateInstance("Demo"); Type type = runner.GetType();
5
4668
by: User N | last post by:
I have a log class with static methods that grab and release a mutex as required. The log class is designed to be called from both GUI and thread pool threads, and dump output to a logfile and a RichEditBox. To give you some idea of the approach I took... private static RichTextBox rtb; private delegate void RtbAppendTextHandler(string output); private static RtbAppendTextHandler RtbAppendText; Log.Init(RichTextBox richTextBox,...
0
2961
by: Pawan Narula via DotNetMonster.com | last post by:
hi all, i'm using VB.NET and trying to code for contact management in a tree. all my contacts r saved in a text file and my C dll reads them one by one and sends to VB callback in a sync mode thread. so far so good. all contacts r added properly. now when another login adds me in his contact, i recv a subscription, so i popup a form and ask for accept/reject. this all happens in a separate thread. popup form gets opened and choice is...
0
1870
by: JGKjr | last post by:
I have a Web Application written in C#. I am trying to call a web service method and recieve the error: System.InvalidCastException: Cannot assign object of type System.Boolean to an object of type System.String. I am able to call other methods within the same web service but not this one. Here is the generated code for this method after adding the Web Reference:
0
1673
by: Rene Ruppert | last post by:
Hi, On the web I found a simple sample/tutorial for a webservice, some kind of chat software. I implemented the server and the client. When I run the client form on the host PC everything works fine. When I run it on the PPC device emulator it keeps saying that it cannot connect to the server. The device emu is cradled and I can surf the web with Pocket Internet Explorer. But: when I call the ChatService.asmx file from Pocket Explorer
0
10468
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10245
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10205
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7559
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6802
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5582
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4131
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3748
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2933
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.