CRM Custom ASPX page problem using SQLConnection RRS feed

  • Question

  • Hi there

    I've got a C# Web application that gets Data from my CRM database.

    It uses System.Data.SqlClient.SqlConnection, not CrmService.asmx / MetadataService.asmx.

    When I run it in Visual Studio (that starts an ASP.NET development server), it works fine.

    When I place the .aspx page in my CRM wwwroot directory, along with the DLL to the bin directory, it fails with the generic CRM error message.

    I think the problem here is the SqlConnection, as my Default.aspx page works fine - until I insert SqlConnection into the page load.

    Any help greatly appreciated.


    Thursday, December 3, 2009 3:52 PM


All replies