[Mono-bugs] [Bug 461200] Visual Studio cannot consume Mono web service

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jan 6 07:31:10 EST 2009


https://bugzilla.novell.com/show_bug.cgi?id=461200

User kobruleht2 at hot.ee added comment
https://bugzilla.novell.com/show_bug.cgi?id=461200#c8





--- Comment #8 from andrus moor <kobruleht2 at hot.ee>  2009-01-06 05:31:09 MST ---
I tried attachment.

After typing

http://localhost/StockService.asmx and pressing Go button 
I got http 500 error code with page below.

I have reported this earlier in another bug.

There was an error downloading 'http://localhost/StockService.asmx'.
The request failed with the error message:
--
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html
xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><title>Error
500</title><style type="text/css">body {font-family:"Verdana","DejaVu
Sans",sans-serif;font-weight:normal;font-size:
7em;color:black;background-color: white}
p {font-family:"Verdana","DejaVu
Sans",sans-serif;font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana","DejaVu
Sans",sans-serif;font-weight:bold;color:black;margin-top: -5px}
h1 { font-family:"Verdana","DejaVu
Sans",sans-serif;font-weight:normal;font-size:18pt;color:red }
h2 { font-family:"Verdana","DejaVu
Sans",sans-serif;font-weight:normal;font-size:14pt;color:maroon }
pre,code {font-family:"Lucida Console","DejaVu Sans Mono",monospace;font-size:
0.9em,white-space: pre-line}
div.bodyText {font-family: "Verdana","DejaVu Sans",sans-serif}
table.sampleCode {width: 100%; background-color: #ffffcc; }
errorText {color: red; font-weight: bold}
marker {font-weight: bold; color: black;text-decoration: none;}
version {color: gray;}
error {margin-bottom: 10px;}
expandable { text-decoration:underline; font-weight:bold; color:navy;
cursor:pointer; }</style></head><body><h1>Server Error in '/'
Application</h1><hr style="color:
silver"/><h2><em>'/@@MonoFakeVirtualPath@@c:\mono\lib\..\etc\mono\2.0\DefaultWsdlHelpGenerator.aspx'
is not a valid virtual path.</em></h2>
<p><strong>Description: </strong>HTTP 500. Error processing request.</p>
<p><strong>Stack Trace: </strong></p><table summary="Stack Trace"
class="sampleCode">
<tr><td><pre>System.Web.HttpException:
'/@@MonoFakeVirtualPath@@c:\mono\lib\..\etc\mono\2.0\DefaultWsdlHelpGenerator.aspx'
is not a valid virtual path.<br />  at System.Web.HttpRequest.MapPath
(System.String virtualPath, System.String baseVirtualDir, Boolean
allowCrossAppMapping) [0x00000] <br />  at System.Web.HttpRequest.MapPath
(System.String virtualPath) [0x00000] <br />  at
System.Web.Compilation.GenericBuildProvider`1[System.Object].Parse () [0x00000]
<br />  at
System.Web.Compilation.GenericBuildProvider`1[System.Object].get_CodeCompilerType
() [0x00000] <br />  at
System.Web.Compilation.BuildManager.GetCodeDomProviderType
(System.Web.Compilation.BuildProvider provider) [0x00000] <br />  at
System.Web.Compilation.BuildManager+BuildItem..ctor
(System.Web.Compilation.BuildProvider provider) [0x00000] <br />  at
System.Web.Compilation.BuildManager.LoadBuildProviders (System.Web.VirtualPath
virtualPath, System.String virtualDir, System.Collections.Generic.Dictionary`2
vpCache, System.Web.Compilation.BuildKind& kind, System.String&
assemblyBaseName) [0x00000] <br />  at
System.Web.Compilation.BuildManager.BuildAssembly (System.Web.VirtualPath
virtualPath) [0x00000] <br />  at
System.Web.Compilation.BuildManager.GetCompiledType (System.String virtualPath)
[0x00000] <br />  at
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath
(System.String virtualPath, System.Type requiredBaseType) [0x00000] <br />  at
System.Web.Services.Protocols.SoapDocumentationHandler..ctor (System.Type type,
System.Web.HttpContext context) [0x00000] <br />  at
System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler
(System.Web.HttpContext context, System.String verb, System.String url,
System.String filePath) [0x00000] <br />  at
System.Web.Script.Services.ScriptHandlerFactory.GetHandler
(System.Web.HttpContext context, System.String requestType, System.String url,
System.String pathTranslated) [0x00000] <br />  at
System.Web.HttpApplication.GetHandler (System.Web.HttpContext context,
System.String url, Boolean ignoreContextHandler) [0x00000] <br />  at
System.Web.HttpApplication.GetHandler (System.Web.HttpContext context,
System.String url) [0x00000] <br />  at
System.Web.HttpApplication+<Pipeline>c__Iterator5.MoveNext () [0x00000]
</pre></td></tr>
</table>
<hr style="color: silver"/><strong>Version information: </strong> Mono Version:
2.0.50727.1433; ASP.NET Version: 2.0.50727.1433</body></html>
<!--
[System.Web.HttpException]:
'/@@MonoFakeVirtualPath@@c:\mono\lib\..\etc\mono\2.0\DefaultWsdlHelpGenerator.aspx'
is not a valid virtual path.
  at System.Web.HttpRequest.MapPath (System.String virtualPath, System.String
baseVirtualDir, Boolean allowCrossAppMapping) [0x00000] 
  at System.Web.HttpRequest.MapPath (System.String virtualPath) [0x00000] 
  at System.Web.Compilation.GenericBuildProvider`1[System.Object].Parse ()
[0x00000] 
  at
System.Web.Compilation.GenericBuildProvider`1[System.Object].get_CodeCompilerType
() [0x00000] 
  at System.Web.Compilation.BuildManager.GetCodeDomProviderType
(System.Web.Compilation.BuildProvider provider) [0x00000] 
  at System.Web.Compilation.BuildManager+BuildItem..ctor
(System.Web.Compilation.BuildProvider provider) [0x00000] 
  at System.Web.Compilation.BuildManager.LoadBuildProviders
(System.Web.VirtualPath virtualPath, System.String virtualDir,
System.Collections.Generic.Dictionary`2 vpCache,
System.Web.Compilation.BuildKind& kind, System.String& assemblyBaseName)
[0x00000] 
  at System.Web.Compilation.BuildManager.BuildAssembly (System.Web.VirtualPath
virtualPath) [0x00000] 
  at System.Web.Compilation.BuildManager.GetCompiledType (System.String
virtualPath) [0x00000] 
  at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath
(System.String virtualPath, System.Type requiredBaseType) [0x00000] 
  at System.Web.Services.Protocols.SoapDocumentationHandler..ctor (System.Type
type, System.Web.HttpContext context) [0x00000] 
  at System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler
(System.Web.HttpContext context, System.String verb, System.String url,
System.String filePath) [0x00000] 
  at System.Web.Script.Services.ScriptHandlerFactory.GetHandler
(System.Web.HttpContext context, System.String requestType, System.String url,
System.String pathTranslated) [0x00000] 
  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context,
System.String url, Boolean ignoreContextHandler) [0x00000] 
  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context,
System.String url) [0x00000] 
  at System.Web.HttpApplication+<Pipeline>c__Iterator5.MoveNext () [0x00000] 
-->
--.
Metadata contains a reference that cannot be resolved:
'http://localhost/StockService.asmx'.
Metadata contains a reference that cannot be resolved:
'http://localhost/StockService.asmx'.
If the service is defined in the current solution, try building the solution
and adding the service reference again.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list