PDA

View Full Version : مشكل در آپلود كردن WCF service



M * M * A
شنبه 13 آذر 1389, 21:04 عصر
با سلام خدمت دوستان عزيز
من يك هاست دارم
تمام فايل هامو اتنقال دادم به هاست.

ولي serviceام كار نمي كنه.
چي كار كنم؟
اين خطا رو ميده .وقتي روش كليك ميكنم
Not Found
The requested document was not found on this server.

Web Server at IT-Export.com

taghvajou
چهارشنبه 17 آذر 1389, 11:55 صبح
سلام به همه
تو سند ایکس ام ال سرویس کلاینت که تو پروژه سیلور سالوشن هست، آدرس سایت رو به جای لوکال هاست کپی کردین؟

M * M * A
چهارشنبه 17 آذر 1389, 18:33 عصر
من اينو از طريق دستي تو explorer ميزنم.
اين خطا رو ميده

taghvajou
چهارشنبه 17 آذر 1389, 23:03 عصر
سلام به همه
شما قبل از پابلیش و آپلود کردند باید تو سند ServiceReferences.ClientConfig به جای "لوکال هاست:پورت" آدرس دومین رو بنویسین!

63332

M * M * A
پنج شنبه 18 آذر 1389, 21:14 عصر
سلام
خسته نباشي
من توي IIs به اين مشكل برخورد كردم كه وب سرويسم رو نميشناسه.
بنظر شما از چي ممكنه باشه
چي كار كنم ؟

Server Error in '/' Application.
--------------------------------------------------------------------------------

Could not load file or assembly 'ItExport.Web' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
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.BadImageFormatException: Could not load file or assembly 'ItExport.Web' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

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.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'ItExport.Web' could not be loaded.


WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].



Stack Trace:


[BadImageFormatException: Could not load file or assembly 'ItExport.Web' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.]
System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43
System.Reflection.Assembly.InternalLoad(AssemblyNa me assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +127
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +142
System.Reflection.Assembly.Load(String assemblyString) +28
System.Web.Configuration.CompilationSection.LoadAs semblyHelper(String assemblyName, Boolean starDirective) +46

[ConfigurationErrorsException: Could not load file or assembly 'ItExport.Web' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.]
System.Web.Configuration.CompilationSection.LoadAs semblyHelper(String assemblyName, Boolean starDirective) +613
System.Web.Configuration.CompilationSection.LoadAl lAssembliesFromAppDomainBinDirectory() +203
System.Web.Configuration.CompilationSection.LoadAs sembly(AssemblyInfo ai) +105
System.Web.Compilation.BuildManager.GetReferencedA ssemblies(CompilationSection compConfig) +178
System.Web.Compilation.WebDirectoryBatchCompiler.. ctor(VirtualDirectory vdir) +163
System.Web.Compilation.BuildManager.BatchCompileWe bDirectoryInternal(VirtualDirectory vdir, Boolean ignoreErrors) +53
System.Web.Compilation.BuildManager.BatchCompileWe bDirectory(VirtualDirectory vdir, VirtualPath virtualDir, Boolean ignoreErrors) +175
System.Web.Compilation.BuildManager.CompileWebFile (VirtualPath virtualPath) +86
System.Web.Compilation.BuildManager.GetVPathBuildR esultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +261
System.Web.Compilation.BuildManager.GetVPathBuildR esultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +101
System.Web.Compilation.BuildManager.GetVPathBuildR esult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +83
System.Web.Compilation.BuildManager.GetVPathBuildR esult(HttpContext context, VirtualPath virtualPath) +10
System.Web.UI.WebServiceParser.GetCompiledType(Str ing inputFile, HttpContext context) +43
System.Web.Services.Protocols.WebServiceHandlerFac tory.GetHandler(HttpContext context, String verb, String url, String filePath) +180
System.Web.MaterializeHandlerExecutionStep.System. Web.HttpApplication.IExecutionStep.Execute() +307
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) +155




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4927

taghvajou
جمعه 19 آذر 1389, 12:55 عصر
سلام به همه
یه نگاه به اپلیکیشن پول بنداز، احتمالا ورژن دات فریم وورکت باید بازبینی بشه!

M * M * A
جمعه 19 آذر 1389, 22:35 عصر
سلام
مرسي از راهنمايييت
درست شد.
ولي يك مشكل ديگه:گیج:
توي هاستمم همچين مشكلي دارم
اينجا رو چي كار كنم؟
چه جوري ورژن فريم ورك هاستمو عوض كنم؟

taghvajou
جمعه 19 آذر 1389, 23:13 عصر
به وب مستر یا تامین کننده هاستتون بگین! اون خودش این کار رو میکنه.
یا یه وی پی اس تهیه کنین تا خودتون به آی آی اس دسترسی پیدا کنین.

M * M * A
شنبه 20 آذر 1389, 07:38 صبح
واقعا ممنون.
اگه شما رو نمي داشتيم بايد چي كار ميكرديم:قلب:
خيلي خوشحالم كه شما توي اين مجموعه فعاليت ميكنين

taghvajou
شنبه 20 آذر 1389, 07:51 صبح
:متعجب: :خجالت: :بوس:

m * h * d
پنج شنبه 25 آبان 1391, 13:32 عصر
چه تعاروفی تیکه پاره می کنید به هم