Re: Membership con winforms

"Luis Gabriel Rodríguez Alejos" <[email protected]>
Newsgroups gmane.comp.gnome.mono.hispano
Message-ID <[email protected]>
El error indica lo siguiente:

"ystem.NullReferenceException: Object reference not set to an instance of an
object
  at System.Web.Util.UrlUtils.Combine (System.String basePath, System.String
relPath) [0x00000] "

Esto significa que no  está instanciado el objeto, es decir, no has hecho el
"new" de esa clase para crearte el objeto (teniendo en cuenta de que no es
estático) y parece que es en: System.Web.Util.UrlUtils, método Combine, como
indica la siguiente línea:

"an object  at System.Web.Util.UrlUtils.Combine (System.String basePath,
System.String relPath)"

El 12 de octubre de 2008 18:44, Oscar Acosta <[email protected]> escribió:

> Hola:
> Tengo una aplicacion de escritorio que usa el api Membership. La bbdd es
> Mysql, asi que usa Mysql.Web.dll . Funciona correctamente bajo windows. Al
> ejecutarla con mono da el siguiente error:
>
> System.NullReferenceException: Object reference not set to an instance of
> an object
>   at System.Web.Util.UrlUtils.Combine (System.String basePath,
> System.String relPath) [0x00000]
>   at System.Web.Security.FormsAuthentication.MapUrl (System.String url)
> [0x00000]
>   at System.Web.Security.FormsAuthentication.Initialize () [0x00000]
>   at System.Web.Security.FormsAuthentication.Authenticate (System.String
> name, System.String password) [0x00000]
>   at Shopings.Services.UsersService.Login (System.String userName,
> System.String password) [0x00000]
>   at Shoppings.Ui.Program.Main () [0x00000] oscar@oscar-desktop
> :~/Projects/Acosta/Shoppings.Ui$
>
> Alguien sabria como solucionarlo? Habeis usado el api Membership en
> aplicaciones de escritorio con mono exitosamente? Yo creo que el problema se
> deba a que mono no gestiona correctamente las url's si es una aplicacion
> local.
> Saludos
>
> Oscar Acosta
>
>
>
>
> _______________________________________________
> Mono-hispano mailing list
> [email protected]
> https://listas.hispalinux.es/mailman/listinfo/mono-hispano
>

_______________________________________________
Mono-hispano mailing list
[email protected]
https://listas.hispalinux.es/mailman/listinfo/mono-hispano
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.