Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / May 2005

Tip: Looking for answers? Try searching our database.

How to deploy a web service on IIS 6.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jensen bredal - 10 May 2005 14:40 GMT
I have created a virtual directory for my webservice on iis 6 and i can
browse the asmx file. But when i triy to invoke it, i get the following
error:System.IO.FileNotFoundException: ?
File name: "jgkvbdhy.dll"
  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.XmlReturn.GetInitializers(LogicalMethodInfo[]
methodInfos)
  at
System.Web.Services.Protocols.XmlReturnWriter.GetInitializers(LogicalMethodInfo[]
methodInfos)
  at System.Web.Services.Protocols.MimeFormatter.GetInitializers(Type type,
LogicalMethodInfo[] methodInfos)
  at System.Web.Services.Protocols.HttpServerType..ctor(Type type)
  at System.Web.Services.Protocols.HttpServerProtocol.Initialize()
  at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type,
HttpContext context, HttpRequest request, HttpResponse response, Boolean&
abortProcessing)

=== Pre-bind state information ===
LOG: Where-ref bind. Location = C:\WINDOWS\TEMP\jgkvbdhy.dll
LOG: Appbase = file:///D:/Mywebservice
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:/WINDOWS/TEMP/jgkvbdhy.dll.What i'm i missing?Many thanksJB
Lionel LASKE - 10 May 2005 15:17 GMT
Your ASP.NET account (or the account used for your virtual directory) must
have Write access on the TEMP directory due to .NET XmlSerializer.
"The XmlSerializer creates C# files (.cs files) and compiles them into .dll
files in the directory named by the TEMP environment variable; serialization
occurs with those DLLs ." See on
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cp
conintroducingxmlserialization.asp


                           Lionel.

>I have created a virtual directory for my webservice on iis 6 and i can
>browse the asmx file. But when i triy to invoke it, i get the following
[quoted text clipped - 38 lines]
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/TEMP/jgkvbdhy.dll.What i'm i missing?Many thanksJB
jensen bredal - 10 May 2005 15:55 GMT
Well, that does not seem to help me much.

maybe i have a different problem.
brian - 17 May 2005 20:30 GMT
I had this problem.. and this IS the solution for me!!

MAJOR MAJOR THANKS!!!
I should've thought of this after looking at my error log.. but it was
totally escaping me!!

Brian

> Your ASP.NET account (or the account used for your virtual directory) must
> have Write access on the TEMP directory due to .NET XmlSerializer.
[quoted text clipped - 4 lines]
>
>                             Lionel.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.