PDA

View Full Version : سوال: مشکل در آپلود سایت



saleh.hi.62
سه شنبه 01 بهمن 1387, 18:57 عصر
با سلام
conectionstring من اینه ولی سایت بالا نمیاد خواهشا با دمستان تطبیق بدن و بیبینن کجا مشکل داره.ممنون.

<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<appSettings/>
<connectionStrings>
<add name="ASPNETDBConnectionString1" connectionString="Data Source=(local); AttachDbFilename=|DataDirectory|\ASPNETDB.MDF Databasename=AfifMob_babr; Instance=True; Integrated Security=True;UserId=AfifMob_dbmob; Password=-----;" providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.web>
<customErrors mode="off" />
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<roleManager enabled="true"/>



<compilation debug="false">
<assemblies>
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></assemblies></compilation>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Forms"/>
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.


-->
</system.web>



</configuration>
http://i41.tinypic.com/sgqzr9.gif

mh19842008
سه شنبه 01 بهمن 1387, 19:08 عصر
اگه میشه بگو چه اروری میده؟

WorldVbMan
سه شنبه 01 بهمن 1387, 19:22 عصر
نوع SqlServer كه روی سرور نصب هست چیه؟
قاعدتاً باید enterprise باشه اگه اینجوره این مؤلفه ها رو در ConnectionString داده و توسط ; جدا كنید:
Data Source=(local)
Initial Catalog=اسم دیتابیس بدون پسوند و آدرس
User ID:Your UserID
Password:Your Password
اگه خطایی نگرفت این هم اضاف كنید :
Integrated Security=True
اگه شركت هاستینگ خودش Attach رو انجام داده واسه دریافت یوزر و پسورد می شه از مسئولین هاست هم كمك گرفت
مرحله مرحله اگه خواستید در این فروم نوشتم:
http://forum.charnabsh.com/-charnabsh-t1166.html?p=2711&posted=1