How To Host The Web Application On IIS 7.0 So That 100 People Can Be Accessed Locally
Feb 11, 2010How to Host the Web Application on IIS 7.0 so that 100 people can be accessed locally.
Request you to provide steps on how to go ahead with it.
How to Host the Web Application on IIS 7.0 so that 100 people can be accessed locally.
Request you to provide steps on how to go ahead with it.
This my scenerio
1. I have created a web service
2. I need to host it in IIS locally for testing purpose.
3. Can we set port locally or automatically port '80' is assigned.
I have a question.aspx page that allows "guests" and "admin" to use. If guest access the page, it says Submit, if admin access it, it says "Approve" on the button control.
My question is, when guest accesses that page, I don't care about their credentials, but when admin accesses that page, I want them to log in first. And the Admin users are the ones that work in our company with the same domain and such. Anyone that access outside would be "guest".. how can I prompt people in the same network when they try to access that page? I need that AD credentials to do some programming in code behind.
We have created an ASP application with MS Access as back end. We have implemented this web application on our server machine and accessed the same from on my local machine.
Our application works fine when only one user accesses it (All insert, update works fine). But when multiple users connect to this application and try to update the database, then application get crashed. As per our knowledge, this is happening because of access database get locked, when one user open it in exclusive mode.
For a web application I am using ASP.NET C# (OS- Windows7, .NET 4) and the task has done. But I don't know how to run it locally in Windows7 as well as in Server 2008(.NET 4 and IIS installed in server 2008). And I have to run it in both the platfrom.
View 3 RepliesImagine a Web Forms application with routing.
A clean page name like:
[URL]
Might have an underlying of URL of:
[URL]
If a user enters [URL] into a browser, I need to redirect to [URL]
Is this possible to do?
I can't work out a way to do this as the routing engine is not executed for a physical page and in the page.aspx Page_Load method I have no way of knowing whether the URL was entered directly or was the result of a route.
I am currently building a web application that will involve many servers to get it to run efficiently. I am trying to test this web site at home and I have a few computers running the website. To connect to the website I would type this into the address bar http://192.168.0.200:8080 or I would typehttp://192.168.0.201:8080. However when I transfer my site from one computer to another the web browser can no longer read the cookies. I would like to set up a home DNS server and have the computers in my house access the site like this w1.MySite.com and w2.MySite.com instead of http://192.168.0.200:8080 or I would type http://192.168.0.201:8080 so I can test if my cookies are working accross subdomains. how to set up a local DNS server so I can do this?
View 3 RepliesLet's say that I have my ASP.NET web application in a directory called "MyApp" both locally and on a remote server. I'm trying to build an onclick response to a link. The response calls a Javascript function, passing it the URL of an .aspx page in my web app. The Javascript pops out a new window displaying the page. My C# code looks like this:
link = new HyperLink();
link.Text = product_num_str;
link.NavigateUrl = "#";[code]....
I started using the Request's Authority property because I was having problems running locally on the Visual Studio web server when I used the Host property. The problem was that Host only returned "localhost" instead of the host and port number. When tested locally, the code works because the "authority" maps to my app root folder. The URL generated is, e.g.,
http://localhost:52071/ProductInfo.aspx?_num=123
If I run on a remote server, however, I end up with something like: http://company-server/ProductInfo.aspx?_num=123
This fails to find the page, because in this case the "MyApp" root folder must be included.There is probably an easier way - putting an entry in the web.config or something. My motivation originally was to allow the app to be published to a folder of any name and work as is. I could hack my approach and search the string for "localhost" or something, but that's ugly. So how do I build a string that will work everywhere?
A site that utilizes Windows Authentication.It accesses the LOGON_USER variable to pull the domain and user.It works fine in the development environment.It works fine on one of my servers.We are in the process of setting up a new server for this application to be hosted on.When I setup the new server,the LOGON_USER is always empty for remote computers.Windows Auth is turned on.I have tried it with Anonymous Access on (how the current server is setup) and also off.If I remote on to the server and run the application locally,LOGON_USER is filled.When I access the site via IE from a remote machine,it prompts three times and then fails.Even if I key in credentials in the Windows prompt.nothing
View 6 RepliesI am looking for a nice article that explains how to host a web application.
View 2 RepliesI am new to asp.net mvc and don't feel too comfortable to diving 100% into silverlight web application. I done some research and found that asp.net mvc can host silverlight application. That is great new since I want to leverage new technologies.
However, silverlight currently does not support printing and SSRS reporting. My question, can asp.net mvc hosts multiple applications like both silverlight and regular asp.net applications. I can design the asp.net application to handle the reporting and printing.
I had developed the 3 tire Web application, so i need to deploy the application to the customer public server.The public server has the Windows Server 20003 R2, how can i deploy my application
View 1 RepliesI have searched high and low on the internet for clear instructions on how to host an mvc 2 application in IIS but without luck. It seems to be from my research that it is anything but straightforward to do.
Imagine i create a new mvc 2 project in visual studio 2010. I want to host this locally on my own IIS server.
I'm building an ASP.NET MVC application and I'm trying to deploy it on a free host (0000free) which does support ASP.NET. I tried a couple of things, but none of them worked (i.e. I only see the directory structure when I browse to my web site):
Publishing to a local folder and then copying the published files via ftp over to my host (in the public_html directory).
Publishing via ftp to the root folder: ftp.mywebsite.com
Publishing via ftp to the public_html folder: ftp.mywebsite.com/public_html
Usually I would just drop the html files in the public_html folder, but I'm getting the feeling that the deployment process for an MVC application is slightly different. Do I have to modify the Web.config or some other filer? How does one usually deploy an MVC application (on a free host)?
Update:I have learned that the host uses Mono and supports .NET 4.0, but I'm still not able to deploy.
I have Visual Studio 2010 and I used its Publish Feature (i.e. right click on the project name and click publish) and I tried several things:
Publish method: FTP to the root folder.
Publish method: FTP to the publich_html folder.
Publish method: File System to the root folder.
Publish method: File System to the publich_html folder.
Publish method: File System to a local directory on my computer and then FTP to root and also tried the public_html folder.
I went into the cPanel (control panel) to try and see if ASP.NET has to be added/enabled for my web site, but I didn't see anything there.I can't browse to Index.aspx nor can I redirect to it from index.html (as suggested from other posts on the host forum), right now I have a link from index.html to Index.aspx but it's not working either (see http://www.mydevarmy.com)I've also tried renaming Index.aspx to Default.aspx, but that doesn't work either.
The search utility of the forum of the host is somewhat weak, so I use google to search their forum: http://www.google.com/search?q=publish+asp.net+site%3A0000free.com%2Fforum%2F&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
I've been reading Pro ASP.NET MVC Framework and they have a chapter about publishing, but it doesn't provide any specific information with respect to the location of publishing, this is all they say (and it's not very helpful in my case):
Where Should I Put My Application?You can deploy your application to any folder on the server. When IIS first installs, it automatically creates a folder for a web site called Default Web Site at c:Inetpubwwwroot, but you shouldn't feel any obligation to put your application files there. It's very common to host applications on a different physical drive from the operating system (e.g., in e:websites example.com). It's entirely up to you, and may be influenced by concerns such as how you plan to back up the server.
Here is the error I get when I try to view my Index.aspx page:Unrecognized attribute 'targetFramework'. (/home/devarmy/public_html/Web.config line 1)
Description: HTTP 500. Error processing request.
Stack Trace:System.Configuration.ConfigurationErrorsException: Unrecognized attribute 'targetFramework'. (/home/devarmy/public_html/Web.config line 1)
at System.Configuration.ConfigurationElement.DeserializeElement (System.Xml.XmlReader reader, Boolean serializeCollectionKey) [0x00000] in <filename unknown>:0
I am currently in a dev only phase of development, and am using the VS built-in web server, configured for a fixed port number. I am using the following code, in my MembershipService class, to build an email body with a confirmation link, but obviously this must change when I deploy to our prod host.[URL]How can I build this URL to always reflect the host that the code is running on, e.g. when deployed to prod the URL should be http://our-live-domain.com/Account/..etc.MORE INFO: This URL will is included in an email to a new user busy registering an account, so I cannot use a relative URL.
View 3 RepliesI would like to host a Wcf Service, create in a Wcf service Library, in a Web Application.
I've already done the same thing with Web Service asmx :
using System.Reflection;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
namespace WebServiceLibrary
{
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class WebService1 : WebService, IHttpHandlerFactory
{
private static WebServiceHandlerFactory wshf = new WebServiceHandlerFactory();
private static MethodInfo coreGetHandlerMethod = typeof(WebServiceHandlerFactory).GetMethod("CoreGetHandler", BindingFlags.Instance | BindingFlags.NonPublic);
[Code]....
I running MS-Access desktop application, i would like to host it to web through ASP.Net (Only report purpose). regular data we keying in through desktop. is it possible for host through crystal report?
View 1 RepliesMy requirement/concern is to test web application locally in multiple browsers with various versions.
If any tool is available, please let me know..
I am designing a dashboard for my own application to serve as a control panel for the end user. I am thinking about using the Dropthings framework or DynamicDashboards which cover all of my internal widgets requirements.
But besides including widgets developed internally by me, I would like for the user to be able to include iGoogle widgets as well.
Is this possible?
What needs to be done in order to host an iGoogle widget?
I have to host an asp.net that user can access that website something like http://111.11.11.11/myapp/homepage.aspx. ( my ip address will be 111.11.11.11). All I have local IIS installed. I want that if any user clicks on the link. He should be able to access that web application.
View 9 Repliesi want my application to provide a web ui for remote access, but i do not host that web page in IIS, because i do not want everyone install IIS on their home PC.
i spend some reading the asp.net pipeline, but still not figure how to load the .aspx file in my code.
Before hosting into server how can i convert into dll to host into server.
View 1 RepliesWhat are the steps followed when we want to purchase our own web server and then host our web applications on it..
View 2 Repliesto host two web applications in single application domain? For example two web applications web1 and web2 being hosted in single application domain.
View 3 RepliesIn my application i have two textboxes txt1 and txt2, and a push button btn1, when the user enters his USERNAME and PASSWORD and press the push button, the application should directly connect to gmail and has to login into his gmail Account....
[code]....
and also for gmail with same code.
but i dont khonw how can i distribute this for my web mail account because i dont khow urls and id and name that must give in the code