PDA

View Full Version : ایجاد یک Host در Windows Server 2003 در یک شبکه Lan (کمک)



Gijuki
یک شنبه 01 اردیبهشت 1387, 15:11 عصر
:گریه:SOS کمک
من یک WebApplication درست کرده ام که به یک پایگاه داده SQL Server متصل است. این WebApplication رو روی Server 2003 با استفاده از Service های Host به صورت یک وب سایت فعال کرده ام. در واقع قرار است تعدادی کاربر از این برنامه استفاده کنند. ولی مسئله ای که وجود دارد این است هنگامی که من در address bar نام وب سایت رو صدا می زنم صفحه اول آن بالا می آید و پس از اینکه UserName و Password را وارد می کنم ، پیغام زیر مشاهده می شود. :


a connection to sql server is sucssefuly establish but becuse of an errro of SQL Server 2005 , login faild

البته پیغام رو دقیقاً درست نوشتم.
در این حالت ما Pipe رو درSQL Server به حالت Enable در آوردیم که پیقام زیر ظاهر شد:


Server Error in '/TASKS' Application.



Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.


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.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

Source Error:



An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.



* Task نام برنامه می باشد.

خواهش می کنم به من در تنظیم این برنامه جهت اجرا کمک کنید.
توضیحات لازم :
برنامه با Visual Studio 2008 و با ASP و C#نوشته شده
SQL Server 2005

سیستم عامل کامپیوتر سرور : Windows Server 2003
سیستم عامل کامپیوتر client :ویندوز Vista و XP


*در Connectionstring با دو حالت Windows & SQL Authentication تنظیم کردم ، ولی نتیجه یکسان بود.
* برنامه در کامپیوتر خودم موقع کامپابل اجرا می شود.