Forum

IIS7 web site yayın...
 
Bildirimler
Hepsini Temizle

IIS7 web site yayınlama sorunu hk.

5 Yazılar
3 Üyeler
0 Reactions
423 Görüntüleme
(@AsumanUNLUTURK)
Gönderiler: 4
Active Member
Konu başlatıcı
 

Merhaba,


IIS6 da (Windows server 2003 ) olan web sitelerini IIS7'ye (Windows 2008 server) taşıdım. Ancak, yayınlama aşamasında aşağıdaki problemi alıyorum. Web sitelerini web deployment tool ile taşımayı denedim. IIS7 tarafında "web deployment tool" sorunsuz çalışmakta. IIS6 tarafında "web deployment tool" kurdum, ancak IIS6 üzerinde deploy seçeneği çıkmıyor ve "web deploy command line" admin olarak çalıştırdığım halde, komutlar access denied alıyor. IIS6 tarafında web sitelerini taşıma işlemi aşamasında yapılabilecek tüm işlemler hakkında bilgi verebilir misiniz?


Teşekkür ederim.


Server Error in '/Bubbles' Application.






Could not load file or assembly 'System.Data' or one of its dependencies. An attempt was made to load a program with an incorrect format.


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 'System.Data' or one of its dependencies. An attempt was made to load a program with an incorrect format.

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 'System.Data' 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 'System.Data' or one of its dependencies. An attempt was made to load a program with an incorrect format.]


   System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0


   System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +416


   System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +166


   System.Reflection.Assembly.Load(String assemblyString) +35


   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +190


 


[ConfigurationErrorsException: Could not load file or assembly 'System.Data' or one of its dependencies. An attempt was made to load a program with an incorrect format.]


   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +11208088


   System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +388


   System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +232


   System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() +48


   System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +210


   System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +76


   System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp) +283


   System.Web.Compilation.BuildManager.CompileGlobalAsax() +50


   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +676


 


[HttpException (0x80004005): Could not load file or assembly 'System.Data' or one of its dependencies. An attempt was made to load a program with an incorrect format.]


   System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +76


   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +1012


   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +1025


 


[HttpException (0x80004005): Could not load file or assembly 'System.Data' or one of its dependencies. An attempt was made to load a program with an incorrect format.]


   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11301814


   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88


   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4341684

 
Gönderildi : 21/09/2011 13:28

(@ozgurmazlum)
Gönderiler: 2208
Illustrious Member
 

Yeni sunucunuz üzerinde Framework 3.5 i aktif ettiniz mi? Eğer bu işlemi tamamladıysanız uygulama havuzunu Classic olarak değiştirerek test edebilir misiniz?

 
Gönderildi : 21/09/2011 14:24

(@AsumanUNLUTURK)
Gönderiler: 4
Active Member
Konu başlatıcı
 

Merhaba,


Cevabınız için teşekkür ederim. Yazdığınız işlemi uyguladım ancak aynı sorun devam etmektedir.


 

 
Gönderildi : 21/09/2011 16:21

(@AsumanUNLUTURK)
Gönderiler: 4
Active Member
Konu başlatıcı
 

Merhaba,


Yeni sunucu üzerinde .NET Framework 4.0 ı kurdum. C:\Windows\Microsoft.Net\Framework\v4.0.30319 dizininde aspnet_regiis.exe –i komutunu çalıştırdım. Ancak  uygulama havuzunun özelliklerinde .NET Framework v2.0 olarak görünüyor. İlgili sitenin, .NET Framework version nasıl değiştirebilirim.


Teşekkür ederim. 


 

 
Gönderildi : 21/09/2011 19:58

(@hasankoroglu)
Gönderiler: 279
Reputable Member
 

googl da "iis7 change applicatin pool .net version" diye aratirsaniz. cikan ilk sonuc bahsediyor nasil yapilacagindan. cep telefonu uzerinden mesaj yazdigim icin url yapistiramiyorum. uygulama havuzunda ilgili site icin ayarli uygulsma havuzunu secip uygulama havuzunu duzenle derseniz .net versiyonunu oradan degistirebilirsiniz.

 
Gönderildi : 22/09/2011 01:32

Paylaş: