[Mono-dev] Monodevelop: Failure to import VS.Net Solution

2005-11-09 Thread Craig Marshall
Hi,

I hope this is the right list, I couldn't see anywhere else to post
monodevelop specific questions.

I have a VS.Net 2003 solution which is a web app written in vb.net
code. I am running Ubuntu breezy badger 5.10, and I installed the Mono
binary installation (.bin file) this morning without a hitch.

When I try to import my VS.Net solution file (acm2006.sln) into MD, it
fails and gives me the following error message twice on slightly
different error dialogs:

File not found: /home/cmarshall/Web/Registration/acm2006.cmbx

Also, it doesn't give me any more details when I click details, it
says No more details available.

When I create an empty acm2006.cmbx file in an attempt to satisfy the
error, it complains that the document element is missing, so I guess
it expects an XML document to exist and to read content from it (as
opposed to writing to it). But - I was under the impression that cmbx
is the format for SharpDevelop combine files, why would it be trying
to read from an SD combine file?

When I try and import the .vbproj file, it says Can't open file
/blah/acm2006.vbproj as project. Again, no more details available.

Does this feature work for anyone else, or do I have a strange
solution file, or something else entirely?

Thanks,
Craig
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Mutual authentication with HttpWebRequest?

2005-11-09 Thread Sebastien Pouliot
Hello Jay,

On Tue, 2005-11-08 at 09:43 -0700, Jay Miller wrote:
 I'm in the process of making an authenticating SSL client in Mono and
 I was hoping someone could confirm that mutual authentication doesn't
 currently work via HttpWebRequest/Response (since Mono doesn't search
 the My store for a private key like Windows)

For general information, Windows CryptoAPI, not the FX, looks for an
associated key (it's not a wild search into all the keys available in
the My store). This results in a strange model (in fx 1.x) where you
must have the certificate (without any managed access to the stores) and
can't get/set the private key (again with managed code) without access
to the store. Definitively not a portable API :(

Mono tools doesn't make such association (between certificates and
stores).

 , but instead requires that
 I create an SslClientStream directly (and set the various callbacks).
 
 If this is the case, is it true that the ClientCertificates property of
 HttpWebRequest is just a dummy parameter for now?  

Almost. It goes down to the SslClientStream ctor but there is no
callback possible (in HttpWebRequest) to associate it with a private key
(so it ends up useless).

 Also, are there any
 plans to extend Mono to behave more like the MS stuff? (Not being able to
 use HttpWebRequest/Response is kind of a drag!)

This will (almost) fix itself once the 2.0 profile is completed for
X.509 certificates classes. The new X509Certificate class (and the
X509Certificate2 class) have the knowledge that a private key may be
associated with the certificate (e.g. when loading a pkcs#12 file).

This means it will be possible, using the current API and with very
minor changes, to supply an X509Certificate instance (including a
private key) to HttpWebRequest.ClientCertificates so no callback is
required.

 Thank you in advance for any corrections or confirmations!
 
-- 
Sebastien Pouliot
email: [EMAIL PROTECTED]
blog: http://pages.infinit.net/ctech/

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Mono 1.1.10 + SLES == HTTP 503 error

2005-11-09 Thread Christopher Bergström




I just upgraded tried to upgrade to 1.1.10 and I might need some help..

Currently getting a 503 error on all my sites..

Details

#1 I was using rug to install the update which didn't warn me about
this new feature** and when I went to look for a changelog I'm still
looking. Please point me in the right direction for future updates.

#2 After reading 1.1.10 has autohosting I tried to add the MonoAutoApp
line with no success...
(am I putting this in the wrong spot?)

Syntax error on line 8 of /etc/apache2/vhosts.d/vhosts.conf:
Invalid command 'MonoAutoApp', perhaps mis-spelled or defined by a
module not included in the server configuration

failed
eclipse:/sites/NetSyncro # rpm -qa mod_mono
mod_mono-1.1.10-0.sles9.novell



#3 I've enabled --debugging when starting apache2 and still I'm not
seeing any errors in my logs that point to the exact failure..

#4 To a high degree of certainity the mod_mono module IS loading,
because I can go to /mono control panel and click restart...

#5 I'm not seeing any more processes like before (not even one)

#6 I tried commenting out my 

MonoApplications default "site1.com:/:/sites/sites1.com/www"
MonoApplications default "www.site1.com:/:/sites/site1.com/www"
AddMonoApplications default "www.site2.com:/:/sites/site2.com/www"


I've been hosing my site and 12 others for the last 6 months on mono so
this must be a new configuration issue. Please post a successful
vhosts config file for 1.1.10 or a way to debug this further.

Thanks

Cheers,

Christopher B.




___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Help please.. Links to old versions of 1.1.8.3

2005-11-09 Thread Christopher Bergström




>From this page..
http://www.mono-project.com/OldReleases

I click on the link
http://www.mono-project.com/index.php?title=1.1.8.3action="">

Clearly my goal isn't to edit this page..
Using my batman decoder ring I get working, but some of the files
change naming convention
http://www.go-mono.com/download/x86/mono-1.1/1.1.8.3/mono-data-1.1.8.3-0.novell.i586.rpm

And even if I monkey around with the link (pun intended) I can't find
mod_mono 1.1.8.3

C.



___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] using internal calls in mono1.1.9 is allowed just in mscorlib.dll?

2005-11-09 Thread Okehee Goh

I tried to add a few internal calls to expose certain features to classes.
With older mono version, i did it by adding them at icall.c

With same approach in mono1.1.9, I got runtime error myapp.dll contains native code and mono can't run it.

1)
Is it because mono doesn't allow internal calls through library dll other than mscorlib.dll?

2) Another problem is that when install mono1.1.9, mcs directory wasn't
compiled successfully. It looks for mcs.exe from mcs/class/lib/basic/
etc. I don't know why i face this problem.

3)
Long time back, Ximian used to release mcs source including full class
libraries. But, not i can't find those type of package. No other way to
get source of class libraries other than that included in mono?

4) is there any tool to check the list of objects archived into certain dll?
for example, in unix, we can use nm command to list symbols (or names of objects) archived into lib**.a.


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] using internal calls in mono1.1.9 is allowed just in mscorlib.dll?

2005-11-09 Thread Robert Jordan

Hi,


I tried to add a few internal calls to expose certain features to classes.
With older mono version, i did it by adding them at icall.c

With same approach in mono1.1.9, I got runtime error myapp.dll contains
native code and mono can't run it.

1)
Is it because mono doesn't allow internal calls through library dll other
than mscorlib.dll?


No, you must be making a mistake. Use mono_add_internal_call ().


2) Another problem is that when install mono1.1.9, mcs directory wasn't
compiled successfully. It looks for mcs.exe from mcs/class/lib/basic/ etc. I
don't know why i face this problem.


Try

make get-monolite-latest
make



3)
Long time back, Ximian used to release mcs source including full class
libraries. But, not i can't find those type of package. No other way to get
source of class libraries other than that included in mono?


Have a look at mcs/class. If you don't have the mcs folder at
the same level as mono, well, install it, otherwise you won't
be able to build mono at all.



4) is there any tool to check the list of objects archived into certain dll?
for example, in unix, we can use nm command to list symbols (or names of
objects) archived into lib**.a.


monop

Robert

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Monodevelop: Failure to import VS.Net Solution

2005-11-09 Thread Rafael Teixeira
I believe VB.NET Projects support is lagging behind support for other
languages in MD (shame on me as I can't find time to contribute it).
Also ASP.NET projects AFAIK aren't correctly supported yet, either.

Any takers?

Regards,

On 11/9/05, Craig Marshall [EMAIL PROTECTED] wrote:
 Hi,

 I hope this is the right list, I couldn't see anywhere else to post
 monodevelop specific questions.

 I have a VS.Net 2003 solution which is a web app written in vb.net
 code. I am running Ubuntu breezy badger 5.10, and I installed the Mono
 binary installation (.bin file) this morning without a hitch.

 When I try to import my VS.Net solution file (acm2006.sln) into MD, it
 fails and gives me the following error message twice on slightly
 different error dialogs:

 File not found: /home/cmarshall/Web/Registration/acm2006.cmbx

 Also, it doesn't give me any more details when I click details, it
 says No more details available.

 When I create an empty acm2006.cmbx file in an attempt to satisfy the
 error, it complains that the document element is missing, so I guess
 it expects an XML document to exist and to read content from it (as
 opposed to writing to it). But - I was under the impression that cmbx
 is the format for SharpDevelop combine files, why would it be trying
 to read from an SD combine file?

 When I try and import the .vbproj file, it says Can't open file
 /blah/acm2006.vbproj as project. Again, no more details available.

 Does this feature work for anyone else, or do I have a strange
 solution file, or something else entirely?

 Thanks,
 Craig
 ___
 Mono-devel-list mailing list
 Mono-devel-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-devel-list



--
Rafael Monoman Teixeira
---
I'm trying to become a Rosh Gadol before my own eyes.
See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment.
It hurts!
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] RedHat 64-bit and 1.1.9.2

2005-11-09 Thread Zoltan Varga
Hey,

  The 32 bit and 64 bit versions have known bugs running on the same
machine in 1.1.9.
This will most likely get fixed in 1.1.10. In the meantime, try
searching your system
for directories named '.wapi' and delete them. That will hopefully
cure the hangs.

   Zoltan

On 11/10/05, Gary M. Smithrud [EMAIL PROTECTED] wrote:



 I installed the packages that were built for Fedora Core under Redhat AS
 (current version) and the compiler hangs.  Will this work or will I need to
 build from source for 64-bits?  If it does, and someone has a clue about
 what I'm missing, I would appreciate it.  I do have the 32-bit version
 installed using the universal installer.  Having both version on the same
 machine works under SUSE.



 Gary M. Smithrud

 Haley Systems, Inc.

 Phone: 724-934-7853

 [EMAIL PROTECTED]

 www.haley.com

 Moving at the Speed of Change


 ___
 Mono-devel-list mailing list
 Mono-devel-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-devel-list



___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] [PATCH] mod_mono apache 1.3 compatibility broken

2005-11-09 Thread Gonzalo Paniagua Javier
On Wed, 2005-11-09 at 18:28 +0100, Robert Jordan wrote:
 Hi,
 
 Apache 1.3 doesn't know request_rec.canonical_filename.
 Request_rec.filename seems to do the job on Apache 2.0
 as well, so I didn't make it conditional.

The patch is in svn now. Thanks.

-Gonzalo


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Mono 1.1.10 + SLES == HTTP 503 error

2005-11-09 Thread Gonzalo Paniagua Javier
On Wed, 2005-11-09 at 15:45 +0200, Christopher Bergström wrote:
 I just upgraded tried to upgrade to 1.1.10 and I might need some
 help..
 
 Currently getting a 503 error on all my sites..
 
 Details
 
 #1 I was using rug to install the update which didn't warn me about
 this new feature** and when I went to look for a changelog I'm still
 looking.  Please point me in the right direction for future updates.
 
 #2 After reading 1.1.10 has autohosting I tried to add the MonoAutoApp
 line with no success...
 (am I putting this in the wrong spot?)

It's MonoAutoApplication. The web page was incorrect.

-Gonzalo


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] System.Net.Mail question

2005-11-09 Thread Jonathan Gilbert
At 09:38 AM 09/11/2005 -0800, Andy Waddell wrote: 
[snip]
Does anybody know what's cause it to be an attachment vs. a clean simple
mail message.  The same code compiled and running on .NET (albeit with a
different smtp server) produces the expected result (i.e. no attachment).
I don't know if its something to do with the smtp server running on my
Linux box or something MS Outlook is doing.
 
Sorry if this is not an appropriate question for this group, but it could
be related to the Mono implementation of System.Net.Mail.

Could it have to do with the BodyFormat field? I believe it defaults to
HTML, and mono's implementation might be attaching a plaintext version of
the message with the HTML one as the main MIME body, using MIME type
'multipart/alternate' as suggusted by RFC 1521 et al.

Try setting it to .Text if you want a plaintext message. :-)

Jonathan Gilbert
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list