well, its not iis which is defficient... any idea from where comes this 401 error? GRRRRRRr!
my code is: private void button1_ServerClick(object sender, System.EventArgs e) { try { Websrvcl.localhost.Service1 srv = new Websrvcl.localhost.Service1(); srv.Credentials = new System.Net.NetworkCredential("kiorky","*********"); srv.PreAuthenticate = true; smachaine = ""+ srv.HelloWorld(); Label1.Text=smachaine; } catch (System.Exception ex) { Response.Write(ex.Message); } this code runs on windows but the site is hosted on the same machine... regards KiOrKY <[EMAIL PROTECTED]> wrote : > tHANKS, i have just a 401 error but its the distant server ! > regards > > Bopm <[EMAIL PROTECTED]> > wrote : > > > Kill all mod_mono_server.exe after recompilation. It's not restart with > > > apache now. > > > > -- > > wbr, Sergey 'bopm' Moiseev. > > > > On Fri, 4 Jun 2004, kiorky wrote: > > > > &gt; why have i this error when i use a distant webservice??? > > &gt; i have copy paste my windows files (under visual studio) with > just a > > few > > &gt; modifications (urls) on linux, and configure apache well > (asdp.net > > &gt; applications run) > > &gt; > > &gt; Server error in '/webclient' application > > &gt; Description: Error processing request. > > &gt; > > &gt; Error Message: HTTP 500. > > &gt; > > &gt; Stack Trace: > > &gt; > > &gt; System.ArgumentException: Culture name rvice is not supported. > > &gt; Parameter name: rvice > > &gt; in &lt;0x000f2&gt; > > System.Globalization.CultureInfo:CreateSpecificCulture > > &gt; (string) > > &gt; in (unmanaged) (wrapper managed-to-native) > > &gt; System.Reflection.Assembly:FillName > > &gt; (System.Reflection.Assembly,System.Reflection.AssemblyName) > > &gt; in &lt;0x00004&gt; (wrapper managed-to-native) > > &gt; System.Reflection.Assembly:FillName > > &gt; (System.Reflection.Assembly,System.Reflection.AssemblyName) > > &gt; in &lt;0x0002f&gt; System.Reflection.Assembly:GetName > (bool) > > &gt; in &lt;0x00013&gt; System.Reflection.Assembly:GetName > () > > &gt; in &lt;0x0004f&gt; > System.Web.UI.TemplateParser:AddAssembly > > &gt; (System.Reflection.Assembly,bool) > > &gt; in &lt;0x000b4&gt; > System.Web.UI.TemplateParser:AddAssembliesInBin () > > &gt; in &lt;0x001c1&gt; System.Web.UI.TemplateParser:.ctor > () > > &gt; in &lt;0x00018&gt; > System.Web.UI.TemplateControlParser:.ctor () > > &gt; in &lt;0x00034&gt; System.Web.UI.PageParser:.ctor > > &gt; (string,string,System.Web.HttpContext) > > &gt; in &lt;0x00037&gt; > System.Web.UI.PageParser:GetCompiledPageInstance > > &gt; (string,string,System.Web.HttpContext) > > &gt; in &lt;0x00011&gt; > System.Web.UI.PageHandlerFactory:GetHandler > > &gt; (System.Web.HttpContext,string,string,string) > > &gt; in &lt;0x00374&gt; > System.Web.HttpApplication:CreateHttpHandler > > &gt; (System.Web.HttpContext,string,string,string) > > &gt; in &lt;0x00122&gt; CreateHandlerState:Execute () > > &gt; in &lt;0x00084&gt; StateMachine:ExecuteState > > &gt; (System.Web.HttpApplication/IStateHandler,bool&amp;) > > &gt; > > &gt; > > &gt; > _____________________________________________________________________ > > &gt; Un mot doux à envoyer? Une sortie ciné à organiser? Faites le en > temps > > &gt; réel avec MSN Messenger! C'est gratuit! http://ifrance.com/_reloc/m > > &gt; > > &gt; _______________________________________________ > > &gt; Mono-list maillist - [EMAIL PROTECTED] > > &gt; http://lists.ximian.com/mailman/listinfo/mono-list > > &gt; > > -- > ---------------------------- > - Gloire au monde libre - > ---------------------------- > I{ i () r |{ Y > Debian User > --------------------------------------------- > -- Mathieu PASQUET > -- Testeur Debian SID > -- irc: #debian-fr / irc.freenode.net port: 6667 > -- Site: www.fr.debian.org > --------------------------------------------- > > > _______________________________________________ > Mono-list maillist - [EMAIL PROTECTED] > http://lists.ximian.com/mailman/listinfo/mono-list -- ---------------------------- - Gloire au monde libre - ---------------------------- I{ i () r |{ Y Debian User --------------------------------------------- -- Mathieu PASQUET -- Testeur Debian SID -- irc: #debian-fr / irc.freenode.net port: 6667 -- Site: www.fr.debian.org --------------------------------------------- _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list