none
[C#2005]DataSet and app.config problem RRS feed

  • Question

  • Hi all Smile

    I've an app.config file where is stored my db connection:

    ...
    ...
    <connectionStrings>
    <add name="MyProject.Properties.Settings.myDbConnStr" connectionString="server=192.168.0.10;
    user id=user;password=password;persist security info=True;
    database=myDb" providerName="Sql.Data.SqlClient" />
    </connectionStrings>

    So, i've managed my dataset for create my report and all works fine.

    My internal server has the ip in the app.config.

    I need to connect from another place, and my server has obviously another ip (public) like: 85.85.67.67

    I've already managed my app.config file changing the server ip, but from remote the report dont work.

    My dataset for report was created following the wizard of visual studio.

    Thx in advance at all Smile

    RaouL.

    Wednesday, November 21, 2007 4:32 PM