[Mono-bugs] [Bug 80619][Nor] Changed - System.Convert exception while reading web.config

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Jan 26 13:44:08 EST 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by sandy.dunlop at gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=80619

--- shadow/80619	2007-01-26 13:15:17.000000000 -0500
+++ shadow/80619.tmp.24574	2007-01-26 13:44:08.000000000 -0500
@@ -227,6 +227,47 @@
 ------- Additional Comments From gert.driesen at pandora.be  2007-01-26 13:15 -------
 I ran your repro from a console app that hosts the ASP.NET runtime 
 (and uses SimpleWorkerRequest), as I do this to have standalone test 
 cases (that do not require XSP). That might explain for the 
 difference. I might even have stumbled onto an issue in 
 SimpleWorkerRequest itself, but I haven't looked into it yet.
+
+------- Additional Comments From sandy.dunlop at gmail.com  2007-01-26 13:44 -------
+The error I get says it doesn't have access to the wsdl file, yet the
+wsdl file has permissions set so that it's readable by everyone. If I
+change the permissions so that it's readable and writable by everyone,
+I get a different error:
+
+System.Reflection.TargetInvocationException: Exception has been thrown
+by the target of an invocation. --->
+Thinktecture.Tools.Web.Services.MetadataLoadingException: An error
+occured while trying to load validation schemas. --->
+System.IO.IOException: Sharing violation on path
+/home/mxadmin/Desktop/Redback/Server/RedbackContract/RedbackWebService.wsdl
+  at System.IO.FileStream..ctor (System.String name, FileMode mode,
+FileAccess access, FileShare share, Int32 bufferSize, Boolean
+anonymous, FileOptions options) [0x00000] 
+  at System.IO.FileStream..ctor (System.String name, FileMode mode,
+FileAccess access, FileShare share, Int32 bufferSize, Boolean isAsync,
+Boolean anonymous) [0x00000] 
+  at System.IO.FileStream..ctor (System.String name, FileMode mode,
+FileAccess access) [0x00000] 
+  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor
+(string,System.IO.FileMode,System.IO.FileAccess)
+  at System.Web.Services.Discovery.DiscoveryClientProtocol.Download
+(System.String& url, System.String& contentType) [0x00000] 
+  at System.Web.Services.Discovery.DiscoveryClientProtocol.DiscoverAny
+(System.String url) [0x00000] 
+  at (wrapper remoting-invoke-with-check)
+System.Web.Services.Discovery.DiscoveryClientProtocol:DiscoverAny (string)
+  at
+Thinktecture.Tools.Web.Services.Extensions.ValidationExtension.LoadSchemasFromServiceDescription
+(System.String wsdlLocation) [0x00000] 
+  at
+Thinktecture.Tools.Web.Services.Extensions.ValidationExtension.GetInitializer
+(System.Type serviceType) [0x00000] --- End of inner exception stack
+trace ---
+
+
+
+It seems to me that System.IO.FileStream is attempting to open the
+file with the wrong FileMode or the wrong FileAccess, or both.


More information about the mono-bugs mailing list