[Mono-aspnet-list] Connect to SQL Server...

Gilberto Nunes gilberto.nunes at selbetti.com.br
Thu Jun 17 13:13:41 EDT 2010


I had install mono 1.9.1-3 onde Debian Lenny 5 and try to start an
application on port 8080....
My app has a file that make the connection with a MSSQL Server. This is
the content of this file:

	<add name="SmartShare" connectionString="Data Source=DBSERVER
id=smartshare;password=&quot;eon1LfhJZky662ORgHWnPYIuvyLtuPfcUd6bWUIfWvk=&quot;" providerName="sqlserver" />

The App need connect to a SQL Server to provide a Login form...

But when I try to open the app I get this error:

Server Error in '/smartshare' Application

Invalid length.
Description: HTTP 500. Error processing request.

Stack Trace: 

System.FormatException: Invalid length.
  at (wrapper managed-to-native) System.Convert:InternalFromBase64String (string,bool)
  at System.Convert.FromBase64String (System.String s) [0x00000] 
  at SmartShare.Cryptography.Crypto.Decrypt (System.String source, System.String key) [0x00000] 

Version information: Mono Version: 2.0.50727.42; ASP.NET Version:

Somebody can help me with this?? 


Gilberto Nunes

Selbetti Gestão de Documentos
Telefone: +55 (47) 3441-6004
Celular: +55 (47) 8861-6672

More information about the Mono-aspnet-list mailing list