PDA

View Full Version : دانلود codeproject و تبديل به Vs2008 و پيغام خطا



spicirmkh
سه شنبه 29 اردیبهشت 1388, 11:21 صبح
من برنامه هاي كه در Codeproject دانلود مي كنم چون در Vs2005 نوشته شده و بخواهم در Vs2008 اجرا كنم فايل sln تبديل انجام ميدهد كه بدرستي انجام نمي شود و هنگام اجراي برنامه اين پيغام Internet Explorer cannot display the webpage مي دهد

1- بهترين روش براي تبديل برنامه Vs2005 fi به Vs2008 چگونه است
2- چگونه اين پيغام خطا رفع كنم

لينك برنامه كد پروژه :
http://www.codeproject.com/KB/applications/EmbedPDFinWebpages.aspx

با تشكر

Behrouz_Rad
سه شنبه 29 اردیبهشت 1388, 14:59 عصر
روش های مختلفی وجود داره. قبلاً هم بهت گفتم که با ویرایش فایل sln به هدفت میرسی.
یا اینکه فایل sln رو حذف و فایل پروژه که با پسوند csproj هست رو اجرا کن. در این حالت معمولاً تبدیل، بدون مشکل انجام میشه.
مشکل اصلی در اکثر موارد، عدم تطبیق مسیر ایجاد Web Application بر روی سیستم مبدا و سیستم مقصد هست.

موفق باشید.

spicirmkh
سه شنبه 29 اردیبهشت 1388, 16:05 عصر
سلام

با تشكر

من فايل sln حذف و فايل csproj اجرا كردم اما چون اين پروژه شامل 2 زير مجموعه بود دومي نياورد و اجرا نشد

فايل sln بصورت زير است دام مسير تغيير بدهم تا برنامه در Vs2008 اجرا شود



Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PdfViewer", "PdfViewer\PdfViewer.csproj", "{F5A05A5C-6AFF-4432-92AB-9DBFCBAF2CFA}"
ProjectSection(WebsiteProperties) = preProject
Debug.AspNetCompiler.Debug = "True"
Release.AspNetCompiler.Debug = "False"
EndProjectSection
EndProject
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "http://localhost/PdfTestSite/", "http://localhost/PdfTestSite", "{F46E2744-E88A-4025-8A05-B59FA1C6D383}"
ProjectSection(WebsiteProperties) = preProject
ProjectReferences = "{F5A05A5C-6AFF-4432-92AB-9DBFCBAF2CFA}|PdfViewer.dll;"
Debug.AspNetCompiler.VirtualPath = "/PdfTestSite"
Debug.AspNetCompiler.PhysicalPath = "..\..\..\..\inetpub\wwwroot\PdfTestSite\"
Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\PdfTestSite\"
Debug.AspNetCompiler.Updateable = "true"
Debug.AspNetCompiler.ForceOverwrite = "true"
Debug.AspNetCompiler.FixedNames = "false"
Debug.AspNetCompiler.Debug = "True"
Release.AspNetCompiler.VirtualPath = "/PdfTestSite"
Release.AspNetCompiler.PhysicalPath = "..\..\..\..\inetpub\wwwroot\PdfTestSite\"
Release.AspNetCompiler.TargetPath = "PrecompiledWeb\PdfTestSite\"
Release.AspNetCompiler.Updateable = "true"
Release.AspNetCompiler.ForceOverwrite = "true"
Release.AspNetCompiler.FixedNames = "false"
Release.AspNetCompiler.Debug = "False"
SlnRelativePath = "..\..\..\..\inetpub\wwwroot\PdfTestSite\"
DefaultWebSiteLanguage = "Visual C#"
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|.NET = Debug|.NET
Debug|Any CPU = Debug|Any CPU
Debug|Mixed Platforms = Debug|Mixed Platforms
Release|.NET = Release|.NET
Release|Any CPU = Release|Any CPU
Release|Mixed Platforms = Release|Mixed Platforms
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{F5A05A5C-6AFF-4432-92AB-9DBFCBAF2CFA}.Debug|.NET.ActiveCfg = Debug|Any CPU
{F5A05A5C-6AFF-4432-92AB-9DBFCBAF2CFA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F5A05A5C-6AFF-4432-92AB-9DBFCBAF2CFA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F5A05A5C-6AFF-4432-92AB-9DBFCBAF2CFA}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{F5A05A5C-6AFF-4432-92AB-9DBFCBAF2CFA}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{F5A05A5C-6AFF-4432-92AB-9DBFCBAF2CFA}.Release|.NET.ActiveCfg = Release|Any CPU
{F5A05A5C-6AFF-4432-92AB-9DBFCBAF2CFA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F5A05A5C-6AFF-4432-92AB-9DBFCBAF2CFA}.Release|Any CPU.Build.0 = Release|Any CPU
{F5A05A5C-6AFF-4432-92AB-9DBFCBAF2CFA}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{F5A05A5C-6AFF-4432-92AB-9DBFCBAF2CFA}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{F46E2744-E88A-4025-8A05-B59FA1C6D383}.Debug|.NET.ActiveCfg = Debug|.NET
{F46E2744-E88A-4025-8A05-B59FA1C6D383}.Debug|.NET.Build.0 = Debug|.NET
{F46E2744-E88A-4025-8A05-B59FA1C6D383}.Debug|Any CPU.ActiveCfg = Debug|.NET
{F46E2744-E88A-4025-8A05-B59FA1C6D383}.Debug|Mixed Platforms.ActiveCfg = Debug|.NET
{F46E2744-E88A-4025-8A05-B59FA1C6D383}.Debug|Mixed Platforms.Build.0 = Debug|.NET
{F46E2744-E88A-4025-8A05-B59FA1C6D383}.Release|.NET.ActiveCfg = Debug|.NET
{F46E2744-E88A-4025-8A05-B59FA1C6D383}.Release|.NET.Build.0 = Debug|.NET
{F46E2744-E88A-4025-8A05-B59FA1C6D383}.Release|Any CPU.ActiveCfg = Debug|.NET
{F46E2744-E88A-4025-8A05-B59FA1C6D383}.Release|Mixed Platforms.ActiveCfg = Debug|.NET
{F46E2744-E88A-4025-8A05-B59FA1C6D383}.Release|Mixed Platforms.Build.0 = Debug|.NET
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal