iis-5

using dot net 1.1 on IIS 7.5 (windows 7 - 32 bit)

梦想与她 提交于 2019-12-21 23:14:52
问题 Getting a lot of problems when I am trying to run a .NET 1.1 solution on IIS7.5 (on windows 7, 32 bit system). When I add the virtual directory in IIS and provide it with an ASP 1.1 application pool and try to browse the site, it adds events to to the event log with event id 5009 and 1000 and stops the application pool. I dont know what is probably going wring here and have been unable to find anything on net. I am thinking to install IIS 5.1 instead (sinse the same project on a xp machine

TPL Task in WCF service fails to use correct IIS security Credentials (SQL Connection)

拟墨画扇 提交于 2019-12-21 17:52:44
问题 I have a WCF service method that calls a SQL stored proc. I'm developing using IIS 5 (can't do much about that, II6/7 not available) To get some gains, I'm doing a number of async calls to this stored proc by putting the call into a c# TPL Task. When run as a Task, I'm getting an SQL Exception... "Login failed. The login is from an untrusted domain and cannot be used with Windows authentication" However, If I run the exact same process without using a Task, I have no problems with SQL

Process start and Impersonation

柔情痞子 提交于 2019-12-21 00:02:10
问题 I have problem with starting processes in impersonated context in ASP.NET 2.0. I am starting new Process in my web service code. IIS 5.1, .NET 2.0 [WebMethod] public string HelloWorld() { string path = @"C:\KB\GetWindowUser.exe"; ProcessStartInfo startInfo = new ProcessStartInfo(); startInfo.WorkingDirectory = Path.GetDirectoryName(path); startInfo.FileName = path; startInfo.UseShellExecute = false; startInfo.CreateNoWindow = true; startInfo.ErrorDialog = false; startInfo

simple web parts in asp.net show as blank page

时间秒杀一切 提交于 2019-12-20 07:47:54
问题 I am trying to develop web parts in VS 2008/WinXP I created a Web Site project, and added a couple of web parts within the default form in default.aspx <form id="form1" runat="server"> <div> <asp:WebPartManager ID="WebPartManager1" runat="server"> </asp:WebPartManager> <asp:WebPartZone ID="WebPartZone1" runat="server"> </asp:WebPartZone> </div> </form> When I first ran it (in the debugger), a popup told to me enable Windows authentication in IIS (so something is working!). I enabled the

Can I automate creating a .NET web application / virtual directory in IIS 5?

元气小坏坏 提交于 2019-12-17 19:26:40
问题 I asked this Can I automate creating a .NET web application in IIS? a little ago, and got solutions for IIS 6 and IIS 7: IIS6 : iisweb /create C:\Rome "My Vacations" /d www.reskit.com /dontstart IIS7 : %windir%\system32\inetsrv\AppCmd ADD SITE /name:MyNewSite /bindings:http/*:81: /physicalPath:c:\inetpub\mynewsite but I've just got back to it the actual project, and it turns out that is I need to deploy on (shock-horror) IIS 5.1 Has anyone got any ideas? To make it clear: I want to use IIS,

CredentialCache with IIS vs personal development server

戏子无情 提交于 2019-12-14 04:08:03
问题 I have a webservice that I am testing. When I use the personal asp.net webserver, the one with the random port everything works fine. It uses my credentials when I pass DefaultCredentials to an ssrs server to run a report. When I tried to move it to my local IIS server, the DefualtCredentials UserName is blank and the ID that gets pass to the SSRS server is ASPNET. I turned off Annon access and only Integrated Windows Authentication is on. My local IIS is 5.1, so it doesn't have application

IIS doesn't start. Error code: C0000142

☆樱花仙子☆ 提交于 2019-12-14 03:57:27
问题 My site worked perfectly fine. When I restarted IIS (for some scenarios check) - It stopped working, and gave me a page telling me to check the event viewer, there I get the following error: aspnet_wp.exe could not be started. The error code for the failure is C0000142. This error can be caused when the worker process account has insufficient rights to read the .NET Framework files. Please ensure that the .NET Framework is correctly installed and that the ACLs on the installation directory

HTTP 403 Forbidden : This website requires you to log in

旧城冷巷雨未停 提交于 2019-12-13 00:41:58
问题 Using asp .net MVC 4.0 , razor , VS2010 , IIS5.2 , windows Server 2003 I have built an application which i want to publish in IIS. what i did is listed below: Cleaned then built the solution. right click on project file and clicked PUBLISH . publish method : File System Target Location : C:\Inetpub\wwwroot\testing then publish. Then i went to IIS and got my site in Default web sites . happy :). Then i did: right clicked on testing (my app) and open properties. In the tabdirectory everything

asp.net website external bin folder [duplicate]

痞子三分冷 提交于 2019-12-11 09:57:39
问题 This question already has answers here : Closed 10 years ago . Can I put my "bin" folder with all of its .dll files at a higher level then the IIS Local Path/web root for the site? I need to keep my dll files in a directory outside of my project is this possible, I tried to use a virtual directory but .net seems to ignore it. Can I use a virtual directory for my bin folder? DUPLICATE: More info provided here: adding .net code to a classic asp website, can't reference namespaces in .dll file

Steps to host a WCF service in IIS5.1(XP)

北城以北 提交于 2019-12-08 06:27:58
问题 I have developed a sample WCF service. I would like to know the steps to host this in IIS 5.1(XP) 回答1: Have a look at this article on MSDN. It has information about hosting WCF services in all versions of IIS. 回答2: 1) You need a IIS virtual directory --> create it using IIS Manager 2) You need a *.svc file which references your service - it's a text file which must reside inside your virtual directory just created, and it would be something like: <% @ServiceHost Service="YourNameSpace