Re: [Mono-list] Ubuntu user wants do see College videos that only works with Silverlight

2015-03-22 Thread acrym
I don't know if Moonlight can run Silverlight, but it's worth a try.

http://www.maketecheasier.com/install-and-run-silverlight-in-linux/



--
View this message in context: 
http://mono.1490590.n4.nabble.com/Ubuntu-user-wants-do-see-College-videos-that-only-works-with-Silverlight-tp4665668p4665672.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Mono Socket Server drops clients when it does big operations

2015-03-22 Thread acrym
Mono 3.99 
My socket server runs fine in Windows, but on Linux/Mono it drops a socket.
Whenever the server runs an operation longer than a fraction of a second,
the socket is disconnected, but occasionally the client stays connected. The
client is Silverlight 4 and is run from Windows.

More reproducible is when two clients connect. The first connects fine. The
second connects, but when the server runs an operation, my server
disconnects the first client. When this happens, the first client sends
exactly 0 bytes.

I have my clients in a static list so they won't be GC'd, and timeout is set
high. The only thing I can think of is the client might be pinging the
server, and in that window of time when it handles the message, it's not in
a receive state. But that would make sockets extremely fragile.

Is there any reason - Mono-related or otherwise - that could cause this
behavior?

  static void OnBeginAccept(IAsyncResult ar)
{
try
{
TcpClient _MessageClient =
_MessageListener.EndAcceptTcpClient(ar);
byte[] _ReceiveBuffer = new byte[8197];
System.IO.StreamWriter streamW = new
System.IO.StreamWriter(_MessageClient.GetStream());
ClientDefinition newClient = new ClientDefinition();
newClient.Socket = _MessageClient.Client;
newClient.Socket.ReceiveTimeout = 7000;
newClient.Socket.SendTimeout = 7000;
newClient.username = undefined + clients.Count;
newClient.receiveBuffer = new byte[8197];
clients.Add(newClient);

newClient.Socket.BeginReceive(newClient.receiveBuffer, 0, 8196,
SocketFlags.None, new AsyncCallback(OnReceiveComplete), newClient);
_MessageListener.BeginAcceptTcpClient(new
AsyncCallback(OnBeginAccept), null);
Console.WriteLine(new client accepted);
}
catch (Exception ex) { LogError(ex); }
}


  static void OnReceiveComplete(IAsyncResult ar)
{
ClientDefinition fromClient = null; //Wrapper for Socket
fromClient = (ClientDefinition)ar.AsyncState;
if (fromClient == null) return;

try
{
if (!fromClient.Socket.Connected)
{
Console.WriteLine(fromclient ( + fromClient.username + )
not connected);
CloseClient(fromClient);
return;
}
int receiveLength = 0;
receiveLength = fromClient.Socket.EndReceive(ar);
if (receiveLength == 0)
{
Console.WriteLine(Receivelength == 0);
CloseClient(fromClient);
}


SocketMessage message = null;
message =
Serializer.DeserializeSocketMessage(fromClient.receiveBuffer);
System.Array.Clear(fromClient.receiveBuffer, 0, receiveLength);

/**Here is where I handle the messages. And when doing an
operation that is 'big', a client is closed.*/

fromClient.Socket.BeginReceive(fromClient.receiveBuffer, 0,
8196, SocketFlags.None, new
AsyncCallback(OnReceiveComplete), fromClient);


}
catch (Exception ex)
{
Console.WriteLine(Exception in OnReceiveComplete:  +
ex.Message + ex.StackTrace + obj:  + ex.Source);
CloseClient(fromClient);

}





--
View this message in context: 
http://mono.1490590.n4.nabble.com/Mono-Socket-Server-drops-clients-when-it-does-big-operations-tp4665670.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mod_Mono crash * is not a valid virtual path - PLEASE help!

2013-12-19 Thread acrym
I'm still getting the error. I changed Web.Config to this:

system.web
  monoSettings verificationCompatibility=1/monoSettings
/system.web

The bug fix was provided in 2009, and I have mono 3.1.1, so it should have
been included, right?

Additional info: Typing in a URL with '*' or ':' DOES give the 500 error,
but DOES NOT show the same error for any other page I try to visit. The only
way I've found to get rid of the error is to restart httpd.






--
View this message in context: 
http://mono.1490590.n4.nabble.com/Mod-Mono-crash-is-not-a-valid-virtual-path-PLEASE-help-tp4661548p4661590.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] How do I self-host a WCF Service on Apache

2013-12-18 Thread acrym
Nevermind. I used a reverse proxy to forward requests to a different port.



--
View this message in context: 
http://mono.1490590.n4.nabble.com/How-do-I-self-host-a-WCF-Service-on-Apache-tp4661563p4661572.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mod_Mono crash * is not a valid virtual path - PLEASE help!

2013-12-18 Thread acrym
Please help! I will take any advice or suggestions!



--
View this message in context: 
http://mono.1490590.n4.nabble.com/Mod-Mono-crash-is-not-a-valid-virtual-path-PLEASE-help-tp4661548p4661573.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] How do I self-host a WCF Service on Apache

2013-12-17 Thread acrym
How do I self-host a WCF Service on Apache and access it from Silverlight?

If I try to host it on port 80, Apache intercepts the request for the
service.

If I try to host it on some other port, it's considered Cross Domain and
tries to get the ClientAccessPolicy.xml on the same port. which apache
doesn't listen on.

What do I do?





--
View this message in context: 
http://mono.1490590.n4.nabble.com/How-do-I-self-host-a-WCF-Service-on-Apache-tp4661563.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Mod_Mono crash * is not a valid virtual path - PLEASE help!

2013-12-14 Thread acrym
Every so often, the mono process crashes and i'm left with this error in the
log file:

[Fri Dec 13 06:27:08 2013] [error] Command stream corrupted, last command
was -1
WARNING: WebConfigurationManager's LRUcache evictions count reached its max
size
Cache Size: 100 (overridable via MONO_ASPNET_WEBCONFIG_CACHESIZE)
System.Web.HttpException: '*' is not a valid virtual path.
  at System.Web.HttpRequest.MapPath (System.String virtualPath,
System.String baseVirtualDir, Boolean allowCrossAppMapping) [0x0] in
filename unknown:0 
  at System.Web.HttpRequest.MapPath (System.String virtualPath) [0x0] in
filename unknown:0 
  at System.Web.Hosting.HostingEnvironment.MapPath (System.String
virtualPath) [0x0] in filename unknown:0 
  at System.Web.Hosting.DefaultVirtualPathProvider.DirectoryExists
(System.String virtualDir) [0x0] in filename unknown:0 
  at System.Web.Configuration.WebConfigurationManager.FindWebConfig
(System.String path, System.Boolean inAnotherApp) [0x0] in filename
unknown:0 
  at System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration
(System.String path, System.String site, System.String locationSubPath,
System.String server, System.String userName, System.String password,
Boolean fweb) [0x0] in filename unknown:0 
  at System.Web.Configuration.WebConfigurationManager.GetSection
(System.String sectionName, System.String path, System.Web.HttpContext
context) [0x0] in filename unknown:0 
  at System.Web.Configuration.WebConfigurationManager.GetSection
(System.String sectionName) [0x0] in filename unknown:0 
  at Mono.WebServer.BaseApplicationHost.LocateHandler (System.String verb,
System.String uri) [0x0] in filename unknown:0 
  at Mono.WebServer.BaseApplicationHost.IsHttpHandler (System.String verb,
System.String uri) [0x0] in filename unknown:0 
  at Mono.WebServer.Paths.VirtualPathExists (IApplicationHost appHost,
System.String verb, System.String uri) [0x0] in filename unknown:0 
  at Mono.WebServer.Paths.GetPathsFromUri (IApplicationHost appHost,
System.String verb, System.String uri, System.String realUri,
System.String pathInfo) [0x0] in filename unknown:0 
  at Mono.WebServer.ModMonoWorkerRequest.GetRequestData () [0x0] in
filename unknown:0 
  at Mono.WebServer.MonoWorkerRequest.ReadRequestData () [0x0] in
filename unknown:0 
  at Mono.WebServer.BaseApplicationHost.ProcessRequest
(Mono.WebServer.MonoWorkerRequest mwr) [0x0] in filename unknown:0 
  at Mono.WebServer.ModMonoApplicationHost.ProcessRequest (Int32 reqId,
System.String verb, System.String queryString, System.String path,
System.String protocol, System.String localAddress, Int32 serverPort,
System.String remoteAddress, Int32 remotePort, System.String remoteName,
System.String[] headers, System.String[] headerValues, System.Object worker)
[0x0] in filename unknown:0 
  at (wrapper remoting-invoke-with-check)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[],object)
  at Mono.WebServer.ModMonoWorker.InnerRun (System.Object state) [0x0]
in filename unknown:0 
  at Mono.WebServer.ModMonoWorker.Run (System.Object state) [0x0] in
filename unknown:0 



Please help, these errors that crash my site almost daily are driving me
insane!!



--
View this message in context: 
http://mono.1490590.n4.nabble.com/Mod-Mono-crash-is-not-a-valid-virtual-path-PLEASE-help-tp4661548.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Generic Error GDI+

2013-11-15 Thread acrym
Nevermind, it WAS a permissions issue.

When in doubt, and as a last resort, give write permission to your whole
mono folder. It's messy and probably dangerous, but hey, it worked for me.



--
View this message in context: 
http://mono.1490590.n4.nabble.com/Generic-Error-GDI-tp4661310p4661324.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Generic Error GDI+

2013-11-12 Thread acrym
Centos 5.8 x86, Apache 2.2, Mono 3.1.1, mod-mono 2.10, xsp 2.10 

*I have libgdiplus 2.10 installed*

On a WCF service I try to download an image from a specified URL and then
save it on the server.
*
I do not think it is a permissions issue because System.IO.File.WriteAllText
to the same directory works*

The error given is:

Message:Generic Error [GDI+ status: GenericError]
Stack Trace:  at System.Drawing.GDIPlus.CheckStatus (Status status)
[0x0] in filename unknown:0 
  at System.Drawing.Image.Save (System.String filename,
System.Drawing.Imaging.ImageCodecInfo encoder,
System.Drawing.Imaging.EncoderParameters encoderParams) [0x0] in
filename unknown:0 
  at System.Drawing.Image.Save (System.String filename,
System.Drawing.Imaging.ImageFormat format) [0x0] in filename unknown:0 
  at (wrapper remoting-invoke-with-check) System.Drawing.Image:Save
(string,System.Drawing.Imaging.ImageFormat)
  at x.Web.Service1.saveImage (System.String imgname, System.String url)
[0x0] in filename unknown:0 
Source:System.Drawing


The code:


  Stream stream = null;
MemoryStream stream2 = null;

byte[] bytes = InetConnection(url);
stream = new MemoryStream(bytes);
System.Drawing.Bitmap bmp = new
System.Drawing.Bitmap(stream, false);

Bitmap newImage = new Bitmap(55, 81);
Graphics gr = Graphics.FromImage(newImage);
gr.DrawImage(bmp, new Rectangle(0, 0, 55, 81));
stream2 = new MemoryStream();
newImage.Save(stream2,
System.Drawing.Imaging.ImageFormat.Jpeg);
   
System.IO.File.WriteAllBytes(System.Web.Hosting.HostingEnvironment.ApplicationPhysicalPath
+ img/ + imgname + .jpg, stream2.ToArray());
  



--
View this message in context: 
http://mono.1490590.n4.nabble.com/Generic-Error-GDI-tp4661310.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] SocketException Timeout crashes mod-mono

2013-11-11 Thread acrym
Centos 5.8 x86, Apache 2.2, Mono 3.1.1, mod-mono 2.10, xsp 2.10 

Occasionally I will see this error in httpd.conf:

Handling exception type SocketException
Message is A connection attempt failed because the connected party did not
properly respond after a period of time, or established connection failed
because connected host has failed to respond
IsTerminating is set to True
System.Net.Sockets.SocketException: A connection attempt failed because the
connected party did not properly respond after a period of time, or
established connection failed because connected host has failed to respond
  at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, Int32 size,
SocketFlags flags) [0x0] in filename unknown:0 
  at Mono.WebServer.ModMonoRequest.FillBuffer (UInt32 count) [0x0] in
filename unknown:0 
  at Mono.WebServer.ModMonoRequest.GetClientBlock (System.Byte[] bytes,
Int32 position, Int32 size) [0x0] in filename unknown:0 
  at Mono.WebServer.ModMonoWorker.Read (System.Byte[] buffer, Int32
position, Int32 size) [0x0] in filename unknown:0 
  at Mono.WebServer.ModMonoWorkerRequest.ReadEntityBody (System.Byte[]
buffer, Int32 size) [0x0] in filename unknown:0 
  at System.Web.HttpRequest.MakeInputStream () [0x0] in filename
unknown:0 
  at System.Web.HttpRequest.get_InputStream () [0x0] in filename
unknown:0 
  at System.ServiceModel.Channels.Http.AspNetHttpRequestInfo.get_InputStream
() [0x0] in filename unknown:0 
  at System.ServiceModel.Channels.Http.HttpReplyChannel.CreatePostMessage
(System.ServiceModel.Channels.Http.HttpContextInfo ctxi) [0x0] in
filename unknown:0 
  at System.ServiceModel.Channels.Http.HttpReplyChannel.TryReceiveRequest
(TimeSpan timeout, System.ServiceModel.Channels.RequestContext context)
[0x0] in filename unknown:0 
  at
System.ServiceModel.Channels.ReplyChannelBase.BeginTryReceiveRequestm__21
(TimeSpan tout, System.ServiceModel.Channels.RequestContext ctx) [0x0]
in filename unknown:0 
[Tue Nov 12 02:11:51 2013] [error] (70014)End of file found: read_data
failed
[Tue Nov 12 02:11:51 2013] [error] Command stream corrupted, last command
was -1



Mod-Mono or Xsp immediately crashes after this.

Is this a bug or how do I fix this?



--
View this message in context: 
http://mono.1490590.n4.nabble.com/SocketException-Timeout-crashes-mod-mono-tp4661297.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Permission Denied

2013-11-10 Thread acrym
Nevermind. This is just the first thing mono checks before it looks in
httpd.conf



--
View this message in context: 
http://mono.1490590.n4.nabble.com/Permission-Denied-tp4661281p4661290.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Permission Denied

2013-11-09 Thread acrym
Centos 5.8 x86, Apache 2.2, Mono 3.1.1, mod-mono 2.10, xsp 2.10

Everytime I try to start apache I find in the error log this message:

[error] Failed running
'/usr/local/lib/mono/gac/mod-mono-server4/2.10.2.0__0738eb9f132ed756/mod-mono-server4
--filename /tmp/mod_mono_server_global --applications /test:/opt/monoserv
--nonstop --master (null) (null) (null) (null) (null) (null)'. Reason:
Permission denied

Trying to view a WCF .svc gives an InternalServiceFault error.

This is my httpd.conf (IP omitted)

VirtualHost *:*
DocumentRoot /var/www/html/
ServerName xx.xx.xxx.xx
ServerAlias *.xx.xx.xxx.xx
ErrorLog /var/log/httpd/error_log
CustomLog /var/log/httpd/xx.xx.xxx.xx_log combined
HostnameLookups Off
UseCanonicalName On
MonoSetEnv xx.xx.xxx.xx MONO_IOMAP=all
MonoSetEnv MONO_STRICT_MS_COMPLIANT=yes
MonoPath default /opt/mono/lib/mono/4.0
MonoServerPath default opt/mono/bin/mod-mono-server4
MonoApplications /:/var/www/html
AddMonoApplications default /:/var/www/html
MonoAutoApplication disabled
AddHandler mono .aspx .asxc .asax .ashx .config .svc
AddType application/x-asp-net .svc
AddType application/x-asp-net .config
Location /
Order allow,deny
Allow from all
MonoSetServerAlias default
SetHandler mono
/Location
Directory /var/www/html/
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
SetHandler mono
DirectoryIndex index.html
/Directory
/VirtualHost



--
View this message in context: 
http://mono.1490590.n4.nabble.com/Permission-Denied-tp4661281.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Mod_Mono crashing after a few WCF requests : Operation time out

2013-10-23 Thread acrym
Usually Mod_Mono works but after a few WCF requests in short succession it
fails and gives this error (in my VPS, Apache Error_log):


Handling exception type SocketException
Message is Operation timed out.
IsTerminating is set to True
System.Net.Sockets.SocketException: Operation timed out.
  at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, Int32 size,
SocketFlags flags) [0x0] in filename unknown:0 
  at Mono.WebServer.ModMonoRequest.FillBuffer (UInt32 count) [0x0] in
filename unknown:0 
  at Mono.WebServer.ModMonoRequest.GetClientBlock (System.Byte[] bytes,
Int32 position, Int32 size) [0x0] in filename unknown:0 
  at Mono.WebServer.ModMonoWorker.Read (System.Byte[] buffer, Int32
position, Int32 size) [0x0] in filename unknown:0 
  at Mono.WebServer.ModMonoWorkerRequest.ReadEntityBody (System.Byte[]
buffer, Int32 size) [0x0] in filename unknown:0 
  at System.Web.HttpRequest.MakeInputStream () [0x0] in filename
unknown:0 
  at System.Web.HttpRequest.get_InputStream () [0x0] in filename
unknown:0 
  at System.ServiceModel.Channels.Http.AspNetHttpRequestInfo.get_InputStream
() [0x0] in filename unknown:0 
  at System.ServiceModel.Channels.Http.HttpReplyChannel.CreatePostMessage
(System.ServiceModel.Channels.Http.HttpContextInfo ctxi) [0x0] in
filename unknown:0 
  at System.ServiceModel.Channels.Http.HttpReplyChannel.TryReceiveRequest
(TimeSpan timeout, System.ServiceModel.Channels.RequestContext context)
[0x0] in filename unknown:0 
  at
System.ServiceModel.Channels.ReplyChannelBase.BeginTryReceiveRequestm__21
(TimeSpan tout, System.ServiceModel.Channels.RequestContext ctx) [0x0]
in filename unknown:0 


I have plenty of memory, so I want to see if mono is somehow the cause of my
site's unreliability.



--
View this message in context: 
http://mono.1490590.n4.nabble.com/Mod-Mono-crashing-after-a-few-WCF-requests-Operation-time-out-tp4661170.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Run a WCF as root

2013-02-19 Thread acrym
I need to use a port under 1024. How can I enable root access to my WCF
service (.dll) ?



--
View this message in context: 
http://mono.1490590.n4.nabble.com/Run-a-WCF-as-root-tp4658635.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Sockets don't work

2013-02-18 Thread acrym
Alright, I think Daniel was right. Port 4530 did work, I just had an extra
Listen directive on that port which was blocking my own program from
listening on that port.

Port 943 is not working because I don't know how to run a WCF Service as
root.


On Sat, Feb 16, 2013 at 1:29 PM, acrym [via Mono] 
ml-node+s1490590n4658611...@n4.nabble.com wrote:

 Also, I'm using the System.Net.Sockets library on both ends. Is that a
 problem?

 --
  If you reply to this email, your message will be added to the discussion
 below:
 http://mono.1490590.n4.nabble.com/Sockets-don-t-work-tp4658585p4658611.html
  To unsubscribe from Sockets don't work, click 
 herehttp://mono.1490590.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=4658585code=c29yZXJpYzk0QGdtYWlsLmNvbXw0NjU4NTg1fC0zNDUzMDU3Mw==
 .
 NAMLhttp://mono.1490590.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml





--
View this message in context: 
http://mono.1490590.n4.nabble.com/Sockets-don-t-work-tp4658585p4658627.html
Sent from the Mono - General mailing list archive at Nabble.com.___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Sockets don't work

2013-02-16 Thread acrym
Also, I'm using the System.Net.Sockets library on both ends. Is that a
problem?



--
View this message in context: 
http://mono.1490590.n4.nabble.com/Sockets-don-t-work-tp4658585p4658611.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Sockets don't work

2013-02-14 Thread acrym
Good to know, but it didn't help. I tried just connecting on port 4530 and it
didn't work.



--
View this message in context: 
http://mono.1490590.n4.nabble.com/Sockets-don-t-work-tp4658585p4658587.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Sockets don't work

2013-02-14 Thread acrym
Using PuTTy on Telnet on ports 80, 943 and 4530 keep the connection alive.
Any other ports closes PuTTy immediately.

Not sure how to show all the firewall information. I tried:

iptables -L -n

And got:

Chain INPUT (policy ACCEPT)
target prot opt source   destination

Chain FORWARD (policy ACCEPT)
target prot opt source   destination

Chain OUTPUT (policy ACCEPT)
target prot opt source   destination







--
View this message in context: 
http://mono.1490590.n4.nabble.com/Sockets-don-t-work-tp4658585p4658594.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Sockets don't work

2013-02-13 Thread acrym
I have a socket application that needs to connect on port 943 and port 4530.
It works locally but not on mono. The server is implemented with WCF. The
error message is Access Denied: An attempt was made to access a socket in a
way forbidden by its access permissions.

Does mono block my connections? Or is this another problem? If it does, how
can I configure it to allow connections?



--
View this message in context: 
http://mono.1490590.n4.nabble.com/Sockets-don-t-work-tp4658585.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Accept two ports

2013-02-07 Thread acrym
I have a Silverlight application that uses sockets. I'm trying to get Mono to
accept TCP connections on ports 943 and 4530. But I am fairly new to Mono
and Apache. Could someone tell me what I should put in my httpd.conf file?



--
View this message in context: 
http://mono.1490590.n4.nabble.com/Accept-two-ports-tp4658512.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Could not find Microsoft.VisualBasic.Dll 10.0.0

2013-02-06 Thread acrym
figured it out, I changed the gacutil file in usr/local/bin to the mono
found in opt/mono/bin. Apparently I didn't have permission to access the
usr file.


On Tue, Feb 5, 2013 at 11:40 PM, acrym [via Mono] 
ml-node+s1490590n4658486...@n4.nabble.com wrote:

 @Daniel - I already added the .dll to my bin and I tried using gacutil.
 Gacutil tries to look at /usr/local/bin/mono, but there is no executable
 there.





 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://mono.1490590.n4.nabble.com/Could-not-find-Microsoft-VisualBasic-Dll-10-0-0-tp4658459p4658486.html
  To unsubscribe from Could not find Microsoft.VisualBasic.Dll 10.0.0, click
 herehttp://mono.1490590.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=4658459code=c29yZXJpYzk0QGdtYWlsLmNvbXw0NjU4NDU5fC0zNDUzMDU3Mw==
 .
 NAMLhttp://mono.1490590.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml





--
View this message in context: 
http://mono.1490590.n4.nabble.com/Could-not-find-Microsoft-VisualBasic-Dll-10-0-0-tp4658459p4658505.html
Sent from the Mono - General mailing list archive at Nabble.com.___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Could not find Microsoft.VisualBasic.Dll 10.0.0

2013-02-05 Thread acrym
Attempting to communicate to a WCF service gives me this error:

Could not load file or assembly 'Microsoft.VisualBasic, Version=10.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies

I downloaded mono-basic and tried putting the Microsoft.VisualBasic.dll file
found in there in the same path as MONO_PATH, but it still gives the same
error. Please help!



--
View this message in context: 
http://mono.1490590.n4.nabble.com/Could-not-find-Microsoft-VisualBasic-Dll-10-0-0-tp4658459.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Could not find Microsoft.VisualBasic.Dll 10.0.0

2013-02-05 Thread acrym
@Daniel - I already added the .dll to my bin and I tried using gacutil.
Gacutil tries to look at /usr/local/bin/mono, but there is no executable
there.







--
View this message in context: 
http://mono.1490590.n4.nabble.com/Could-not-find-Microsoft-VisualBasic-Dll-10-0-0-tp4658459p4658486.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list