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

The_Assimilator ian.kemp at gmail.com
Thu Jun 17 13:39:29 EDT 2010


Try removing the double quotes (" / ") from around the password.

On 17/06/2010 19:13, Gilberto Nunes wrote:
> 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=&quot;eon1LfhJZky662ORgHWnPYIuvyLtuPfcUd6bWUIfWvk=&quot;" 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
>
>
>
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>    



More information about the Mono-aspnet-list mailing list