الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

مشكلة عند رفع Web Service على Iis

بدأه EXP في 28 يونيو 2008 · 6 رد · 987 مشاهدة · في ASP.NET
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

السلام عليكم

انا عندى visual studio 2005 , وعملت setup لـ IIS

عملت Web Service و حطيتو فى wwwroot

ال web service شغال عادى على ال Visual studio و لكن بيطلعلى ال Error دا لما بشغلو على IIS

XML Parsing Error: not well-formed

Location: http://192.168.1.64:1774/Service.asmx

Line Number 1, Column 2:

رابط ال Webservice فى المرفقات

wwwroot.rar

تم تعديل هذه المشاركة بواسطة EXP في 28 يونيو 2008 في 08:32

#2

يبدو أن الدوت نت غير منصب بشكل صحيح على الـIIS. يجب عليك تنفيذ الأمر aspnet_regiis (ابحث في المنتدى عن طريقة استخدامه)

#3

السلام عليكم

من المعطيات عندك ان http://192.168.1.64 هو رقم جهازك لكن البورت 1774 هو خاص للفيجوال استوديو وليس ل IIS فعليك التأكد من ذلك .

اما المشكلة الاساسية فهي حسب اعتقادي عدم استخدام الفريموورك المناسب بالتالي ادخل على IIS ثم خاصئص الموقع وهناك على تبويب ASP.Net وتأكد من اختيار 2.0 .

#4

شكرا على المساعدة

فعلا المشكلة كانت غى ال Framework ولكن ظهرت مشكلة اخرى

Server Application Unavailable

The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.

Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.

غيرت ال <customErrors mode="Off"/>

و برضو مفيش فايدة

بس فى حاجة :

Service.asmx بيبقى مكتوب فية ال Path بتاع ال cs Class

بعد الـ Compile بيتغير الـ Path الى /bin/App_Code.dll

غيرت ال Path فى الـ asmx file و برضو مفيش فايدة

انا هرفع الـWeb Service مرة اخرى باخر تعديل

wwwroot.rar

#6
System Down كتب:
هل بحثت عن الخطأ داخل الـEvent log

دخلت على C:\WINDOWS\system32\Logfiles لقيت فولدرين

1 - HTTPERR و جواة Text File محتواة الاتى

#Software: Microsoft HTTP API 1.0
 #Version: 1.0
 #Date: 2008-06-29 04:53:55
 #Fields: date time c-ip c-port s-ip s-port cs-version cs-method cs-uri sc-status s-siteid s-reason s-queuename
 2008-06-29 04:53:54 192.168.1.254 1030 192.168.1.64 2869 HTTP/1.1 NOTIFY /upnp/eventing/apcpvdbzdy - - Connection_Abandoned_By_AppPool -

2- W3SVC1 وجواة 2Text files

الاول ex080628.log :

#Software: Microsoft Internet Information Services 5.1
#Version: 1.0
#Date: 2008-06-28 04:06:52
#Fields: time c-ip cs-method cs-uri-stem sc-status 
04:06:52 41.234.210.190 GET /index.html 200
04:06:52 41.234.210.190 GET /favicon.ico 404
04:08:51 41.234.210.190 GET /favicon.ico 404
04:09:02 41.234.210.190 GET /default.asmx 200
#Software: Microsoft Internet Information Services 5.1
#Version: 1.0
#Date: 2008-06-28 04:28:09
#Fields: time c-ip cs-method cs-uri-stem sc-status 
04:28:09 192.168.1.64 GET /default.asmx 200
04:28:09 192.168.1.64 GET /favicon.ico 404
04:34:00 192.168.1.64 GET /default.asmx 404
04:34:14 192.168.1.64 GET / 200
04:35:51 192.168.1.64 GET / 200
04:35:54 192.168.1.64 GET /Service.asmx 200
04:42:25 192.168.1.64 GET /Service.asmx 304
04:45:28 192.168.1.64 GET /Service.asmx 304
#Software: Microsoft Internet Information Services 5.1
#Version: 1.0
#Date: 2008-06-28 21:14:43
#Fields: time c-ip cs-method cs-uri-stem sc-status 
21:14:43 192.168.1.64 GET / 200
21:14:43 192.168.1.64 GET /favicon.ico 404
21:15:08 192.168.1.64 GET /Service.asmx 500
21:17:09 192.168.1.64 GET /Service.asmx 500

الثانى ex080629.log

#Software: Microsoft Internet Information Services 5.1
#Version: 1.0
#Date: 2008-06-29 04:32:59
#Fields: time c-ip cs-method cs-uri-stem sc-status 
04:32:59 192.168.1.64 GET /Service.asmx 500
04:33:00 192.168.1.64 GET /favicon.ico 404
04:35:52 192.168.1.64 GET /Service.asmx 500
04:35:52 192.168.1.64 GET /favicon.ico 404
04:35:56 192.168.1.64 GET / 200
04:35:59 192.168.1.64 GET /Service.asmx 500
04:39:59 192.168.1.64 GET /Service.asmx 500
04:40:02 192.168.1.64 GET /Service.asmx 500
04:41:14 192.168.1.64 GET /Service.asmx 500
04:41:16 192.168.1.64 GET /Service.asmx 500
04:42:38 192.168.1.64 GET /Service.asmx 500
04:42:39 192.168.1.64 GET /Service.asmx 500
04:42:41 192.168.1.64 GET /Service.asmx 500
04:42:44 192.168.1.64 GET /Service.asmx 500
#Software: Microsoft Internet Information Services 5.1
#Version: 1.0
#Date: 2008-06-29 04:59:20
#Fields: time c-ip cs-method cs-uri-stem sc-status 
04:59:20 192.168.1.64 GET / 200
04:59:20 192.168.1.64 GET /favicon.ico 404
04:59:35 192.168.1.64 GET /Service.asmx 500
05:08:54 192.168.1.64 GET /Service.asmx 500
05:08:56 192.168.1.64 GET /Service.asmx 500
05:23:26 192.168.1.64 GET /Service.asmx 500
05:23:28 192.168.1.64 GET /Service.asmx 500
05:41:03 192.168.1.64 GET / 200
05:41:09 192.168.1.64 GET /Service.asmx 500
05:41:24 192.168.1.64 GET /temp+Service.asmx 500
05:41:31 192.168.1.64 GET /PrecompiledApp.config 500
05:41:34 192.168.1.64 GET /Web.Config 500
07:46:28 192.168.1.64 GET / 200
07:46:33 192.168.1.64 GET /temp+Service.asmx 500
07:46:41 192.168.1.64 GET / 200
07:46:44 192.168.1.64 GET /Service.asmx 500
07:46:48 192.168.1.64 GET /bin/ 200
07:46:51 192.168.1.64 GET /bin/App_Code.compiled 500
#7

الحمد للة اتحلت

لو حد عندو نفس المشكلة

stop IIS

run : C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i

start IIS

مواضيع مشابهة