wwwroot localhost'u çalışmıyor- ASP.NET

Kodla Büyü

mavi85

Süper Üye
Süper Üye
Seçkin Üye
Mesajlar
1,024
arkadaşlar http://www.cilem.net/default.asp?cilem=iis7.clm buradaki gibi IIS'yi kurdum, ama sonlara doğru yapılan "dizinlere gözatma" ayarı görünmüyo bende yani öyle bi simge yok. geri kalan hepsini yaptım.

wwwroot içine site1 diye klsör açtım ve visualstudioyu açarken bu klasörü gösterttim.
oluşturduğum aspx dostasını tarayıcıda çalıştır deyince şu hataları veriyo, yardımcı olur musunuz.



port numarası hatası ve autentucation mode hatası

Lütfen yardım edin. Localhostum neden çalışmıyor.
 

Ekli dosyalar

  • s1.jpg
    s1.jpg
    142 KB · Görüntüleme: 3,343
  • s2.jpg
    s2.jpg
    122.4 KB · Görüntüleme: 3,343
visual studio2008 kullanıyorum. her aspx sayfasında farklı port numara hatası veriyor, lütfen anlayan yok mu?
 
şu simge benim yönetimsel araçlarda çıkmadı arkadaşlar: dizinlere gözatma

neden acaba
 

Ekli dosyalar

  • s3.jpg
    s3.jpg
    52.7 KB · Görüntüleme: 3,333
yaptım hocam olmadı başka bi portla hata verdi yine. sanal dizin oluşturacaz mı hocam ııs kurduktan sonra.
 
mavi85' Alıntı:
yaptım hocam olmadı başka bi portla hata verdi yine. sanal dizin oluşturacaz mı hocam ııs kurduktan sonra.
VS 2008 de IIS kurmaya gerek var mıydı ? Programın kendisi local server barındırmıyor muydu ki, yoksa yanlış mı hatırlıyorum ?
 
hata ekranın altta hocam
 

Ekli dosyalar

  • s3.jpg
    s3.jpg
    125.6 KB · Görüntüleme: 3,300
Hocam üzerinde çalıştığınız projenin dosyaları hangi klasörde ? wwwroot içinde değilse IIS göre sanal dizin tanımlamalısınız.
 
tarayıcıda çalıştırınca localhosttan sonra 532011 diye port hatası veriyo ilk resimde

Satır 50: ASP.NET to identify an incoming user.
Satır 51: -->
Satır 52: <authentication mode="Windows" />
Satır 53: <!--
Satır 54: The <customErrors> section enables configuration
 
hocam wwwroot içine site1 diye site1 diye kalsör oluşturdum onun içinde, yine de oluşturmam gerekiyor mu, nasıl oluşturuluyor
 
inceledim hocam, ama sanal dizin oluşturmayı anlayamadım, offff.. başlayamadan bırakıcam asp.net'i. yardımcı olun lütfen...
 
yardım edin lütfen anlayan biri yok mu ilk mesajlarımdaki hatalara bakabilir misiniz
 
Hocam siz direk, IIS yi kapatın, VS2008 kaldırın, VS2010 yükleyin onunla çalışın. IIS kurmanıza gerek kalmaz, sanal sunucuyla falan uğraşmazsınız.
 
Kronos33' Alıntı:
Hocam siz direk, IIS yi kapatın, VS2008 kaldırın, VS2010 yükleyin onunla çalışın. IIS kurmanıza gerek kalmaz, sanal sunucuyla falan uğraşmazsınız.
2010 yok ki hocam bende, aspx sayfasını çalıştırınca her defasında adres çubuğunda "http://localhost:432532/site1 buradaki gibi yazıyo 5 basamaklı rakamla port no hatası veriyo. görev çubuğu sağ altta bi hata simgesi çıkıyo tıklayınca küçük pencere açılıyo localhost:432532 diyo ilk mesajlarımda koydum fotoğrafını.
 
http://127.0.0.1/

iis ekranı gelmiyorsa windows cd ni takın ordan program ekle kaldır bölümünden windows bileşenlerini ekleye gelin ve ordan iss seçerek kurun sorun kalmayacaktır
 
sutura' Alıntı:
http://127.0.0.1/

iis ekranı gelmiyorsa windows cd ni takın ordan program ekle kaldır bölümünden windows bileşenlerini ekleye gelin ve ordan iss seçerek kurun sorun kalmayacaktır

ııs kurulu hocam en başta kurdum
 
web.config dosyam aşagıda.... nerede yanlışım var sizce.




<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>


<configSections>
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
</sectionGroup>
</sectionGroup>
</sectionGroup>
</configSections>


<appSettings/>
<connectionStrings/>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="false">

<assemblies>
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>

</compilation>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Forms" />
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.


-->
<customErrors mode="Off" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>

<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</controls>
</pages>

<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpModules>


</system.web>

<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4"
type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4"
type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="OptionInfer" value="true"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
</compilers>
</system.codedom>

<!--
The system.webServer section is required for running ASP.NET AJAX under Internet
Information Services 7.0. It is not necessary for previous version of IIS.
-->
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules>
<remove name="ScriptModule" />
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated"/>
<remove name="ScriptHandlerFactory" />
<remove name="ScriptHandlerFactoryAppServices" />
<remove name="ScriptResource" />
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode"
type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode"
type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</handlers>
</system.webServer>

<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>


</configuration>
 
Kronos33' Alıntı:
Hocam siz direk, IIS yi kapatın, VS2008 kaldırın, VS2010 yükleyin onunla çalışın. IIS kurmanıza gerek kalmaz, sanal sunucuyla falan uğraşmazsınız.

hocam indiriyorum vs2010'u orda direkt debug yapınca çalışacak deği mi, o kadar uğraştan sonra çalışmazsa üzülürüm, ııs kurmayacak mıym, bi de var olan ııs nerden kaldırılıyo hocam yardımcı olabilir misin.
 
Bir önceki mesajınızda ISS i önceden kurdum diyorsunuz şimdi ISS nereden kaldırılıyor diyorsunuz. Bence siz ISS kurmamışsınız.
Eğer windows 7 kullanıyorsanız Windows bileşen ekle kaldır içeriisnde ISS kutusunu ve alt klasörleri de seçin (bazen sadece üst kutuyu seçmek yeterli olmuyor. kurduktan sonra internet explorer açın adres satırına localhost yazın.
sayfa açılırsa ISS tamamdır.
Bir deneyin.
 
yaptım hocam dediklerinizi denetim masasından ---->program ekle kaldır---> windows bileşenleri aç kapat--IIS
tüm seçenekleri seçmedim ama sadece ASP.NET seçtim

ama nasıl kaldırılır bilmiyorum
 
birde şunu dener miisn.
win 7 ye göre anlatıyorum denemeni istediğimi...
yönetimsel araçlar a gir
hizmetler e gir
ASP.NET State Service ye sag tıkla ve başlat de ..

kolay gelsin..
 
IIS'yi Denetim Masası'ndaki Windows Bileşeni Ekle/Kaldır'ı kullanarak kaldırmak için

Başlat menüsünden, Denetim Masası'nı tıklatın.

Program Ekle veya Kaldır'ı çift tıklatın.

Windows Bileşenlerini Ekle/Kaldır'ı tıklatın.

Bileşenler listesinde Uygulama Sunucusu onay kutusunu tıklatın.

İleri düğmesini tıklatın.

IIS'nin kaldırılma işlemi tamamlandığında Kapat'ı tıklatın.

VS2010 da IIS ye gerek kalmayacaktır.
 
Geri
Üst