webservice中的问题[磁盘上没有足够的空间] [英] Problem in webservice [There is not enough space on the disk]

查看:130
本文介绍了webservice中的问题[磁盘上没有足够的空间]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有网络服务货币转换,USD到AUD在以下链接: http://www.webservicex.com/CurrencyConvertor.asmx?op=ConversionRate



我会遇到类似的问题..

I have web service the currency conversion , USD To AUD On Below Link: http://www.webservicex.com/CurrencyConvertor.asmx?op=ConversionRate

on that i''ll got the problem like ..

System.IO.IOException: There is not enough space on the disk.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.FileStream.FlushWrite(Boolean calledFromFinalizer)
   at System.IO.FileStream.Dispose(Boolean disposing)
   at System.IO.Stream.Close()
   at System.IO.StreamWriter.Dispose(Boolean disposing)
   at System.IO.TextWriter.Dispose()
   at Microsoft.CSharp.CSharpCodeGenerator.FromSourceBatch(CompilerParameters options, String[] sources)
   at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, String[] sources)
   at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromSource(CompilerParameters options, String[] sources)
   at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
   at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)
   at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
   at System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[] mappings, Type type)
   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)



我不明白这个问题请帮帮我....


I Don''t Understand the problem please Help me Out....

推荐答案

错误清楚地说:磁盘上没有足够的空间。



您在代码中执行的任何操作都需要磁盘上的一些空间,这是不可用的,因此错误。
Error clearly says: " There is not enough space on the disk."

Whatever operation you are doing in your code needs some space on disk which is not available, hence the error.


只是澄清其他注释/解决方案,因为它看起来像问题是服务器上的空白 。 br />
跟踪显示正在尝试序列化某个类时发生这种情况,因此使用反射和代码生成的.NET框架正在尝试创建/编译序列化程序集。

所以看一下服务器应用程序序列化类的位置。
Just clarifying the other comments/solution in that it looks like the problem is available space on the server.
The trace shows that this is happening as it is trying to Serialize some class, and so the .NET framework, using Reflection and Code Generation, is trying to create/compile the serialization assembly.
So look at where the server application is serializing classes.


这篇关于webservice中的问题[磁盘上没有足够的空间]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆