[Mono-aspnet-list] Connect to SQL Server...
Gilberto Nunes
gilberto.nunes at selbetti.com.br
Thu Jun 17 13:13:41 EDT 2010
Hi...
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:
<connectionStrings>
<add name="SmartShare" connectionString="Data Source=DBSERVER
\MATRIZ;database=smartshare;user
id=smartshare;password="eon1LfhJZky662ORgHWnPYIuvyLtuPfcUd6bWUIfWvk="" providerName="sqlserver" />
</connectionStrings>
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:
2.0.50727.42
Somebody can help me with this??
Thanks
Gilberto Nunes
TI
Selbetti Gestão de Documentos
Telefone: +55 (47) 3441-6004
Celular: +55 (47) 8861-6672
More information about the Mono-aspnet-list
mailing list