• 30-09-2014, 21:57:39
    #1
    plesk panel olan sunucuma dosyalarımı attım aldığım hata ise şu;


    The connection name 'radyodatabaseConnectionString' was not found in the applications configuration or the connection string is empty.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.InvalidOperationException: The connection name 'radyodatabaseConnectionString' was not found in the applications configuration or the connection string is empty.

    Source Error:

    Line 336: </ItemTemplate>
    Line 337: </aspataList>
    Line 338: <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:radyodatabaseConnectionString %>" SelectCommand="SELECT * FROM [siteayarlari]"></asp:SqlDataSource>
    Line 339: <div class="clear"></div>
    Line 340: </div>


    Source File: c:\inetpub\vhosts\kadehfm.com\httpdocs\Default.asp x Line: 338

    Stack Trace:

    [InvalidOperationException: The connection name 'radyodatabaseConnectionString' was not found in the applications configuration or the connection string is empty.]
    System.Web.Compilation.ConnectionStringsExpression Builder.GetConnectionString(String connectionStringName) +2902778
    ASP.default_aspx.__BuildControlSqlDataSource1() in c:\inetpub\vhosts\kadehfm.com\httpdocs\Default.asp x:338
    ASP.default_aspx.__BuildControl__control16() in c:\inetpub\vhosts\kadehfm.com\httpdocs\Default.asp x:116
    ASP.default_aspx.__BuildControlTree(default_aspx __ctrl) in c:\inetpub\vhosts\kadehfm.com\httpdocs\Default.asp x:1
    ASP.default_aspx.FrameworkInitialize() in c:\windows\Microsoft.NET\Framework\v4.0.30319\Temp orary ASP.NET Files\root\98045ad0\220d345e\App_Web_default.aspx. cdcab7d2.lsyf5mri.0.cs:0
    System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +48
    System.Web.UI.Page.ProcessRequest() +72
    System.Web.UI.Page.ProcessRequestWithNoAssert(Http Context context) +21
    System.Web.UI.Page.ProcessRequest(HttpContext context) +58
    ASP.default_aspx.ProcessRequest(HttpContext context) in c:\windows\Microsoft.NET\Framework\v4.0.30319\Temp orary ASP.NET Files\root\98045ad0\220d345e\App_Web_default.aspx. cdcab7d2.lsyf5mri.0.cs:0
    System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication.IExecutionStep.Execute() +341
    System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) +69
  • 30-09-2014, 22:18:48
    #2
    web config de tanımlı ConnectionStrings adıyla çağırdığın ConnectionStrings adı aynı değil hocam
  • 30-09-2014, 22:23:03
    #3
    daywalkertr adlı üyeden alıntı: mesajı görüntüle
    web config de tanımlı ConnectionStrings adıyla çağırdığın ConnectionStrings adı aynı değil hocam
    hocam web configde onu çalıştırmam için bana onun kodunu yollayabilir misiniz ?
    birde plesk panelden anlıyorsanız bana skype dan anlatır mısınız ?
    skype : yasincelebi04
  • 30-09-2014, 22:27:20
    #4
    yasincelebi adlı üyeden alıntı: mesajı görüntüle
    hocam web configde onu çalıştırmam için bana onun kodunu yollayabilir misiniz ?
    birde plesk panelden anlıyorsanız bana skype dan anlatır mısınız ?
    skype : yasincelebi04
    <connectionStrings>
    <add name="con" connectionString="server=serveradresi;database=dat abaseadı;uid=USRusername;pwd=usersifre;" providerName="System.Data.SqlClient"/>
    </connectionStrings>

    mssql için bu

    diğer databaseler icin http://www.connectionstrings.com/ yardımcı olabilir . skype hata veriyer hocam burdan sor yardımcı olmaya çalışayım