PDA

View Full Version : خطا هنگام اجرا



mohsen_zelzela00
سه شنبه 13 اسفند 1387, 20:47 عصر
با سلام خدمت اساتید محترم
چند روزی هست که من وقتی بخوام پروژه خودم رو اجرا کنم خطای زیر رو به من میده پروژه من اجرا نمیشه
unable to connect the asp.net development server

mohsen_zelzela00
چهارشنبه 14 اسفند 1387, 14:13 عصر
دوستان کسی نیست جواب من رو بده خیلی ضروریه

mohsen_zelzela00
دوشنبه 10 فروردین 1388, 02:00 صبح
بلاخره خودم پیدا کردم میزارم که دوستان اگه به این مشکل برخوردن سریع بتونن حلش کنن

Step 1: Select the “Tools->External Tools” menu option in VS or Visual Web Developer. This will allow you to configure and add new menu items to your Tools menu.

Step 2: Click the “Add” button to add a new external tool menu item. Name it “WebServer on Port 8010” (or anything else you want).

Step 3: For the “Command” textbox setting enter this value: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\WebD ev.WebServer.EXE (note: this points to the web-server that VS usually automatically runs).

Step 4: For the “Arguments” textbox setting enter this value: /port:8010 /path:$(ProjectDir) (or any port you like)

Step 5: Select the “Use Output Window” checkbox (this will prevent the command-shell window from popping up.

Once you hit apply and ok you will now have a new menu item in your “Tools” menu called “WebServer on Port 8010”. You can now select any web project in your solution and then choose this menu option to launch a web-server that has a root site on port 8010 (or whatever other port you want) for the project.

You can then connect to this site in a browser by simply saying http://localhost:8010/. All root based references will work fine.


Step 6: The last step is to configure your web project to automatically reference this web-server when you run or debug a site instead of launching the built-in web-server itself. To-do this, select your web-project in the solution explorer, right click and select “property pages”. Select the “start options” setting on the left, and under server change the radio button value from the default (which is use built-in webserver) to instead be “Use custom server”. Then set the Base URL value to be: http://localhost:8010/

milade
یک شنبه 14 تیر 1388, 11:10 صبح
سلام دوست عزیز
من امروز دچار این مشکل شدم

برا من مسیر C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\WebD ev.WebServer.EXE وحود نداره .
ضمن اینکه از مرحله 4 به اون طرف مشکل دارم

ممنون میشم کمی توضیح بدی

با تشکر

mohsen_zelzela00
دوشنبه 15 تیر 1388, 01:11 صبح
سلام دوست عزیز
من امروز دچار این مشکل شدم

برا من مسیر C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\WebD ev.WebServer.EXE وحود نداره .
ضمن اینکه از مرحله 4 به اون طرف مشکل دارم

ممنون میشم کمی توضیح بدی

با تشکر
شما باید فایل مذکور را در شاخه نصب vs جستجو کنید و سپس آن را به آدر گفته شده انتقال بدید و بقیه کارا......