iis

How to create a virtual directory in IIS7 for ASP.NET?

I have an ASP.NET web site, my machine has IIS7 running on Windows Vista home premium. I want it to be visible to other computers on the LAN. Do I need to create a virtual directory? How can I create a virtual directory on my machine? How do I have to deploy it for others to see my web application? ...

How to register ASP.NET 2.0 to web server(IIS7)?

Hi., I have a web-page application already created, but when I open it in visual studio 2008, it says there that: ASP.NET 2.0 has not been registered on the Web Server. You need to manually configure you Web server for ASP.NET 2.0 in order for your site to run correctly. I'm using asp.net 2.0, IIS7 and running on vista home prem...

IIS7 javascript error on remote machine only

Hi, I have a working asp.net app with a lot of telerik controls, jQuery, dynamic data and lots of aax calls. On my dev machine everything runs fine. No errors. Deployed to the web server (iis7 on w2k8) the app runs fine when seen in IE on the server. But IE on any remote machine (tested on XP and Vista)) gives me a expected ';' javascr...

How much should the staging environment equal the live one?

Management has decided to go for Windows 2008 64 bit with IIS7 to service our main website. They want to have it staged on a Windows 2003 server with IIS6. [Edit] Yes 32 bit is what they are planning for staging [End Edit] I want to know what issues, beyond the security issues, that I should put forward, suggesting we should opt for th...

How to create a Global connectionstring to SQL Server Database for my SharePoint site

This is my connection string inside my web.config of my SharePoint site. Its sitting just below the closing SharePoint tag. <connectionStrings> <add name="SAMRASConnectionString" connectionString="Data Source=JOHANDEVVM; Initial Catalog=samrasDB; User ID=Johan; Password=password; Trusted_Connection=True" providerName...

Why is the viewstate resetting?

Background: I developed a web app in ASP.Net 3.5 in C#. It runs great but now a few users have reported that they recieve an error sometimes. I have tried to duplicate the error but it has been hard. One time though when I let the app sit I came back later and tried to move it along and it errored out. I would think that has somethi...

ASP.NET random slow downs

We are experiencing random intermittent slow-downs in our ASP.NET application. Most pages take between 100-500ms to render (depending on which modules are used on the page). Occasionally however - perhaps 1 in 100 requests, these figures are more like 5000-10000ms. This is not a database related issue - I have checked for slow queries, a...

ViewState does not keep variables and errors out.

Let me see if I can re-word this better and maybe get some more relavent answers or ideas. This has happened a few times now as reported by users. I cannot reproduce on my local server. I am checking each of the IIS settings now to make sure they match. But on our production server here are the details: Single Server No Authentica...

How many different places do you have to set date formats in IIS 7.0 and win2k8.

I am trying to migrate an old classic asp application to IIS 7.0 with win2k8 and I definately don't want to change the old code if I can help it. I have set a date format in the Customise Regional Options in the Date formats in the regional and and language options in the control panel to dd-MMM-yy. I am still getting Conversion_failed...

Is There a Way to Make Remote Calls to ASP.NET Development Web Server?

I know that generally speaking, this cant be done, that is get another PC to call a site hosted under the ASP.NET DEvelopment Web Server remotely (generally you can only use localhost:port to get to it). But I was wondering if anyone has seen, or knows of a way to get around it? I am a RESTful API developer in my office, and I would li...

Button in update panel is doing a full postback?

I'm following a simple example of how to use the update panel from here (http://www.asp.net/Ajax/Documentation/Live/tutorials/IntroductionUpdatePanel.aspx). Outside the update panel i've another html input control which calls a javascript function which displays an count to the user in an alert box. simple stuff. My problem is that the ...

How can i find out what version of IIS i need to deploy ASP.NET+VB App?

I just got application written in ASP.NET and VB, can i deploy it on any IIS? Are there any files in project with that kind of information? ...

IIS -> Isapi_Redirect -> Tomcat

I've been trying for days to get Tomcat up and running through IIS via the Jakarta Connector. I've followed all of Microsoft's instructions -- put the connector .dll in %tomcatdir%\bin\win32\i386\, added the registry entry, added a filter (pointing to the .dll) to the default web site... and yet, any time I try to access a Tomcat web ap...

How do I programmatically create a FTP site in IIS7 on Windows7?

I am looking to do this step: 'Creating a New FTP Site by Editing the IIS 7.0 Configuration Files' with a batch file and was wondering if anybody has done this already? http://learn.iis.net/page.aspx/301/creating-a-new-ftp-site/ ...

"'Sys' is undefined" error running ASP.NET MVC application in IIS7

Hi, I'm using the ASP.NET MVC in my web application. It uses AJAX (MicrosoftAjax.js, MicrosoftMvcAjax.js, jquery-1.3.1.min.js) to make the call from the view to the Delete action with this code: <%= Ajax.ActionLink("Delete", "Delete", new { id=item.id }, new AjaxOptions { Confirm = "Are you sure you want to delete the record?", HttpMeth...

IIS/ASP.NET app and subapp: how to use two host names without redirecting?

We have a web application on our server in a directory c:\inetpub\wwwroot\myapp Inside the myapp directory we have a sub directory called mysubapp. mysubapp has its own bin directory, and requires DLLs in the myapp\bin directory So the directories are as follows: c:\inetpub\wwwroot\myapp c:\inetpub\wwwroot\myapp\bin c:\inetpub\...

How is ASP.NET multithreaded?

I've been told that ASP.NET is multithreaded by default in IIS. How is this threading achieved? Does the server farm send different requests to different cores? Does a single request make use of multiple cores? More importantly, are there any advantages to adding threads to ASP.NET code if the threading is done higher up in IIS? ...

Mapping server path outside IIS

Hi All I have a web app where users can upload files. The files are physically stored by IIS in a virtual folder that is mapped to an external storage device. A record about each uploaded file is stored in the database. The database record contains information about whether the file is still "active" (hasn't been deleted by the user), a...

How can I create a new application pool in a Web Setup Project?

I need to deploy my web service. It needs to run in a separate application pool in IIS with its own credentials. Is it possible to do this by using a Web Setup Project in VS 2008? By default, I seem to only be able to choose an existing application pool. ...

Mysteriously appearing required NT authentication after Classic ASP site update?

A developer posts their code from a staging site (which requires authentication) to the live public site (which should not) and suddenly the live site is requiring authentication (which is not good). They don't have permissions to change any settings on the server(s) and there is no call from the code on the live site to anything on the...